feat: kill visual effect + brain-size graph#1
Merged
Conversation
- Show 💀 emoji with fade-out at kill locations in the arena; kill coords flow worker→SimState (Transferable) → SimCanvas particles - Add Brain Size curve (amber) to StatsGraph tracking avgNeuronCount per generation; scalars extracted from GenomeProfile before it is stripped from history to keep memory usage low - Add CLAUDE.md with project overview, commands and architecture notes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Move KILL_FORWARD before NUM_ACTIONS in Action enum so isEnabled() returns true and actionLevels array is large enough to hold the kill action level — previously kill could never fire due to index overflow - Add KILL to ACTION_NAMES arrays in simulator.ts and genome-profile.ts - Replace Mutants preset with Kill Bill: center circle challenge with killEnable=true, longer genomes (32 genes, 8 neurons) to give the kill action room to evolve Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…efault - Rewrite CHALLENGE_RADIOACTIVE_WALLS to match original biosim4 logic: west wall active first half, east wall second half; probabilistic death P=1/distance replaces binary closing-zone mechanic - Update challenge overlay to radioactive-wall shape with per-column amber gradient and trefoil symbols on the active wall - Disable sounds by default (only restore if user explicitly enabled) - Add Impressum link (implisense.com/de) to splash screen and main app Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add camera icon (PNG download) and video icon (3s WebM via MediaRecorder + captureStream) as overlay buttons in the bottom-right corner of the simulation canvas. Recording shows a red pulse indicator while active. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
KILL_FORWARDaction fires, a 💀 emoji appears at the victim's grid cell and fades out over ~1.4s. Kill coordinates flow fromactions.tsvia a callback →Simulator._pendingKillEvents→SimState.killEvents(Transferable Float32Array) →SimCanvasparticle system.StatsGraphtracksavgNeuronCountper generation, normalized against the historical max. Values are extracted fromGenomeProfilebefore it's stripped from history, so no additional memory cost.Test plan
killEnable: true— confirm 💀 icons appear and fade when agents kill each othernpm run build)