Add prompt: Cyber-Pulse: 3D Neon Particle Swarm
This commit is contained in:
+24
@@ -119752,3 +119752,27 @@ Variables:
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Cyber-Pulse: 3D Neon Particle Swarm</strong></summary>
|
||||
|
||||
## Cyber-Pulse: 3D Neon Particle Swarm
|
||||
|
||||
Contributed by [@loshu2000](https://github.com/loshu2000)
|
||||
|
||||
```md
|
||||
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
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
+12
@@ -99205,3 +99205,15 @@ Variables:
|
||||
- ${codeSnippet} - The code to be reviewed
|
||||
- ${language} - The programming language of the code
|
||||
- ${focusArea:efficiency} - Primary area of focus for the review",TRUE,STRUCTURED,donato.castagna@gmail.com
|
||||
Cyber-Pulse: 3D Neon Particle Swarm,"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",TRUE,TEXT,loshu2000
|
||||
|
||||
|
Can't render this file because it is too large.
|
Reference in New Issue
Block a user