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

Advanced AI Prompt for Three.js Bokeh Depth-of-Field Particles

Customize the variables below to instantly engineer your prompt.

Required Variables

bokeh-depth-of-field-threejs-particles.txt
Act as a Cinematic Creative Coder. Design a highly atmospheric Three.js scene featuring a densely packed, drifting particle field utilizing the custom [PARTICLE_TEXTURE] sprite. The core requirement is the implementation of a realistic Bokeh/Depth-of-Field (DoF) post-processing pipeline utilizing the `EffectComposer` and `BokehPass`. Calibrate the initial [FOCUS_DEPTH] and set the maximum [BLUR_STRENGTH] to create a 'macro photography' aesthetic. Configure the perspective camera with an extreme [FIELD_OF_VIEW] that artificially compresses the 3D depth of the particles. Include the exact event listener logic required to smoothly raycast and dynamically update the shader's focus point based on the user's mouse X/Y coordinates or a scroll-based intersection observer.

Example Text Output

"The AI will generate a Three.js script with a post-processing pipeline featuring EffectComposer and BokehPass to create a cinematic blur effect."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Three.js Bokeh Depth-of-Field Particles" prompt used for?

The AI will generate a Three.js script with a post-processing pipeline featuring EffectComposer and BokehPass to create a cinematic blur effect.

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.