graph TD
User(PUNEET MISHRA) -->|Bio-Input| Client[React + Three.js Interface]
Client -->|WebSocket| Lanyard(Lanyard API)
Client -->|REST| Github(GitHub Data)
subgraph "Neural Processing Unit"
Client --> Audio[Tone.js / Audio Synthesis]
Client --> Physics[Verlet Physics Engine]
Client --> Visuals[GLSL / Vanta.js]
end
Lanyard -->|Presence| Discord(Discord Status)
Github -->|Repos| GitData(Portfolio)
A high-velocity survival simulation leveraging verlet integration and separating axis theorem.
ACCESS SOURCE KERNEL
// PHYSICS INTEGRATION LOOP
update(dt) {
this.entities.forEach(e => {
if(e.type === 'ENEMY') {
// Apply force vectors & gravity
e.pos.y += e.vel.y * dt;
// Calculate distance magnitude (Euclidean)
const dx = this.player.pos.x - e.pos.x;
const dy = this.player.pos.y - e.pos.y;
const dist = Math.sqrt(dx*dx + dy*dy);
// Event Horizon Singularity Check
if(dist < 20) this.triggerSingularity();
}
});
}