Author |
Message |
SilverSprite
|
Posted: Tue Jun 01, 2004 3:55 pm Post subject: roses are actually red this time.. |
|
|
well.. here is my roses program.. now that computer is pretty much feeling a little better from those virii... source code this time.. its from a math thing i found some time ago and coded..
code: |
View.Set ("nobuttonbar, graphics:max;max, offscreenonly")
var oldx, oldy, x, r, t, newx, newy, cx, cy, size := 0.0
cx := maxx div 2
cy := maxy div 2
size := 100
for n : 1 .. 359
for d : 1 .. 359
locate (1, 1)
put "n: ", n, " d: ", d
loop
t := (t + d) mod 360
r := sind (((n * t) mod 360))
newx := r * cosd (t)
newy := r * sind (t)
drawline (round (cx + size * oldx), round (cy + size * oldy), round (cx + size * newx), round (cy + size * newy), 7)
oldx := newx
oldy := newy
exit when t = 0
end loop
View.Update
cls
end for
end for
|
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Paul
![](http://i12.photobucket.com/albums/a207/paulbian/DDRDuck.png)
|
Posted: Tue Jun 01, 2004 4:37 pm Post subject: (No subject) |
|
|
Hm... interesting, although I didn't see any roses... or red... but its a cool effect. Reminded me of the movie "the ring"
Is it viruses or virii? |
|
|
|
|
![](images/spacer.gif) |
rhomer
![](http://csatweb.csatolna.hu/tagok/csa/magvasart/homer_3d.jpg)
|
Posted: Tue Jun 01, 2004 4:53 pm Post subject: (No subject) |
|
|
THTA WAS THE COOLEST THING I EVER SAW!!!! |
|
|
|
|
![](images/spacer.gif) |
SilverSprite
|
Posted: Tue Jun 01, 2004 4:53 pm Post subject: (No subject) |
|
|
i didnt name it man.. that was what the pdf was called "roses are red"...
and i think both work |
|
|
|
|
![](images/spacer.gif) |
SilverSprite
|
Posted: Tue Jun 01, 2004 4:54 pm Post subject: (No subject) |
|
|
choose different numbers. you get some really cool ones |
|
|
|
|
![](images/spacer.gif) |
Raugrist
![](http://www.voidspace.org.uk/gallery/silly/thumbnails/tn_big_cup_of_STFU.jpg)
|
Posted: Tue Jun 01, 2004 6:25 pm Post subject: (No subject) |
|
|
That was pretty nice, I think next to trig, this is the only time that I don't exactly hate math. Glad to hear the virus problem is gone. |
|
|
|
|
![](images/spacer.gif) |
SilverSprite
|
Posted: Tue Jun 01, 2004 8:26 pm Post subject: (No subject) |
|
|
the virus problem isnt gone yet... just temporarily im working it through |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Tue Jun 01, 2004 8:27 pm Post subject: (No subject) |
|
|
ouch man, it's been in your computer for a while now... maybe you should just format ![Rolling Eyes Rolling Eyes](http://compsci.ca/v3/images/smiles/icon_rolleyes.gif) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
SilverSprite
|
Posted: Tue Jun 01, 2004 8:39 pm Post subject: (No subject) |
|
|
oh i did.. i reformatted once.. then they all came back.. i reformatted a second time.. and i installed norton before i connected to the internet.. my computer is for some reason very susceptible to virii, if i dl msn for example.. one seems to leak through.. i have to clean it up real quick after norton detects it its annoying.. |
|
|
|
|
![](images/spacer.gif) |
the_short1
|
Posted: Sat Jun 12, 2004 5:44 pm Post subject: (No subject) |
|
|
lookz nice..... i have gotten similiar results by doing a drawpolygon and have it keep raising the number of sides... maybe u can try that out...
good job! |
|
|
|
|
![](images/spacer.gif) |
SilverSprite
|
Posted: Sat Jun 12, 2004 7:25 pm Post subject: (No subject) |
|
|
that besides the point.. and i doubt that drawpolygon would give the same thing.. go to a larger number of n and d |
|
|
|
|
![](images/spacer.gif) |
this_guy
![](http://www.desert-voice.net/saddam.gif)
|
Posted: Thu Jun 24, 2004 5:01 pm Post subject: (No subject) |
|
|
i dont get it at all....where's the red? and the rose?
nice seizure giving thingy though. |
|
|
|
|
![](images/spacer.gif) |
Kingnoz
|
Posted: Thu Jun 24, 2004 10:13 pm Post subject: (No subject) |
|
|
AH MY EYES...there should be a seizure warning for ppl with fast computers...other than that, the program is amazing, props to u. |
|
|
|
|
![](images/spacer.gif) |
the_short1
|
Posted: Fri Jun 25, 2004 11:17 am Post subject: (No subject) |
|
|
there .... << have it for my cool ways to clear ur screen visuals.,.,. cuz thoe are nuts.. |
|
|
|
|
![](images/spacer.gif) |
|