Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. for (float t = 0; t < 2 * 3.14; t += 0.001) //the lower the unit of t, the more dots
  2. SetPixel(
  3. (xoffset + radius * sin(t)), //x coordinate
  4. (yoffset + radius * cos(t)), //y coordinate
  5. 255, 0, 255); //colors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement