Skip to content

parisl69/Fractal-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published