ajnirp / lsystem_go

L-systems in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Code for rendering some simple L-systems. Same as my earlier attempt in C++, but instead of using OpenGL 2, it uses the excellent GG library by Michael Fogleman. This results in renders with less aliasing.

Build

go get github.com/fogleman/gg
go build

Run

./lsystem_go

Outputs

Sierpinski triangle Sierpinski triangle output

Hexagonal gosper curve Hexagonal gosper curve output

About

L-systems in Go


Languages

Language:Go 100.0%