【文件属性】:
文件名称:buddhabrot:用 Go 编写的 Buddhabrot 生成器
文件大小:308KB
文件格式:ZIP
更新时间:2021-07-12 07:51:47
Go
佛陀
用 Go 编写的简单 buddhabrot 生成器。
要求
渲染器使用 SDL。 在 Mac 上,您可以通过自制软件安装库:
$ brew install sdl
$ brew install sdl_image
$ brew install sdl_ttf
安装
$ go get ./...
$ go install
用法
$ buddhabrot ~/buddha.png
这将打开一个窗口并或多或少地实时显示渲染进度。 当您对最终结果感到满意时,只需关闭窗口,图像就会保存到给定的文件中。
NAME:
Buddhabrot - generate buddahbrot fractals
USAGE:
Buddhabrot [global options] command [command options] [arguments...]
VERSION:
【文件预览】:
buddhabrot-master
----.gitignore(10B)
----utils.go(1KB)
----SourceSansPro-Black.otf(120KB)
----main.go(1KB)
----buddhabrot.go(4KB)
----readme.md(1KB)
----example.png(234KB)
----render.go(4KB)