Skip to content

Sk16er/Many_Donuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍩 Many_Donut

Many_Donut is a multi-language collection of the classic ASCII rotating donut animation, implemented in some of the most popular programming languages.

This project demonstrates how the same mathematical idea can be expressed across different languages, runtimes, and ecosystems.


📂 Project Structure

Many_Donut/
│
├── donut.c
├── donut.cpp
├── donut.cs
├── donut.go
├── donut.java
├── donut.js
├── donut.lua
├── donut.py
├── donut.rs
├── donut.sh
├── donut.ts
└── README.md

How to Run Each Version

Python

python donut.py

C

gcc donut.c -lm -o donut
./donut

C++

g++ donut.cpp -o donut
./donut

Java

javac donut.java
java Donut

C#

dotnet run donut.cs

(or compile with your preferred .NET setup)

JavaScript (Node.js)

node donut.js

TypeScript

ts-node donut.ts

(or compile with tsc then run with Node)

Go

go run donut.go

Rust

rustc donut.rs
./donut

Lua

lua donut.lua

Bash

bash donut.sh

💻 Requirements

  • ANSI-compatible terminal

  • Monospaced font recommended

  • Some versions require:

    • GCC / G++
    • Node.js
    • Go
    • Rust
    • Java JDK
    • .NET SDK
    • Lua

Credits

The Donut Project is the inspiration here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors