{"push_id":1158064552,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"59bdf5c5b8e69f19daeb379c649ae5e372f6f680","before":"6381b91f015d12a3ea1643e0ddc1f337f8f8a2b3","commits":[{"sha":"e2ce1a87beda263327516a0a5fecef5d49848076","author":{"name":"Martin von Gagern","email":"15f462045e37cf4ca5892c6b2a6f1df9f57d0296@ma.tum.de"},"message":"Switch from initial behavior representation to Cinderella-like\n\nThe original format for behavior settings is considered suboptimal.  The\nfact that each behavior element may refer only a single geometric element\nmakes this less flexible than the Cinderella approach where each behavior\ncan refer to multiple geometric elements.  Furthermore, the nested behavior\nobject served no purpose, since all it contained could just as well be\nrepresented one level higher.\n\nThe new format is already in use by Cinderella, so this commit makes\nelementary things work if exported from Cinderella.  It also makes loading\nexported files more robust, since it handles unknown behavior types more\ngracefully and also allows e.g. ommission of a default environment.\n\nThe old syntax is rewritten to the new on the fly, so backwards\ncompatibility is preserved.  Examples haven't been rewritten yet.","distinct":true,"url":"https://api.github.com/repos/CindyJS/CindyJS/commits/e2ce1a87beda263327516a0a5fecef5d49848076"},{"sha":"f5ed1d52851b81d5577b509f2d114acba239d308","author":{"name":"Martin von Gagern","email":"15f462045e37cf4ca5892c6b2a6f1df9f57d0296@ma.tum.de"},"message":"Flip sign of gravity\n\nSince gravity is a quantity, not a vector, it may make more sense to\nassociate positive numbers with the more common “down” direction, even if\nthis is opposite to the geometric y axis.  That's what Cinderella does, so\nthis change of sign improves interoperability with Cinderella.  The code\nhandling the legacy syntax can take care of a legacy sign adjustment as\nwell, thus maintaining backwards compatibility.","distinct":true,"url":"https://api.github.com/repos/CindyJS/CindyJS/commits/f5ed1d52851b81d5577b509f2d114acba239d308"},{"sha":"116059a57e597b73b9f47c0d0dba0b248c5ecb98","author":{"name":"Martin von Gagern","email":"15f462045e37cf4ca5892c6b2a6f1df9f57d0296@ma.tum.de"},"message":"Support Velocity behavior\n\nContrary to the velocity used in current CindyJS examples, where vx/vy have\nbeen specified in the JSON data, Velopcity behavior as exported from\nCinderella entails a line segment which represents a velocity vector.\n\nThis entails a split between “init” and “reset” for lab objects.  “init” is\nperformed at load-time, and may not query other behaviors since they may not\nbe initialized yet.  “reset” is performed before a simulation is started,\nand will reset all physical properties to an appropriate state.","distinct":true,"url":"https://api.github.com/repos/CindyJS/CindyJS/commits/116059a57e597b73b9f47c0d0dba0b248c5ecb98"},{"sha":"59bdf5c5b8e69f19daeb379c649ae5e372f6f680","author":{"name":"Michael Strobel","email":"f5b9513c45a95e3b021c8011c8272665a7cbf06d@ma.tum.de"},"message":"Merge pull request #357 from gagern/physics\n\nPhysics from Cinderella","distinct":true,"url":"https://api.github.com/repos/CindyJS/CindyJS/commits/59bdf5c5b8e69f19daeb379c649ae5e372f6f680"}]}
{"actor":{"display_login":"strobelm"}}