Skip to content

dmaynard/chaosvue

Repository files navigation

chaosvue

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Here is the function that iterates the attractor. It has 4 parameters a, b, c, and d which are randomly set for each new attractor. The function continues iterating until 10% of the points have reached their maximum value (255).

iteratePoint: function(x, y) {
  let nx = Math.sin(y * this.b) - (this.c * Math.sin(x * this.b));
  let ny = Math.sin(x * this.a) + this.d * Math.cos(y * this.a);
  return [nx, ny];
}

Customize configuration

See Configuration Reference.

Netlify Status

About

Pickover's Chaotic Attractor as a Vue App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published