Automated ingestion of prompt: Cyber-Pulse: 3D Neon Particle Swarm

This commit is contained in:
promptadmin 2026-06-06 20:46:42 +00:00
parent ccd1b20e43
commit fcbe73bf4e
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
---
title: "Cyber-Pulse: 3D Neon Particle Swarm"
contributor: "@loshu2000"
tags: #general, #loshu2000
---
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