ASCII Art Archive v2 – Now live with a new layout and weekly updates. Read more.
A classic rotating ASCII donut with size, thickness, rotation, and color controls.
____ _ _ ____ _
/ ___| _ __ (_)_ __ _ __ (_)_ __ __ _ | _ \ ___ _ __ _ _| |_
\___ \| '_ \| | '_ \| '_ \| | '_ \ / _` | | | | |/ _ \| '_ \| | | | __|
___) | |_) | | | | | | | | | | | | (_| | | |_| | (_) | | | | |_| | |_
|____/| .__/|_|_| |_|_| |_|_|_| |_|\__, | |____/ \___/|_| |_|\__,_|\__|
|_| |___/ ASCII Spinning Donut is a classic ASCII animation that renders a rotating 3D torus using nothing but characters. Watch the donut spin in smooth loops as shading and depth turn plain text into a surprisingly solid 3D shape. It’s a nerdy little demo that proves text can do 3D.
ASCII Spinning Donut
30
2
1
75
50
45°
45°
Instruction
3D ASCII torus inspired by Andy Sloane’s donut.c
| Option | Description |
|---|---|
| Auto Rotate | Spin automatically |
| Wobble | Organic motion |
| Rotation X/Y | Spin speed per axis |
| Size | Donut scale |
| Thickness | Tube width |
| Color | Color gradient |
| Light Angle | Light direction |
| Light Height | Light elevation |
| Characters | ASCII style |
| Renderer | DOM / Canvas / WebGL |
Acknowledgments and credits
ASCII Spinning Donut is an original animation created, designed, and programmed by Elias Wejdin, and developed under the Injosoft brand. You are welcome to view and share the animation as it is, but all rights to the name, source code, design, and implementation are reserved by Injosoft. The code, or any substantial part of it, may not be copied, modified, or reused in other projects without prior written permission. When sharing the animation, a mention or link to ASCII Spinning Donut on asciiart.eu is greatly appreciated.Original concept credit
The spinning ASCII donut (3D torus) concept is widely known online and is commonly attributed to Andy Sloane, who popularized it through his “donut.c” demonstration. This version is an independent reimplementation with its own code, controls, and presentation, and is not affiliated with the original author.
Thanks for watching. Stay for more ASCII magic!
Ready for more? Try these ASCII Animations
ASCII Plasma – Colorful ASCII plasma patterns with multiple modes, palettes, and controls to tweak speed, scale, distortion.
ASCII Fire – Text-based flames with wind, sparks, embers, palettes, and heat pulse.
ASCII Radio Waves – Pulsing ASCII radio waves with adjustable shape, wavelength, thickness, center motion, and rotation.
ASCII Fireworks – ASCII Fireworks lights up your screen with looping text explosions, spark trails and colorful retro fun.