grow:用于模拟树生长JavaScript L系统实现

  • E4_820508
    了解作者
  • 228KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-03 11:20
    上传日期
grow.js Grow.js是的简单javascript实现,基于》一书。 大约阅读了两章,我对此感到非常兴奋,不得不尝试构建自己的模拟器。 支持 到目前为止,仅在Firefox 5,Chrome 12-13和Safari 5上进行了测试。 可以通过spec.html页面运行非常少量的测试。 技术领域 该项目使用HTML5的canvas元素进行绘制,并使用localStorage来保存和加载预设,但是Javascript的大部分构建在以下方面: 和 用于解析 用于CommonJS依赖项管理 Jquery ui主题 测试 现代性 HTML5样板
grow-master.zip
内容介绍
grow.js ======= Grow.js is a simple javascript implementation of a [Lindenmayer System](http://en.wikipedia.org/wiki/L-system) based on the book [The Algorithmic Beauty of Plants](http://algorithmicbotany.org/papers/#abop). About two chapters into reading this, I got so excited about it I had to try building my own simulator. * [http://bit155.com/projects/grow](http://bit155.com/projects/grow) * [http://bit155.com/projects/grow/spec.html](http://bit155.com/projects/grow/spec.html) Support ------- Only tested on Firefox 5, Chrome 12-13 and Safari 5 so far. A very small set of tests can be run via the `spec.html` page. Technologies ------------ This project uses HTML5's `canvas` element to do the drawing, plus `localStorage` for saving and loading presets, but the bulk of the Javascript is built upon the shoulders of: * [Backbone](http://documentcloud.github.com/backbone/) and [Backbone.localStorage](https://github.com/valentin-nemcev/Backbone.localStorage) * [PEG.js](http://pegjs.majda.cz/) for parsing * [yabble](https://github.com/jbrantly/yabble) for CommonJS dependency management * [underscore](http://documentcloud.github.com/underscore/) * [jquery](http://jquery.com/) * [jquery-ui](http://jqueryui.com/) * [Aristo](https://github.com/taitems/Aristo-jQuery-UI-Theme) jquery ui theme * [Jasmine](http://pivotal.github.com/jasmine/) for testing * [modernizr](http://www.modernizr.com/) * [HTML5 Boilerplate](http://html5boilerplate.com/)
评论
    相关推荐