OS4 DepotLogo by invent 
(anonymous IP:,1821) 

   Bug tracker
   Locale browser


   o Audio (333)
   o Datatype (50)
   o Demo (198)
   o Development (570)
   o Document (21)
   o Driver (96)
   o Emulation (144)
   o Game (943)
   o Graphics (486)
   o Library (106)
   o Network (223)
   o Office (61)
   o Utility (874)
   o Video (65)

Total files: 4170

Full index file
Recent index file



Support the site

 Readme for:  Demo » Misc » lorenz.lha


Description: Lorenz Attractor - A GL exmaple.
Download: lorenz.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 35kb
Date: 18 Sep 2008
Author: Aaron T. Ferrucci, AmigaOS 4.x compile by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spot/triad se
Homepage: http://www.opengl.org/resources/code/samples/more_samples/
Requirements: MiniGL 2.0 beta (Included in AmigaOS 4.1)
Category: demo/misc
Replaces: demo/misc/lorenz.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 4086
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 192  (Current version)
192  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Lorenz Attractor Demo

 Adapted from code originally written for the 4D60GT by
 Aaron T. Ferrucci (aaronf cse ucsc edu), 7/3/92.


 This program shows some particles stuck in a Lorenz attractor (the parameters
 used are r=28, b=8/3, sigma=10). The eye is attracted to the red particle,
 with a force directly proportionate to distance. A command line
 puts the whole mess inside a box made of hexagons. I think this helps to
 maintain the illusion of 3 dimensions, but it can slow things down.
 Other options allow you to play with the redraw rate and the number of new
 lines per redraw. So you can customize it to the speed of your machine.
 For general info on Lorenz attractors I recommend "An Introduction to
 the Lorenz Equations", IEEE Transactions on Circuits and Systems, August '83.

 Bugs: hidden surface removal doesn't apply to hexagons, and
 works poorly on lines when they are too close together.

 Notes on OpenGL port:
 The timer functions do not exist in OpenGL, so the drawing occurs in a
 continuous loop, controlled by step, stop and go input from the keyboard.
 Perhaps system function could be called to control timing.

 Changes in the AmigaOS 4.x version: Added MiniGL check.

Copyright © 2004-2022 by Björn Hagström All Rights Reserved