Giter Site home page Giter Site logo

max3a3 / diffusion-limited-aggregation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rolandr/diffusion-limited-aggregation

0.0 0.0 0.0 39 KB

Particles undergoing random motion adhere to a seed when they touch.

Home Page: https://draemm.li/various/diffusion-limited-aggregation/?particles=16000&scale=0.5&seed=center&realtime=false

License: GNU Affero General Public License v3.0

JavaScript 86.67% HTML 7.76% CSS 5.56%

diffusion-limited-aggregation's Introduction

Diffusion-Limited Aggregation

Particles undergoing random motion adhere to a seed when they touch.

Screenshot

Live demo

There's a number of settings which can be changed in the url:

  • particles
    Sets the number of particles in the simulation. Default is 16000.

  • scale
    Ratio of window size to canvas size. The default of 0.5 means that 1 pixel of the canvas is 2x2 pixels on-screen.

  • seed
    Sets the initial seed to which particles will attach. Possible values are:

    • center (default)
      One pixel in the center of the screen
    • box
      A seed surrounding the entire screen
    • ground
      A seed running along the bottom
    • sky
      A seed running along the bottom
    • random
      Seeds are randomly placed. The ´randomSeeds´ parameter sets the amount of seeds.
  • realtime
    When set to true, each particle will move by only one pixel per simulation frame. When set to false, as many steps will be calculated as possible.

diffusion-limited-aggregation's People

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.