coffeetree

所属分类:人工智能/神经网络/深度学习
开发工具:CoffeeScript
文件大小:10KB
下载次数:0
上传日期:2015-01-13 00:53:06
上 传 者sh-1993
说明:  将毕达哥拉斯树渲染到画布上
(render the Pythagoras tree onto a canvas)

文件列表:
Cakefile (221, 2015-01-13)
MIT.LICENSE (1058, 2015-01-13)
lib (0, 2015-01-13)
lib\tree.js (11129, 2015-01-13)
spec (0, 2015-01-13)
spec\treeSpec.coffee (3994, 2015-01-13)
src (0, 2015-01-13)
src\tree.coffee (9265, 2015-01-13)
test (72, 2015-01-13)
tree.html (873, 2015-01-13)

Construct a copy of the Pythagoras tree and display it on an html5 canvas. Organized to exploit the correspondence between squares in the Pythagoras tree and tree data structures. Written in CoffeeScript (http://jashkenas.github.com/coffee-script/) Inspired by Buddhabrot (http://jashkenas.s3.amazonaws.com/misc/buddhabrot/buddhabrot.html) uses jasmine-node (https://github.com/mhevery/jasmine-node) for unit testing -run tests with: node lib/jasmine-node/cli.js . --coffee --verbose unit tests require npm packages coffee-script and jasmine-node -get by running in repository root: npm install coffee-script npm install jasmine-node npm is available at https://github.com/isaacs/npm

近期下载者

相关文件


收藏者