Computer Science Canada Some Math |
Author: | Nick [ Thu Apr 24, 2008 2:42 am ] | ||||||
Post subject: | Some Math | ||||||
I got bored so here's three math programs 1. Line Mouse Follower:
2. Parabola:
3. Sinusoidal:
feel free to change the constant values for 2 and 3 to see what happens EDIT: added in grid and fixed the spacing in 3 |
Author: | repsoccer16 [ Thu Apr 24, 2008 7:17 am ] |
Post subject: | RE:Some Math |
good job all good programs for math use |
Author: | petree08 [ Thu Apr 24, 2008 9:52 am ] |
Post subject: | RE:Some Math |
your sine function program was very functional, I like! we serously need more math/physics/system opertation. programs on this site |
Author: | Mackie [ Thu Apr 24, 2008 8:33 pm ] |
Post subject: | RE:Some Math |
I like it, first one was very slow for me though, and i have a faster computer than you!... I was going to make a parabola program though.... Thief! |
Author: | CodeMonkey2000 [ Thu Apr 24, 2008 8:39 pm ] |
Post subject: | RE:Some Math |
What? This is very basic and uninteresting math. |
Author: | syntax_error [ Thu Apr 24, 2008 9:47 pm ] |
Post subject: | RE:Some Math |
meh, there isnt much of it, so its not that bad, for such a comment. meliked. |
Author: | Nick [ Thu Apr 24, 2008 10:09 pm ] |
Post subject: | RE:Some Math |
thank you for the comments, I just did this bored one night, who cares if it's simple, the sine/cosine waves give cool effects plus the line mouse follower can be useful for some people (for shooters) |
Author: | Michael516 [ Wed Apr 30, 2008 7:52 am ] |
Post subject: | RE:Some Math |
i like how in the first one the lines would follow the mouse, that was neat. |
Author: | Nick [ Sat May 17, 2008 3:50 am ] | ||
Post subject: | RE:Some Math | ||
when I first did this Saad told me to make a procedure that takes in a function as an argument so I would have a single procedure to draw an function, I told him later. I finally got around to doing it, however with this being Turing and all some functions are a litlle glitchy, anyways here's the code:
try messing around with it a little bit |