Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Plot a centered circle

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Sep 24, 2020 at 21:57 comment added Kjetil S Save 21 bytes with z,x;f(r,w){char s[(w=r*2+11)*w+1];for(x=!memset(s,48,w*w);x<7e5;)s[z=sin(++x)*r+r+5+round(cos(x)*r+r+5)*w]=49;printf("P1 %d %d %s",w,w,s);}. No need for the first round and to keep x below 7 (or 2π) .
Sep 24, 2020 at 15:48 history edited ErikF CC BY-SA 4.0
Code shortening
Sep 23, 2020 at 3:38 comment added Razetime Libreoffice shows the correct circle image. Nice Answer.
Sep 23, 2020 at 3:25 history edited ErikF CC BY-SA 4.0
Code shortening
Sep 23, 2020 at 2:41 history edited ErikF CC BY-SA 4.0
Added information
Sep 23, 2020 at 2:36 history edited ErikF CC BY-SA 4.0
Code shortening/correction
Sep 23, 2020 at 1:36 history answered ErikF CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /