mkloczko / elm-fractal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

A tool for visualizing different attractors using different numerical methods. Use the provided controls to modify different parameters and see their effect on the visualisation.

You can follow the link here to see it in action.

The project requires WebGL and is best viewed in Chrome.

Tested with both Chrome and Firefox.

Compilation

The project is build using ThreeJS and Elm. The Elm side of the project is handled by make.sh script.

Usage:

Click on the canvas to rotate the camera around the attractor. Use shift to move the height.

The input boxes can be modified using up and down arrows.

Controls

  • Function: Choose between Lorenz and Rosslers attractors.

  • Method: Change the derivation methods - Euler or 4th order Runge Kutta.

Simulation:
  • ix: Iterations

  • dt: Time step. Controls the trade off between precision and furthering the simulation

  • t0: Start time. Only relevant for RK4 method.

Parameters:

Parameters for given functions. Change them to see the difference in generated attractors.

Starting point:

The starting point for simulation. Has to be different from x = 0, y = 0, z = 0.

About

License:MIT License


Languages

Language:Elm 68.7%Language:HTML 31.0%Language:Shell 0.3%