Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!shlump.nac.dec.com!hiatus.dec.com!hanoi.enet.dec.com!jnelson From: jnelson@tle.enet.dec.com (Jeff E. Nelson) Newsgroups: comp.sys.mac.programmer Subject: Moire screen saver algorithm wanted Message-ID: <1729@hiatus.dec.com> Date: 30 Nov 89 23:37:02 GMT Sender: news@hiatus.dec.com Reply-To: jnelson@tle.enet.dec.com (Jeff E. Nelson) Followup-To: comp.sys.mac.programmer Organization: Digital Equipment Corporation, Technical Languages and Environments Lines: 25 I am looking for the algorithm that is used in the Moire screen saver to plot objects on the screen. I don't need the calls to draw the objects, but the code that figures out: o where to place the next object to be drawn, and o how to adjust the dimensions of the object (i.e., adjust the endpoints of a line segment, adjust the foci of an ellipse, etc.). That is, I'm interested in the algorithim that generates the Moire pattern. The Moire documentation claims that the algorithm is adopted from an unknown person who originally received it off of a Sun source distribution of some kind or another. Algorithms and pointers to other Moire-like pattern generating algorithms are also appreciated. Please post, so that others may benefit, although I will summarize any mail I receive. Thanks for your help. -Jeff E. Nelson -Digital Equipment Corporation -Internet: jnelson@tle.enet.dec.com - -or- jnelson%tle.dec@decwrl.dec.com -Affiliation given for identification purposes only