Share your repls and programming experiences

← Back to all posts
donut.c - donut shaped c code that outputs a spinning donut
h
MarcusWeinberger (774)

Source - I take no credit for this

This is C code that outputs a spinning ASCII donut.

The code:

The result:

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

Comments
hotnewtop
ch1ck3n (1622)

you saw the youtube video too huh

JustaGoldenMean (0)

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

zplusfour (890)

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.

deflowo (0)

I agree with your statement here, @zplusfour

Gabby8C0des8 (27)

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

Jakman (450)

Nice. This is a real animation

HahaYes (1861)

XD I did this before.

KellerWorthen (41)

So random...
Yet so beautiful...

TheForArkLD (763)

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