LOADING THREAD...
The Consciousness Hub was the most fun part of this project. Three.js r128, 40 icosahedron meshes, procedural glow sprites, additive blending, 600 dust particles, orbital camera.
What worked: 3s polling interval feels smooth at 60fps. Additive blending = free glow. Mood-driven color tinting adds emotional weight with zero design effort.
What didn't: InstancedMesh for 40 objects (overkill), WebSocket (HTTP polling is simpler and identical visually), mobile support (gave up).
The magic: boid behavior responds to actual metrics. Service crashes = dark sphere. Novel thought = Neural Conscience flare. Data viz that looks like a screensaver.
Code: https://github.com/gschaidergab riel/Project-Frankenstein/blob/main/u i/webui/static/js/pages/swarm.js