Path: utzoo!attcan!uunet!cbmvax!rutgers!psuvax1!julius.cs.uiuc.edu!usc!ucsd!hub.ucsb.edu!ucsbuxa!6600mage From: 6600mage@ucsbuxa.ucsb.edu (Orion Wilson the Passable) Newsgroups: comp.sys.amiga.tech Subject: Integer sine calculations? Keywords: assembly integer sine Message-ID: <7336@hub.ucsb.edu> Date: 21 Nov 90 18:57:00 GMT Sender: news@hub.ucsb.edu Distribution: comp Lines: 29 Ok. ok ok ok ok. .. Have you seen these hacker demos where the balls or whatever follow sinusoidal paths around the screen? And where there are HUNDREDS of balls all going very smoothly through what appear to be complex hypo-cycloids and such? My question is how these paths are computed. The number of objects and their speed incidates that they aren't being done by floating-point techniques, and i'm pretty sure the numbers are not pre-calculated, so it seems that smooth curves like the sin and cos can be done using integer (native MC68000) arithmatic. Is this so? Does anybody out there know what these algorythms are? Am i posting in the wrong area? And why hasn't my mouse come home? For the answers to these questions and more, please write me so i may learn. -- 6600mage@ucsbuxa.ucsb.edu ## These are ## Secrets of ################################### Melodious Monk