plottin' the demo

Started by rednova, August 22, 2007, 08:20:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rednova

Dear Friends:

I have seen a beautiful amiga demo (satisfaction guaranteed) which I loved. It showed a series of points
moving around and becoming different shapes (made of points)like math hyperbolas...switching from shape to shape. Is it possible to do this in amospro?  To plot points and makin 'em form a different shape?
Thanks...

rednova
-mobilis in mobile-
-mobilis in mobile-

Sidewinder

Absolutely!  Although the original AMOS plot function is a bit slow so I'd suggest using a replacement like the one found in the Turbo extension.  The whole concept would involve solving intersections of lines and mathematical equations for various shapes.  Without an FPU (does AMOS even use an FPU when available?) you'll need to generate precomputed tables for the different mathematical functions in order to keep the frame rate high.  But it's definitely possible.
- Sidewinder

rednova

Sidewinder:

Thanks for replying. I will mess with the plotting commands. I do not need this function to be fast...just to adequately work. Hey..all amos people:  I love you!!!!

rednova
-mobilis in mobile-

Sidewinder

@rednova

I checked out the demo and didn't see effects exactly like you describe, but I did sit down with AMOS tonight and ran a simple test case with finding the intersection points of a line and a circle.  It seems to work just fine in AMOS with one random line and one circle.  I had the line spinning and calculated the intersection points and plotted them on the screen so it looked like two points circling each other.  Pretty cool effect if I do say so myself.  Now to add more complex quadratic shapes and maybe even some 3D.   ;D
- Sidewinder

SamuraiCrow

Quote from: Sidewinder on August 22, 2007, 08:33:48 PM
Without an FPU (does AMOS even use an FPU when available?) you'll need to generate precomputed tables for the different mathematical functions in order to keep the frame rate high.  But it's definitely possible.
Amos only supports an FPU when using double precision numbers.