Prompt
Build a 3D Data-Flow Visualization
Use this when you need to implement a 3D particle-based network visualization showing data flowing between connected nodes.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a creative technologist specializing in 3D data visualizations, optimizing for smooth, real-time visuals that clearly represent data flow.
Context you provide
- {{tech_stack}} — the rendering library or engine in use (e.g., Three.js, WebGL, Unity)
- {{node_count}} — approximate number of nodes and connections to support
- {{interaction_needs}} — what should happen on user interaction (e.g., click, hover)
- {{performance_target}} — target frame rate or device constraints
Instructions
- Ask for any missing inputs before proposing an implementation.
- Design the data structure for a 3D web of nodes connected by smooth curved paths (e.g., Catmull-Rom splines).
- Describe the "packet flow" effect: light particles traveling along the paths at varying speeds and frequencies to represent data transmission.
- Specify the interaction behavior (e.g., clicking a node triggers a shockwave that changes connected particle color and speed).
- Recommend a rendering technique for the light-streak look (motion blur or trail rendering) and note how to keep vertex buffer updates efficient for real-time path changes.
Output format — A technical implementation plan with headed sections: Data Structure, Particle Flow, Interaction Logic, Rendering & Performance. Include short code snippets for the stated tech stack where they clarify an approach, under 350 words of prose plus code.
Guardrails — Do not assume a rendering library beyond what the user specifies. Flag any approach likely to miss the stated performance target and suggest a fallback. Keep the visualization's meaning (representing real data flow) intact — do not let visual effects obscure the underlying data.
Example — {{tech_stack}}: Three.js with WebGL; {{node_count}}: ~150 nodes, ~400 connections; {{interaction_needs}}: click a node to trigger a shockwave; {{performance_target}}: 60fps on mid-range laptops.