This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -i | |
# Draws a mandelbrot set. | |
# Author: Benjamin Staffin | |
# | |
# Modifications by Elias Mårtenson to remove dependency on the terminal type | |
# | |
# Simulates floating point by using big integers. Flagrantly uses two integers | |
# instead of complex numbers. I couldn't be arsed to calculate infinity limits | |
# of logarithmic functions in bash, so this just uses escape time values for | |
# colors. |