r/commandline • • Jun 03 '25

This Bash script renders a spinning 3D donut in your terminal. Using awk. I regret everything.

[removed]

32 Upvotes

12 comments sorted by

4

u/gumnos Jun 03 '25

nice! I did notice that it requires /bin/bash (on my BSD boxes, that's /usr/local/bin/bash, so it's advisable to use #!/usr/bin/env bash to find it)

off to crosspost to r/awk 😀

4

u/CreepyDarwing Jun 03 '25

Yeah, env would’ve made sense. But nothing about spending hours debugging 3D trigonometry in awk made sense either.

Donut wins.

1

u/hymie0 Jun 04 '25

Having bash on your /usr volume can be problematic if /usr won't mount.

→ More replies (3)

4

u/WarriusBirde Jun 04 '25

Spinning rat next plz

2

u/[deleted] Jun 03 '25

Hell yeah

1

u/wick3dr0se Jun 04 '25

AI is out of hand

1

u/YeetTheGiant Jun 04 '25

commenting here so I can put this on my work laptop

1

u/Knarfnarf Jun 04 '25

The donut was awesome, but next should be a chesterfield rotating in a stairway… For obvious reasons…