nokogiri templates for html5/svg tessellations
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Gemfile
Gemfile.lock
README.md
cm.rb
cmm.rb
p1.rb
p2.rb
p3.rb
p31m.rb
p3m1.rb
p4.rb
p4g.rb
p4m.rb
p6.rb
p6m.rb
pg.rb
pgg.rb
pm.rb
pmg.rb
pmm.rb

README.md

SVG Tessellation Generators

These are the ruby generators of the tessellations that appeared in in the book SVG Tessellation. It is easy to run these on the cloud 9 ide. Just run

bundle install

and then you can generate a tessellation by running its corresponding ruby file

./p6m.rb

which will produce a 'output.html' file. A gem and cli options are in the works but these files just match the code in the book using a sparse number of ruby features. Expect a better api soon.

pry

pry is included to make debugging and experimenting with the tessellations easier. Insert a:

binding.pry

anywhere below

require 'pry'

to explore/modify the tessellation while it is being generated.

jruby

Should be resolved soon but these do not run under jruby's native (Xerces) nokogiri. The gem version of this library will centainly support jruby.