Commit graph

25 commits

Author SHA1 Message Date
evancz
b96b240c47 Make rotations counter-clockwise, just like the unit circle. Now trig functions and rendering functions match each other. 2013-05-14 19:28:36 +02:00
evancz
b04e97a449 Get resizes working for collage. 2013-05-14 16:29:35 +02:00
evancz
d5a099fe85 Get the stops to show up properly. 2013-05-13 22:22:46 +02:00
evancz
e1425af666 Support toForm in all cases. 2013-05-13 16:38:23 +02:00
evancz
dc3b220fce Fix group and groupTransform 2013-05-11 13:00:03 -07:00
evancz
bb2f028bde Significant refactor of Collage.js renderer. Now supports toForm.
The `update` function is naive, leading to very bad memory performance. Need to finish improving that part.
2013-05-11 12:35:39 -07:00
evancz
5b475ac2a0 Begin getting things ready to support toForm 2013-04-19 01:59:39 -07:00
evancz
a764f68646 Get rid of memory leak caused by creating tons of canvases. 2013-04-18 22:25:39 -07:00
evancz
22890292b8 Correct resizing problems with static elements. Previously, no property updates occurred. 2013-04-07 17:57:57 -07:00
evancz
2aeeae7239 Fix rendering of lineJoin. 2013-03-26 19:31:31 -07:00
evancz
9a40392e00 Fix bugs in container and an empty flow 2013-03-26 00:12:31 -07:00
evancz
545be51678 Fix behavior of customButton to avoid flicker. 2013-03-24 22:23:30 -07:00
evancz
24c90b3673 Fix rendering bug with standard input buttons. 2013-03-24 19:48:27 -07:00
evancz
9962ded3e2 Remove logging. 2013-03-24 19:20:52 -07:00
evancz
b930ac2984 Add implementation for buttons, customButtons, and textFields.
Also fix updating bug in `flow`.
2013-03-24 19:19:30 -07:00
evancz
893e4691e6 Add groupTransform function.
Add public Matrix library. Clean up and debug matrix implementation.
2013-03-23 23:54:00 -07:00
evancz
e80f19b423 Fix move to have y-axis properly oriented.
Fix rotations (`degrees` and `turns` functions were broken because I used `Math.pi` instead of `Math.PI`...)
2013-03-23 13:20:30 -07:00
evancz
86a0a904d8 Fix oval and ngon. (It's PI, not pi!) 2013-03-22 18:27:03 -07:00
evancz
584782f5b2 Get dashed lines working again for shapes and paths.
Remove a lot of console.logs.

Start working on displaying Elements. It's trickier with group.
2013-03-22 10:36:12 -07:00
evancz
82a5a65dc9 Fix use of JS reserved word and get outline working. 2013-03-21 03:07:10 -07:00
evancz
4b8c9796a5 Add some files 2013-03-21 02:35:36 -07:00
evancz
131a2b6818 Get sprites working in collage. temporary fix for docs.json issue. Looks like git thinks we're in the past, so a bunch of changes that have already happened as well. 2013-03-21 02:29:23 -07:00
evancz
152ef51a98 Fix croppedImage, show for tuples, and init for resizing initial dom node. 2013-03-13 00:52:14 -07:00
evancz
609dc36596 Add height check and get rid of utils which was in the wrong place (i think) 2013-03-12 21:25:47 -07:00
evancz
55137ac66d Move files around in runtime/ 2013-03-12 11:06:47 -07:00