This repo generates a fractal image, based on code written for the Golang online tutorial.
  • Go 87.6%
  • Shell 12.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-08-06 23:36:18 -04:00
.gitignore Add and show image in repo 2025-07-20 18:07:19 -04:00
fractal.png Uploading new fractal image result 2025-07-20 18:43:39 -04:00
go-fractal.go Fixed off-by-one error in image size 2025-07-20 18:43:10 -04:00
go.mod Set module path to import path 2025-07-21 16:09:43 -04:00
README.md Fixed link to fractal.png in readme file 2025-08-06 23:36:18 -04:00
run Based off of Golang tutorial, to create fractal 2025-07-20 17:59:47 -04:00

go-fractal

This repo generates a fractal image, based on code written for the Golang online tutorial.

Equation

The formula basically boils down to:

z := (x^2 + y^2) % 256

Result