Skip to main content

General Tips

Performance

  • Chrome gives the best canvas rendering performance
  • The Stencil’s Web Worker architecture performs best in Chrome (requires OffscreenCanvas)
  • Cell counts above 7,000 in the Generator may slow down on older hardware
  • GIF encoding is CPU-intensive. Larger sizes take longer.
  • The simulation runs 4 physics steps per frame for visible growth speed

Recording

  • Always set Cursor Influence to 0 in the Generator before recording
  • Let the swarm grow 3–5 seconds before PNG capture for a developed network
  • For video loops, 15–30 second clips give the most growth
  • In the Stencil, the watermark (seed number) is included in recordings

Colors

  • Dark base colors (near black) give the best contrast in all simulators
  • The Generator’s Mono palette is useful as a starting point for post-processing
  • In the Stencil/Masked, seed-based color drift means adjacent seeds in the same palette family still look unique

Generator Recipes

Dense Neural Web

A tight, intricate network with fine branching. The default Shumi look.
ParameterValue
Cell Count7,000
Speed2.0
Sensor Distance18
Sensor Angle45°
Turn Speed15°
Signal Deposit10
Signal Decay0.975
Diffusion0.15
Attractors8

Sparse Tendrils

Long, elegant reaching paths with minimal branching.
ParameterValue
Cell Count3,000
Speed3.5
Sensor Distance30
Sensor Angle25°
Turn Speed10°
Signal Deposit15
Signal Decay0.960
Diffusion0.10
Attractors4

Pure Radial Burst

Clean explosion from center, symmetrical and even.
ParameterValue
Cell Count6,000
Speed2.8
Sensor Distance22
Sensor Angle40°
Turn Speed20°
Signal Deposit12
Signal Decay0.965
Diffusion0.25
Attractors0

Thick Luminous Vines

Bold, bright paths with high deposit and slow decay.
ParameterValue
Cell Count5,000
Speed2.5
Sensor Distance15
Sensor Angle50°
Turn Speed25°
Signal Deposit30
Signal Decay0.985
Diffusion0.40
Trail Brightness2.5
Attractors15

Interactive Exploration

Optimized for cursor play.
ParameterValue
Cell Count5,000
Speed3.0
Cursor Influence200
Cell Glow1.0
Signal Deposit15
Signal Decay0.955

Avatar-Ready (GIF Export)

Optimized for small looping animated avatars.
ParameterValue
Cell Count5,000
Speed2.5
Signal Deposit14
Signal Decay0.970
Trail Brightness2.0
Cell Glow0.3
Attractors6
GIF Size256px
GIF Duration4s
GIF FPS16

Stencil Recipes

High-Contrast Entrance

Maximize the blast-on-load reveal effect.
  1. Set Master Opacity to 0.8 or higher
  2. Use Mode 1 (Ramp) for maximum ASCII contrast
  3. Press Space to re-trigger the blast at any time
  4. Record during the blast for a high-contrast reveal clip

Sharp Edge Definition

Make the mascot boundary crisp and well-defined.
SettingValue
Edge Strong0.45
Edge Weak0.08
Edge Fade Depth20
Dark Edge Boost3.5

Subtle Background Presence

Soft mascot with dominant background swarm.
SettingValue
Master Opacity0.15
BG Trail Brightness2.0
BG Agent Count12,000
Mode3 (Mold)

LP Mode for Embedding

Use the Stencil as a hero background:
https://yourdomain.github.io/shumi-physarum/stencil.html?lp&seed=60
The ?lp flag hides all UI and positions the mascot for iframe embedding. Add &es=0.57&ew=0.28 to customize edge parameters.

Shareable Compositions

  1. Dial in your ideal settings
  2. Click Share to copy the URL
  3. The URL encodes seed, mode, master opacity, and edge settings
  4. Recipients see the exact same composition

Masked Recipes

Finding Specific Textures

Since the Masked auto-selects textures by seed, use this guide to target specific looks:
TextureSeeds (first 64)
Standard0–7
Crystalline8–15
Smoke16–23
Coral24–31
Silk32–39
Electric40–47
Flow48–55
Spore56–63
Pattern: texture = TEXTURE_NAMES[Math.floor(seed / 8) % 8]

Finding Specific Palettes

Within any texture group, palettes cycle every seed:
PaletteSeeds (within any group of 8)
Ember0, 8, 16, 24, 32, 40, 48, 56
Frost1, 9, 17, 25, 33, 41, 49, 57
Moss2, 10, 18, 26, 34, 42, 50, 58
Pearl3, 11, 19, 27, 35, 43, 51, 59
Bloom4, 12, 20, 28, 36, 44, 52, 60
Honey5, 13, 21, 29, 37, 45, 53, 61
Tide6, 14, 22, 30, 38, 46, 54, 62
Rust7, 15, 23, 31, 39, 47, 55, 63
Pattern: palette = PALETTES[seed % 8]

Ghost Afterimage Timing

The ghost layer appears on each new seed and fades over ~4 seconds. For the best PNG captures, wait until the ghost has fully faded and the physarum trails have replaced it.

Export Format Guide

FormatBest ForTypical SizeAvailable In
PNGStatic avatars, print, social posts1–3 MBAll three
WebMHero backgrounds, looping video5–20 MB / 15sAll three
GIFAnimated avatars, chat profiles0.5–5 MBGenerator only
Fullscreen 1080pWebsite hero sections, high resolution10–30 MB / 15sGenerator only
Share URLReproducible compositionsN/AStencil only