Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fillCircle(c, x, y, r){
- for( var v = y-r; v < y+r; v++)
- c.fillRect(x- Math.sqrt( (r*r)-(v*v) ), v, Math.sqrt( (r*r)-(v*v) ) *2, 1);
- }
- //teras ideolo bo w forze uwzgledniam pozycje ale i tak nic nie ma xD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement