Skip to content

momori256/donut-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donut Rust

Rust implementation of a rotating donut in a terminal.

donut.mp4

How it works

  1. Make a torus by rotating a circle.
  2. Rotate the torus around the x-axis and the y-axis to animate it.
  3. Map each point to the screen.

image

Reference

About

Rust implementation of donut.c

Topics

Resources

License

Stars

Watchers

Forks

Languages