open apps/ai-tools/recursive-self-portrait.htmlor visit: http://localhost:8000/apps/ai-tools/recursive-self-portrait.html
Click "Begin Observation" button
Move your cursor around for at least 10-15 movements to collect training data
Check the "Use Neural Prediction" checkbox
- Neural Confidence meter will start at 0% and increase as you move
- Network visualization will show neurons activating
- After ~100-200 movements, confidence should reach 60-80%
Move your cursor in a circle:
- Start at the center
- Move clockwise in a circle
- Complete 2-3 full circles
- Watch the neural confidence rise to 70%+
- The ghost cursors should start predicting your circular motion!
Try this to compare neural vs heuristic:
- Move in circles with neural mode ON
- Note the prediction accuracy
- Toggle neural mode OFF
- Keep moving in circles
- Compare which method predicts better!
- ✓ Neural confidence increasing (0% → 70%+)
- ✓ Prediction trails following your cursor
- ✓ Network visualization neurons lighting up
- ✓ Smooth 60 FPS performance
- Neural confidence stuck at 0%? → Make sure you moved at least 11 times
- Checkbox not working? → Check browser console for errors
- Canvas blank? → Scroll down in sidebar to see it
- Lagging? → Try reducing recursion depth
| Feature | Location | What It Shows |
|---|---|---|
| Neural Confidence | Stats Panel | 0-100% training quality |
| Prediction Mode | Stats Panel | "Neural" or "Heuristic" |
| Neural Toggle | Below Depth Slider | On/Off checkbox |
| Network Viz | Below Fingerprint | Live network activations |
| Prediction Trails | Main Viewport | Colored prediction paths |
- Smooth movements → Higher confidence (70-90%)
- Erratic movements → Lower confidence (30-50%)
- Patterns → Neural learns them quickly
- Random motion → Heuristic may work better
- Toggle during movement → See real-time comparison
- Space - Start/Stop observation
- R - Reset session
- W - Toggle webcam
- (Tab to checkbox) - Toggle neural mode
| Problem | Solution |
|---|---|
| Confidence not increasing | Move cursor more (need 11+ actions) |
| Can't find neural toggle | Scroll down sidebar, it's below depth slider |
| Canvas shows "Awaiting data" | Move cursor with observation started |
| Performance issues | Lower recursion depth to 3-5 |
| Toggle not working | Refresh page, try again |
For best performance:
- Keep recursion depth at 5-7
- Don't enable webcam and neural simultaneously (can, but more CPU)
- Close other browser tabs
- Use Chrome or Firefox for best performance
- Bright neurons = High activity
- Dim neurons = Low activity
- Purple neurons = Output (when neural mode active)
- Lines = Connections between layers
- <30% = Still learning
- 30-70% = Getting better
- 70%+ = Good predictions
- 90%+ = Excellent (on regular patterns)
Try these experiments:
- Move in different shapes (circles, squares, zigzags)
- Change speed (slow vs fast)
- Mix patterns (circle then straight line)
- Compare neural vs heuristic on each
- See which patterns neural learns fastest
For more details:
- IMPLEMENTATION_SUMMARY.md - Feature overview
- NEURAL_NETWORK_IMPLEMENTATION.md - Technical details
- NEURAL_TESTING_GUIDE.md - Comprehensive testing
Enjoy exploring how AI learns your movement patterns in real-time!