Coder Social home page Coder Social logo

bu3namigue / physarum-audio-reactive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nicoptere/physarum

4.0 1.0 0.0 8.1 MB

Audio reactive slime mold simulation in JS and WebGL

Home Page: https://physarum.mathigatti.com/

License: The Unlicense

HTML 2.54% JavaScript 74.40% GLSL 23.06%
physarum creative-coding biology simulation

physarum-audio-reactive's Introduction

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

physarum-audio-reactive's People

Contributors

mathigatti avatar nicoptere avatar

Stargazers

「B5 0D 」 avatar Lennie Budgell avatar Karol Tomoki Yamazaki avatar Tyler Angert avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.