The Rössler Attractor

Rössler Strange Attractor, a system of three non-linear ordinary differential equations with chaotic dynamics and fractal properties.
My original Rössler Attractor was created on Dwitter: dwitter.net/d/17179
#attractor

Log in to post a comment.

// Forked from "The Aizawa Attractor " by rodrigosiqueira
// https://turtletoy.net/turtle/946579f115

// Forked from "Lorenz XZ" by evilotto
// https://turtletoy.net/turtle/30f29b215b

// You can find the Turtle API reference here: https://turtletoy.net/syntax
Canvas.setpenopacity(1);

// Global code will be evaluated once.
const turtle = new Turtle();
turtle.penup();

function project() {
    turtle.goto(x*10-10, -z * 6 + y* 4+28);
    // turtle.goto(x * 3, y * 3);
    // turtle.goto(y * 3, (-z + 28) * 3);
}

x = 0.04;
y = 0.04;
z = 0.04;

project();
turtle.pendown();

dt = 0.01;

// The walk function will be called until it returns false.
function walk(i) {

    x = x - dt * (y+z);
    y = y + dt * (x + .2*y);
    z = z + dt * (.2 + z*(x-5));

//    x = nx
//    y = ny
//    z = nz

    project();
    return i < 21000
}