1.0.2 • Published 3 years ago

complex-iterations v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

Complex Iterations

Three algorithms to iterate

Install

$ yarn add complex-iterations

Demo

You can see the iterations of these algorithms here.

MA algorithm (the classic Mandelbrot algorithm)

MB algorithm

MC algorithm

Usage

import iterate, {algorithms, Algorithm, AlgorithmParameters } from "complex-iterations";

import { Complex } from 'mathjs';

const options = {
    Z: { re: 0, im: 0 },
    C: { re: -0.1, im: 1 },
    exp: 2,
}
const values =  iterate(iterations: 100, algorithm: algorithms.MA, options);
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago