GithubHelp home page GithubHelp logo

fractal-simulation's Introduction

Fractal-Simulation

A container shape is defined from a number of n points placed randomly.

An initial point P is created in a random position "Start"

The following procedure repeats for a number of 100,000 iterations:

  1. A container shape point is randomly selected
  2. P moves to a fraction of the line connecting its current position and the selected container point. This fraction is defined by Next Point Fraction.

Screen shot

Usage

  • Change the number of the container shape points (3-10) and observe changes in the fractal.
  • Change the next point fraction
  • Click Randomize to view other variances of the simulation under the same parameters.
  • Zoom and pan the displayed fractal

Requirements

This app uses JQuery 3.6 and Bootstrap 5.0.1.

Author Disclaimer

This is a recreational personal project with no serious scientific research in mind. The terminology used is most probably not mathematically correct.. This code comes as is with no guaranty.

Paris Lyritis, June 2021

fractal-simulation's People

Contributors

parisl69 avatar

Stargazers

Roman avatar  avatar

Watchers

 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.