A small program to render the Lorenz attractor in scratch. Key binds: - space: clear trail - r : reset position. - p : reset parameters. The 'projection' list is used a a projection matrix, first 3 items control the on screen x and the last 3 control the on screen y, (use the see inside button to edit.)
This works using a discrete integration of https://en.wikipedia.org/wiki/Lorenz_system