User:Thierry Dugnolle/Python/Ordinary differential equations



A trajectory in the Chua system

The Python files which generated this animation:

Other files
For this program you need also the following files:
 * Line3D_Drawer.py, Vector3D.py, Line3D.py, DepthMatrix.py. They are on this page : User:Thierry Dugnolle/Python/3D line drawer.
 * LineDrawer.py, Vector2D.py, Line2D.py. They are on this page: User:Thierry Dugnolle/Python/High definition paintbrush.

Remark
To generate the animation at the top of this page, the line 125 in the file Line3D_Drawer.py, has been modified:

grey = 255-math.floor(pow(math.cos(self.depthMatrix.dist[i][j]*math.pi/2/TheLineRealHalfWidth),10)*255)

has been replaced by

grey = 255-math.floor(pow(math.cos(self.depthMatrix.dist[i][j]*math.pi/2/TheLineRealHalfWidth),2)*255)

The power of cos, 10 has been replaced by 2. It enlarges the width of the line relative to its halo.