All Projects → ShrirajHegde → ASCII-Donut-Fortran

ShrirajHegde / ASCII-Donut-Fortran

Licence: GPL-3.0 license
The classic ASCII spinning donut, written in Fortran

Programming Languages

fortran
972 projects
Makefile
30231 projects

Projects that are alternatives of or similar to ASCII-Donut-Fortran

c games
[Some C games] Some simple games written in C language.
Stars: ✭ 31 (+138.46%)
Mutual labels:  ascii-graphics
progress
Easy progress reporting for D
Stars: ✭ 20 (+53.85%)
Mutual labels:  ascii-graphics
xibalba
A Mayan roguelike
Stars: ✭ 50 (+284.62%)
Mutual labels:  ascii-graphics
durdraw
Animated Unicode, ANSI and ASCII Art Editor for Linux/Unix/macOS
Stars: ✭ 55 (+323.08%)
Mutual labels:  ascii-graphics
aart
Convert images and video to ascii art!
Stars: ✭ 18 (+38.46%)
Mutual labels:  ascii-graphics
Commandline-Games-hacktoberfest
A repository to share command line games. An opportunity to start and learn about open source code contributions flow.
Stars: ✭ 16 (+23.08%)
Mutual labels:  ascii-graphics
venn.nvim
Draw ASCII diagrams in Neovim
Stars: ✭ 539 (+4046.15%)
Mutual labels:  ascii-graphics
asciju
Conversion of Image, video, text into ASCII format
Stars: ✭ 11 (-15.38%)
Mutual labels:  ascii-graphics
TextGraphic
TextGraphic is a framework for creating Textual Graphics. It provides layers, styling, rich color, text justification, layouts, tables, view-ports, transparency, etc.
Stars: ✭ 83 (+538.46%)
Mutual labels:  ascii-graphics
outfancy
Python3 library to print tables in Terminal.
Stars: ✭ 47 (+261.54%)
Mutual labels:  ascii-graphics
asciiarena
Terminal multiplayer deathmatch game
Stars: ✭ 34 (+161.54%)
Mutual labels:  ascii-graphics
PyRates
Open-source, graph-based Python code generator and analysis toolbox for dynamical systems (pre-implemented and custom models). Most pre-implemented models belong to the family of neural population models.
Stars: ✭ 33 (+153.85%)
Mutual labels:  fortran90
fortran-legacy-tools
Three tools to deal with Fortran code: fixed to free source form converter, upper- to lowercase converter, formatter for variable declarations
Stars: ✭ 40 (+207.69%)
Mutual labels:  fortran90
Guided Missile Simulation
Guided Missile, Radar and Infrared EOS Simulation Framework written in Fortran.
Stars: ✭ 33 (+153.85%)
Mutual labels:  fortran90

ASCII-Donut-Fortran

The classic ASCII spinning donut, written Fortran

How it looks:

Scale = 1:

Scale 1

Scale = 3:

Scale 3

Compilation:

  • make to compile (output binary is donut.out)
  • make run to compile and run

Playing around

  • Change the scale parameter to increase the size (You might have to decrease terminal font size accordingly) for "higher resolution"
  • Change the speed parameter to change the speed of the spinning
  • Anything else

Suggestions and improvements highly welcome :)


Note:

The performance difference between ifort and gfrotran is due to gfortran's lack of output buffering for non regular files. Program compiled with gfortran calls write for every character, which significantly decreases the performance.

Intel fortran compiler doesn't flush the output buffer until it enounters LF (\n) character. Line 65 is added for this purpose


References:

https://www.a1k0n.net/2006/09/15/obfuscated-c-donut.html

https://www.a1k0n.net/2011/07/20/donut-math.html

https://gist.github.com/gcr/1075131

https://github.com/RandomThings23/donut/blob/main/donut.c


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].