Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / City Formula

Author
Message
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 12th Mar 2006 23:22 Edited at: 13th Mar 2006 11:30
I made this frmo scratch, it's nothing but it looks cool


you need to wait till the end to see all of it:



The forumla to draw the city is:
y=sin(tan((x^2)-(10*x)-20))*150

Have fun


[edit]

Picture:



[edit]

Woah! Just tested it in DBPro. It doesn't look right, I made it in DBC because it doesn't take 300 years to execute...


[edit]

Here's a higher resolution one.



Essence
22
Years of Service
User Offline
Joined: 12th Oct 2002
Location: The Netherlands
Posted: 13th Mar 2006 17:17
Looks more like an Oscilloscope to me actually
But nice math method

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 13th Mar 2006 18:28
Thank you heh

Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 13th Mar 2006 20:34
JerBil
20
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 13th Mar 2006 22:01
On the hi-res, I get 3 tall same height towers repeating
over and over. How do you get different ones?
One suggestion...you'll get faster results without the
sync rate, since theres no need to have a constant rate
in this case.

-JerBil

Ad Astra Per Asper
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Mar 2006 23:00
That's a good point JerBil, I'll take that into account next time

Login to post a reply

Server time is: 2024-11-23 07:05:20
Your offset time is: 2024-11-23 07:05:20