gomandel Mandelbrot in Golang gomandel

polaris • 2235 次点击    
这是一个分享于 的项目,其中的信息可能已经有所发展或是发生改变。
gomandel是一个用go语言写的简单的mandelbrot demo。使用OpenGL+ SDL来显示,用软件来绘制Mandelbrot。 通过使用双精度点计算一个Mandelbrot,并正常化这些值,从而使得调色板均匀分布。 ![image](http://static.oschina.net/uploads/space/2016/0316/171522_8hVM_2652078.png) ### 安装 运行以下代码安装: <pre class="brush:shell;toolbar: true; auto-links: false;">go get github.com/nfnt/resize</pre> ### 运行 在mandelbrot将 x, y 和zoom 设置成有意思的点然后运行。 <pre class="brush:shell;toolbar: true; auto-links: false;">go run mandel.go -xres 1366 -yres 768 -x -.7454 -y 0.1242 -r .005 -aa 4</pre> 将创建图像。更多选项,请参阅 <pre class="brush:shell;toolbar: true; auto-links: false;">go run mandel.go —help</pre> ### 并发 jasonmoo concurrency 现已支持。
授权协议:
GPL
开发语言:
Google Go 查看源码»
操作系统:
跨平台
2235 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传