Add Physarum slime mold at /slime#169
Merged
Merged
Conversation
Classic Jones-model Physarum: each agent samples the pheromone field at three sensors (front/left/right), turns toward the strongest reading, moves, and deposits; the field evaporates with a cheap horizontal blur each frame. Flat Float32Array world at half display resolution keeps 20k agents at 60fps. Agents spawn in a centered disk pointing outward so the sim blooms into a ring before collapsing into vein networks. Sensor-angle and persistence sliders reshape the morphology live; agent-count presets 4k/10k/20k rebuild the world; reseed restarts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WgEKRuVdor8KhaiPkv38aQ
✅ Deploy Preview for ianalloway ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ianalloway
marked this pull request as ready for review
July 20, 2026 15:09
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
# Conflicts: # src/App.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/slime— the classic Physarum (Jones model) simulation: thousands of agents deposit and chase pheromone, self-organizing into living vein networkssrc/features/slime/physarum.ts: flat typed-array world (positions, headings, pheromone field), three-sensor steering, deposit, evaporation with a cheap horizontal blur; agents spawn in a centered outward-facing disksrc/pages/Slime.tsx: half-resolution sim rendered through ImageData and upscaled, agent-count presets (4k/10k/20k), sensor-angle and persistence sliders applied live, pause/reseedsrc/App.tsx: lazy-loaded/slimeroute with SEO metadataHow it works
Test plan
/slime— 10k agents bloom outward from the center, then collapse into vein networks within ~10 secondsGenerated by Claude Code