OS4 DepotLogo by Nickman 
(anonymous IP:,2193) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

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: 210  (Current version)
210  (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-2024 by Björn Hagström All Rights Reserved