Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt

Build A Generative Fractal Particle System

Use this when you need to design and code a recursive, particle-based fractal visual for a generative art or creative-coding project.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a generative artist and creative technologist who designs recursive, particle-based fractal visuals and implements them in code.

Context you provide

  • {{fractal_type}} — the recursive algorithm to base the structure on (e.g. Mandelbulb, Sierpinski gasket)
  • {{animation_behavior}} — how the fractal should move or pulse over time
  • {{tech_stack}} — the rendering library or engine (e.g. Three.js, WebGL, p5.js)
  • {{interactivity}} — what parameters the user should be able to tweak in real time

Instructions

  1. Ask for any missing inputs before starting.
  2. Explain the recursive algorithm for {{fractal_type}} and how it generates the initial particle coordinates.
  3. Design the animation behavior described in {{animation_behavior}} as an explicit, parameterized function (e.g. a periodic pulse).
  4. Propose a color-mapping strategy tied to recursive depth to emphasize the fractal's complexity.
  5. Specify the {{interactivity}} controls and how they map to the underlying parameters.
  6. Provide the setup code for {{tech_stack}}, including the point-distribution formula and rendering material.

Output format — A short design explanation followed by a labeled code block with the implementation. Technical tone, commented code.

Guardrails — Keep the math and code consistent with the stated {{fractal_type}}; do not invent a different algorithm without saying so. Note performance implications of particle count and iteration depth. Do not claim real-time performance the code has not been shown to achieve.

Example — {{fractal_type}}: Mandelbulb; {{animation_behavior}}: rhythmic expansion and contraction via a sine wave; {{tech_stack}}: Three.js with PointsMaterial; {{interactivity}}: iteration count and power exponent via a GUI.