premasagar / pablo

Pablo is a lightweight, expressive JavaScript SVG library. Pablo creates interactive drawings with SVG (Scalable Vector Graphics), giving access to all of SVG's granularity and power.
https://pablojs.com
MIT License
413 stars 16 forks source link

Allow `transform` to accept a value function that returns an array of values #86

Open premasagar opened 10 years ago

premasagar commented 10 years ago

e.g.

collection.transform('rotate', function(){ return [45, 50, 60]; });