Polyspiral: Difference between revisions
m
→{{header|C}}: Remove vanity tags
Thundergnat (talk | contribs) m (→{{header|Ring}}: Remove vanity tags) |
Thundergnat (talk | contribs) m (→{{header|C}}: Remove vanity tags) |
||
Line 37:
Straightforward implementation of the pseudocode, incr and angle are integers and incr is incremented by 5 instead of 0.05 as the % operation in C is not defined for non-integers. Requires the [http://www.cs.colorado.edu/~main/bgi/cs1300/ WinBGIm] library.
<lang C>
#include<graphics.h>
#include<math.h>
|