An open API service indexing awesome lists of open source software.

https://github.com/hakolao/ascii_mandelbrot

Print Mandelbrot in ascii in terminal
https://github.com/hakolao/ascii_mandelbrot

Last synced: 8 months ago
JSON representation

Print Mandelbrot in ascii in terminal

Awesome Lists containing this project

README

          

# Ascii Mandelbrot
A quick fun script that prints ascii mandelbrot.

## Usage
```
gcc -Wall -Wextra -Werror -o ascii_mandelbrot mandelbrot.c
./ascii_mandelbrot [width] [height]
```

Example at w: 50, h: 25
```
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!""""""""""""""""""""!!!!!!
!!!!!!!!!!!!!!!!!!!!!"""""""""""""""""""""""""""!!
!!!!!!!!!!!!!!!!!!""""""""""""""""""""""""""""""""
!!!!!!!!!!!!!!!!""""""""""""""""""""""""""""""""""
!!!!!!!!!!!!!!""""""################""""""""""""""
!!!!!!!!!!!!!"""##########$$$$%&+&%$$###""""""""""
!!!!!!!!!!!!""##########$$$$%%'*L7(%%$$###""""""""
!!!!!!!!!!!"#########$$$$%&'''*&&&*(&&&$####""""""
!!!!!!!!!!"########$$%%%&&)&E&&&&&&&&&K'%####"""""
!!!!!!!!!!####$$$&.'''''(+X&&&&&&&&&&&&)%$####""""
!!!!!!!!!"#$$$%%%')&&H,&&&&&&&&&&&&&&-%$$###""""
!!!!!!!!!$%$&&&'*24&&&&&&&&&&&&&&&&&&&&&%$$####"""
!!!!!!!!!$%$&&&'*24&&&&&&&&&&&&&&&&&&&&&%$$####"""
!!!!!!!!!"#$$$%%%')&&H,&&&&&&&&&&&&&&-%$$###""""
!!!!!!!!!!####$$$&.'''''(+X&&&&&&&&&&&&)%$####""""
!!!!!!!!!!"########$$%%%&&)&E&&&&&&&&&K'%####"""""
!!!!!!!!!!!"#########$$$$%&'''*&&&*(&&&$####""""""
!!!!!!!!!!!!""##########$$$$%%'*L7(%%$$###""""""""
!!!!!!!!!!!!!"""##########$$$$%&+&%$$###""""""""""
!!!!!!!!!!!!!!""""""################""""""""""""""
!!!!!!!!!!!!!!!!""""""""""""""""""""""""""""""""""
!!!!!!!!!!!!!!!!!!""""""""""""""""""""""""""""""""
!!!!!!!!!!!!!!!!!!!!!"""""""""""""""""""""""""""!!
!!!!!!!!!!!!!!!!!!!!!!!!""""""""""""""""""""!!!!!!
```