Computer Science Canada easier arc |
Author: | rollerdude [ Sat Mar 12, 2005 11:56 am ] | ||
Post subject: | easier arc | ||
earlier, i made a program that makes arcs, i was fiddling around when i found a better subroutine: sind instead of sin
Draw.Dot(i:int,round(maxx-1:int * sind (i/2)),colour) kinda understand? know you don't need to fiddle around with decimals |
Author: | ssr [ Sat Mar 12, 2005 12:53 pm ] |
Post subject: | |
thats nice but whats up with the arcs soooo many piosts about them ![]() but thats nice code yes |
Author: | AsianSensation [ Sat Mar 12, 2005 2:16 pm ] |
Post subject: | |
sind uses degrees sin uses real values, namely radian measurements. Those are the only difference. When you are using sind, it's easier to use, because you are use to the Babylonian measurements of 360 degrees. sin uses radian measure such as pi/2, pi/4 and etc, etc. |
Author: | dann_west [ Mon May 02, 2005 2:13 pm ] |
Post subject: | Re: easier arc |
great idea. Arcs get kinda boring dont ya think though Great coding ![]() |