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

Advanced AI Prompt for Three.js Magnetic Field Attraction System

Customize the variables below to instantly engineer your prompt.

Required Variables

magnetic-field-attraction-threejs.txt
Act as a Physics Programmer. Script a Three.js particle system where the mouse acts as a magnet. Implement a physics-based approach where particles have [PARTICLE_MASS] and are subject to [MAGNET_STRENGTH] and [FRICTION]. If the mouse is within [REPEL_DISTANCE], the force should flip from attraction to repulsion. Use a custom 'tick' function to update velocity and acceleration vectors for each particle in a typed array for speed.

Example Text Output

"The AI will provide a JavaScript implementation of Newtonian physics applied to a Three.js BufferGeometry particle system."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Three.js Magnetic Field Attraction System" prompt used for?

The AI will provide a JavaScript implementation of Newtonian physics applied to a Three.js BufferGeometry particle system.

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.