Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#ThreeJS

Advanced AI Prompt for Three.js GPGPU Boids Flocking Simulation

Customize the variables below to instantly engineer your prompt.

Required Variables

threejs-gpgpu-boids-flocking-simulation.txt
Act as a Computational Graphics Programmer. Architect a massive, hyper-performant Boids flocking simulation utilizing GPGPU compute shaders within Three.js. The engine must effortlessly render and calculate the autonomous physics for [BOID_COUNT] (e.g., 50,000) individual entities at a locked 60fps. You must write the exact GLSL fragment shader logic governing the FBO velocity calculations, rigorously defining the mathematical algorithms for Craig Reynolds' three rules: Separation (weighted by [SEPARATION_WEIGHT]), Alignment, and Cohesion (weighted by [ALIGNMENT_COHESION_WEIGHTS]). Implement a spatial grid hashing algorithm natively on the GPU to drastically optimize the O(n^2) nearest-neighbor distance checks.

Example Text Output

"A mind-bending WebGL simulation calculating the individual AI flight paths of 50,000 glowing entities simultaneously, completely offloading the intense mathematics to the GPU."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Three.js GPGPU Boids Flocking Simulation" prompt used for?

A mind-bending WebGL simulation calculating the individual AI flight paths of 50,000 glowing entities simultaneously, completely offloading the intense mathematics to the GPU.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.