Jump to content
• Advertisement

#### Archived

This topic is now archived and is closed to further replies.

# Cool-Looking when plotted equations?

This topic is 5399 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

## Recommended Posts

I made a small app and I just was wondering if anyone knows of any other cool looking equations that can be made using the varaible time and some other equation of soem sort to comupute a value for an X and Y location on the screen I ask because I just wanna put a bunch of neat equations into one app so far i have a few determained by random variables I have this so far: x = (int)(tan(float(time * mK)) * width)-time; y = (int)(cos(float(time * mK)) * height)+time; x = (int)(sin(float(time * mK)) * width)-time; y = (int)(tan(float(time * mK)) * height)+time; x = (int)(tan(float(time * mK)) * width)-time; y = (int)(sin(float(time * mK)) * height); x = (int)(sin(float(time * mK)) * width); y = (int)(cos(float(time * mK)) * height); x = (int)(cos(float(time * mK)) * width); y = (int)(sin(float(time * mK)) * height); x = (int)(cos(float(time * mK)) * width)-time; y = (int)(sin(float(time * mK)) * height)+time; I know I could probably come up with them on my own but im not very high in math yet and that would take quiet awhile so if anyone knows of any neat equations when they are plotted can u post here ? [edited by - DevLiquidKnight on February 27, 2004 4:45:18 PM]

#### Share this post

##### Share on other sites
Advertisement
afaf, always like buggering around with graphs.

x=sin(t)*sin(4*t)
y=cos(t)*cos(1/2*t)

(can these be simplified? dont know much about further aspects of those functions)

x=sin(t)+1/4*sin(1/4*t)
y=cos(t)+1/4*cos(1/4*t)

of course it gets more fun if you play with 3d plotters ;p

#### Share this post

##### Share on other sites
check these out:

http://astronomy.swin.edu.au/~pbourke/curves/

#### Share this post

##### Share on other sites
cos(sqrt((x-d/2)*(x-d/2)+y*y)-t)+cos(sqrt((x+d/2)*(x+d/2)+y*y)+t);

t=time
...

[edited by - Dmytry on February 28, 2004 2:42:36 AM]

#### Share this post

##### Share on other sites
quote:
Original post by Dmytry
cos(sqrt((x-d/2)*(x-d/2)+y*y)-t)+cos(sqrt((x+d/2)*(x+d/2)+y*y)+t);

t=time

what is d? and how does it calculate a position if it uses x, and y ?

quote:
http://astronomy.swin.edu.au/~pbourke/curves/

amazing...

[edited by - DevLiquidKnight on February 28, 2004 3:49:10 PM]

#### Share this post

##### Share on other sites
Here is the app I made / making... http://www.geocities.com/killereaglesoftware/progs/GDI.zip if anyone wants to see

#### Share this post

##### Share on other sites
d is a constant,set to 2..5,equal to "distance between sources".

It''s interference of waves from special transmitter(placed in the center).Heh,doesn''t looks like waves comes from center :-).

#### Share this post

##### Share on other sites
It seems like your program just plots stuff oscilliscope-style. If so, lissajous figures may be interesting:
x=cos(time)
y=sin(time*n)
Try different values of n for some pretty different things. Follow this link for thousands of interesting curves.
http://mathworld.wolfram.com/LissajousCurve.html
(I.e. there are links on that page to harmonographs, and from there to spirograph. Just search around).

[edited by - sadwanmage on March 2, 2004 8:52:35 AM]

#### Share this post

##### Share on other sites
May I have the source to that app so I can add some equations manually? I''ve got some very neat ideas that i have used before in calculus, and I think you will like them

#### Share this post

##### Share on other sites
0.o what type of ideas

[edited by - DevLiquidKnight on March 2, 2004 9:26:50 PM]

#### Share this post

##### Share on other sites

• Advertisement
• Advertisement

• ### Popular Contributors

1. 1
2. 2
3. 3
Rutin
13
4. 4
5. 5
• Advertisement

• 26
• 11
• 9
• 9
• 11
• ### Forum Statistics

• Total Topics
633697
• Total Posts
3013407
×

## Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!