OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Demo » Misc » lorenz.lha

Description: Lorenz Attractor - A GL exmaple.
Install: lorenz.lha
Size: 35kb 5
Date: 18 Sep 08
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
License: Other
Distribute: yes
Min OS Version: 4.0
Lorenz Attractor Demo

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

 Description:

 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 (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment