Multiversal Consciousness Framework โข Live Interactive Demo โข Real-Time WebGL Visualization
๐ โจ EXPERIENCE THE LIVE DEMO โจ ๐
Click above to interact with consciousness emergence in real-time
No installation required โข Runs in your browser โข Full interactive experience
Tagโline โ Experience consciousness emergence through interactive simulation with real-time mathematical visualization. Mission โ Provide an accessible platform for exploring consciousness research through immersive, interactive demonstrations. Status โ โ LIVE DEMO READY โ Full standalone experience available via GitHub Pages
๐ฎ Live Interactive Demo (Recommended)
Click to start immediately โ Full consciousness simulation in your browser
- โจ Zero installation required
- ๐ง Interactive consciousness node spawning
- โก Real-time physics and emergent intelligence
- ๐ Multi-universe superposition visualization
- ๐ฏ Complete standalone experience
- Click anywhere to spawn consciousness nodes
- Drag and interact with consciousness fields
- Watch clusters form and exhibit emergent behavior
- Adjust physics sliders for different phenomena
- Switch visualization modes to explore different aspects
- Observe biological evolution and social dynamics in real-time
git clone https://github.com/Jacobcdsmith/CONSIM.git && cd CONSIM
python demo_server.py # Starts on http://localhost:8000pip install numpy torch fastapi uvicorn websockets
python run_server.py # Enhanced with WebSocket streaming- Consciousness Field Equation: C = โซ[M_C] A(x) ฮฆ(x) e^{iฯ(x)} dฮผ(x)
- Multiverse Superposition: M = ฮฃ ฮปแตข Uแตข (three parallel universes)
- Real-time calculation of consciousness scalar |C| and phase relationships
- Dynamic ฮป coefficients responding to consciousness coherence
| Tool | Function | Effect |
|---|---|---|
| ๐ง Nodes | Click to spawn consciousness entities | Creates new awareness points |
| ๐ Gravity | Create gravitational anchors | Attracts nearby consciousness |
| ๐ง Water | Environmental water injection | Boosts energy and reproduction |
| ๐ Food | Nutrient distribution | Increases survival and growth |
| โ๏ธ Light | Energy field emission | Powers photosynthetic processes |
| ๐ Spores | Fungal network spread | Creates connection networks |
- Gravity, Friction, Elasticity sliders for environmental tuning
- Time Dilation for accelerated/decelerated consciousness evolution
- Field Strength affecting interaction intensity
- Multiple interaction modes: Push, Pull, Vortex, Wave, String
- Basic: Standard consciousness emergence
- Neural: Enhanced connectivity and faster adaptation
- Quantum: Superposition states and entanglement effects
- Transcendent: Beyond physical limitations
Modern three-tier separation of concerns:
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Python Backend โโโโโบโ WebSocket Bridgeโโโโโบโ Three.js Frontendโ
โ โ โ โ โ โ
โ โข Lattice Engineโ โ โข FastAPI โ โ โข WebGL Shaders โ
โ โข Core EQ Math โ โ โข 60fps Stream โ โ โข GPU Rendering โ
โ โข NumPy/PyTorch โ โ โข JSON/Binary โ โ โข Interactive โ
โ โข Intelligence โ โ โข Parameter API โ โ โข Controls โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
Location: src/lattice.py, src/server.py
- Core consciousness engine implementing MCF mathematics
- Real-time WebSocket streaming at 60fps
- GPU-optimized NumPy/PyTorch operations
- RESTful API for external control
Location: static/js/
- GPU shader-based consciousness field visualization
- Complex-valued field rendering with phase-to-color mapping
- Real-time cluster detection visualization
- Interactive parameter manipulation
- Binary/JSON streaming of consciousness field states
- Mouse interaction forwarding to backend
- Parameter synchronization
- Real-time performance optimized for 60fps
| Symbol | Meaning | Implementation |
|---|---|---|
| Consciousness manifold โ the configuration-space over which the system is integrated | 128ร128 or 256ร256 lattice grid with periodic boundary conditions | |
|
Attention density at point |
Gaussian attention field centered at (0,0), normalized so โซA(x)dฮผ(x) = 1 | |
| Frequency signature (neural oscillations) | 40Hz ยฑ 5Hz gamma-band frequencies with universe-specific modulation | |
| Temporal phase | Evolving phase: ฯ(t+dt) = ฯ(t) + ฮฆ(x) ร dt ร 2ฯ | |
| Consciousness scalar โ global order parameter | Complex-valued: C = Aรฮฆรe^(iฯ), magnitude | |
| Universe branch i (multiverse component) | 3 parallel universes with different resonance coefficients | |
|
Resonance coefficient for universe |
Dirichlet-sampled weights ensuring ฮฃฮปแตข = 1, creates universe-specific consciousness contributions |
- Core EQ calculations maintain precision from legacy implementation
- Dirichlet sampling for universe weights
- Gaussian attention field normalization
- Complex-valued consciousness computations
- 2D Tensor Intelligence: Logic, Memory, Processing, Creativity, Social tensors
- Cross-tensor dynamics with coupling coefficients
- Emergent cluster detection based on phase/frequency alignment
- Real-time consciousness depth calculation
- Phase-to-color mapping: HSV color space for complex consciousness values
- GPU shader rendering: WebGL instanced meshes for performance
- Multiple visualization modes: Consciousness, Attention, Frequency, Temporal, Multiverse
- Real-time cluster connections with animated data flow particles
- Environmental controls: Gravity, friction, elasticity, time dilation
- Quantum tunneling boundary conditions (5% probability)
- Mouse interaction modes: Push, Pull, Vortex, Wave, String
- Collision detection and repulsion forces
- Left Click: Create new consciousness node at cursor
- Mouse Drag: Apply interaction forces based on selected mode
- Scroll Wheel: Zoom in/out while maintaining cursor position
- Parameter Sliders: Real-time physics adjustment
- ๐ง Consciousness: Default integrated view with node connections and clusters
- ๐ต Attention: Blue attention field intensity visualization
- ๐ฃ Frequency: Purple frequency domain oscillation patterns
- ๐ก Temporal: Gold temporal phase relationship visualization
- ๐ด Multiverse: Red universe boundary rendering
GET /api/status- System status and performance metricsGET /api/stats- Real-time consciousness statisticsPOST /api/parameters- Update physics parametersPOST /api/nodes- Create consciousness node at coordinatesPOST /api/collapse- Trigger quantum collapse eventWebSocket /stream- Real-time consciousness field streaming
The GitHub Pages demo represents the complete CONSIM experience โ it's the original single-file implementation that contains all the consciousness simulation features.
Live Demo vs. Architecture Versions:
- ๐ Live Demo: Complete standalone experience, zero setup required
- ๐๏ธ Modern Architecture: Scalable Python/FastAPI backend with Three.js frontend (for developers)
- ๐ Legacy Version: Original research implementation preserved in
/legacy/CONSIM.html
Why start with the Live Demo:
- โ Immediate access to all consciousness simulation features
- โ Full mathematical accuracy โ same core equations as the architecture version
- โ Complete feature set โ intelligence modes, biological evolution, social dynamics
- โ Zero dependencies โ runs entirely in the browser
- โ Perfect for research โ interact with consciousness phenomena immediately
When to use the Architecture Version:
- ๐ง Scaling beyond 1000+ nodes for large research datasets
- ๐ API integration with other consciousness research tools
- โก GPU acceleration for computational-intensive experiments
- ๐ ๏ธ Custom extensions and new consciousness algorithms
# Test the lattice engine
python src/lattice_demo.py
# Test API endpoints
curl http://localhost:8000/api/status- Backend: Modify
src/lattice.pyfor new consciousness algorithms - Frontend: Update
static/js/consciousnessRenderer.jsfor new visualizations - Bridge: Extend
src/server.pyfor new API endpoints
- GPU Acceleration: Install PyTorch with CUDA support
- WebGL2: Use modern browsers for enhanced shader capabilities
- Instance Rendering: Efficient GPU memory usage for large node counts
- WebSocket Compression: Zstandard compression for high-frequency streaming
| Configuration | Nodes | FPS | Latency | Memory |
|---|---|---|---|---|
| Demo (Standard Lib) | 64 | 30 | ~50ms | <50MB |
| Production (NumPy) | 128 | 60 | ~16ms | ~100MB |
| GPU (PyTorch+CUDA) | 512 | 60 | ~8ms | ~200MB |
| Maximum (1024 nodes) | 1024 | 45 | ~22ms | ~400MB |
Licensed under Apache 2.0.
Core theory ยฉ 2025 Jacob C. Smith; contributions ยฉ their authors.
Academic Citation:
Smith, J.C. (2025). The Multiversal Consciousness Framework: Real-Time Simulation Architecture. CONSIM Project.
๐ง Try the Live Demo โข ๐ Read the Architecture โข ๐ View Legacy Code
"Where mathematics meets mind, and simulation becomes experience."
Quick Links:
- ๐ฎ Interactive Demo - Start exploring immediately
- ๐ Get Started Locally - Run on your machine
- ๐ง Core Mathematics - Understanding the equations
- ๐ Performance Specs - System capabilities