Skip to content

bu3nAmigue/physarum-audio-reactive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physarum Audio Reactive

A slime mold simulation made by nicoptere and modified by bu3nAmigue for audio reactivity

Inspired by this amazing work. Implemented from this paper

You can check a sample of this here.

Run demo here.

The model has these parameters:

  • SA and RA control the changes in direction ( Sensor Angle and Rotation Angle)
  • SO and SS are the look ahead distance and step size (speed) respectively.
  • radius controls the size of the particle stream when drawing
  • count controls the particle count when drawing

Usage

npm install

npm run dev

To use the mic check the branc "mic" of this repository, by default it loads this mp3 file instead of using the microphone.

Sample Images

img0 img1

Languages

  • JavaScript 74.4%
  • GLSL 23.1%
  • HTML 2.5%