Spirographs and SVGPublished 03 April 2016
- You have to just download the .rb file in lib, as it seems not to work as a gem install.
- It needs mimemagic- you can install it with
gem install mimemagic
- It doesn’t work, at least on my system, because it does not look at the right paths. I fixed this by editing the file; you can download my edited version here. Again, this needs to go into the _plugins directory.
Two little examples I put together:
A little physics thing. Try clicking on the background and on the objects. If you look at the code, the ‘TEST’ image is in there as a large base64 blob.