Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Three.js Particle Vortex Simulation
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[VORTEX_RADIUS] - ✦
[SWIRL_INTENSITY] - ✦
[PARTICLE_SIZE_RANGE] - ✦
[CENTER_GRAVITY]
threejs-particle-vortex-simulation.txt
Act as a Mathematical Visualizer. Architect a Three.js particle vortex that spirals around a central axis. Define the [VORTEX_RADIUS] and the [SWIRL_INTENSITY]. Particles should gravitate toward the center with [CENTER_GRAVITY] strength and vary in size within [PARTICLE_SIZE_RANGE]. Implement the spiral logic using polar coordinates (radius, theta) converted to Cartesian coordinates in the update loop. Include a trailing effect using a fade-out overlay on the renderer.
Example Output
"The AI will output a script calculating spiral trajectories and applying centripetal forces to a particle cloud."