home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
038.lha
/
Bezier.doc
< prev
next >
Wrap
Text File
|
1987-05-16
|
1KB
|
35 lines
#! rnews 21529
Path: van-bc!ubc-vision!alberta!ihnp4!ucbvax!CORY.BERKELEY.EDU!dillon
From: dillon@CORY.BERKELEY.EDU (Matt Dillon)
Newsgroups: comp.sys.amiga
Subject: Splurge #3 ... Bouncing Beziers
Message-ID: <8705110627.AA22443@cory.Berkeley.EDU>
Date: 11 May 87 06:27:18 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 624
Oh what the hell.. Here's Bezier again, but this time I've added
an automation option... you can watch the Bezier curve bounce all over its
window by specifying a random seed:
bezier [seed [delay]]
example:
bezier 24
If you don't want it to run continuously, you can specify a delay
(passed directly to Delay()):
bezier 24 10
Otherwise, if you give it no arguments, it allows you to play with the
bezier curve like in my first posting.
P.S. running it on automatic 'bezier #', and setting the granularity to
about 40 looks very impressive.... I've found it somewhat appeasing to have
running on my workbench screen. I also optimized the source quite a bit.
-Matt