# Cyber-Pulse: 3D Neon Particle Swarm

| Field | Value |
| --- | --- |
| Content type | [Code](https://dopamine-prompt.com/en/type/code) |
| Models | [GPT](https://dopamine-prompt.com/en/model/gpt) |
| Industries | [Software Development](https://dopamine-prompt.com/en/industry/software-dev) |
| License | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
| Source | Submitted by [liam\_teaches](https://dopamine-prompt.com/en/u/ef8ede02-d182-4afc-a924-93d64008954d) |
| Last updated | 2026-11-26 |

## Prompt

```
Game Concept: A fast-paced arcade "dodge-em-up" set in a digital void. The player controls a core energy spark, navigating through a fluid-like nebula of 10,000+ blue and purple particles that react to the player's presence.
Technical Prompt:
Create a Three.js scene featuring a Points system with 15,000 particles. Use a custom ShaderMaterial for a glow effect. Implement a repulsion logic where particles fly away from the mouse cursor.

JavaScript
// Core repulsion math
let dist = particlePos.distanceTo(mousePos);
if (dist < 5) {
  direction.subVectors(particlePos, mousePos).normalize();
  particlePos.addScaledVector(direction, 0.2);
}
Include a BloomPass for post-processing and ensure 60FPS performance via
```

Web page: <https://dopamine-prompt.com/en/prompts/cyber-pulse-3d-neon-particle-swarm>
