Skip to main content
100%

Canvas Rossler attractor

✓ Published0🌍 Public
TThanaporn-sk
Last edited Oct 11, 2017
Created on Oct 11, 2017

This example visualizes the Rössler attractor, a chaotic dynamical system, by plotting its trajectory across three 2D projections (XY, XZ, and YZ planes) alongside a rotated 3D main view. It uses a Canvas 2D context to render the attractor paths with a linear gradient, while SVG is used for the coordinate axes and arrow markers. The code relies on d3.line and d3.curveCardinal for path generation, and applies custom rotation and orthographic projection functions to map 3D points to 2D space.

AI-generated description

Generation of the Rossler attractor and visualization of the solution of the system on the 3 planes.

This is the canvas version (except for the axes, so d3-axis could be used). Compare to the SVG version

Visualization of other attractors:

forked from <a href='http://bl.ocks.org/gcalmettes/'>gcalmettes</a>'s block: <a href='http://bl.ocks.org/gcalmettes/fd80abba670527a9736d69486e557735'>Canvas Rossler attractor</a>

gpl-3.0 Licensed

Similar vizzes