Skip to content
← Back to Community
donut.c - donut shaped c code that outputs a spinning donut
Profile icon
MarcusWeinberger

Source - I take no credit for this

This is C code that outputs a spinning ASCII donut.

The code:

image

The result:

gif

You may need to resize your console in order to get the intended output

Voters
Profile icon
Oscarthebest
Profile icon
Dohnstem
Profile icon
ya751865
Profile icon
odinahand
Profile icon
FinniganMacPhai
Profile icon
19bayleyl
Profile icon
Gabby8C0des8
Profile icon
Leroy01010
Profile icon
Jakman
Profile icon
AmazingMech2418
Comments
hotnewtop
Profile icon
Leroy01010

COOL!!!

Profile icon
Jakman

Nice. This is a real animation

Profile icon
KellerWorthen

So random...
Yet so beautiful...

Profile icon
Gabby8C0des8

zoom calls are irrelevant, its time to watch a spinning donut

Profile icon
Leroy01010

:OOOOOOO

Profile icon
TheForArkLD

Ahhhh IOCCC!!!
It's cool, I wanted to watch it.

Profile icon
Nabil-FashaFash

someone know why the donuts always make new line??

Profile icon
ch1ck3n

you saw the youtube video too huh

Profile icon
JustaGoldenMean

That's hilarious! I'm delighted. (And I haven't even shown my 10 Y.O.)

Profile icon
zplusfour

Why do you get a lot of cycles from this?
You only saw a video from YouTube and posted it.
Give a credit for the video.

Profile icon
deflowo

I agree with your statement here, @zplusfour

Profile icon
zplusfour
Profile icon
Kookiez

Cool!

Profile icon
HahaYes

XD I did this before.