4 ms·
Since you're familiar with arrowlets, would you mind having a look at samsara? [samsara]: http://lcfrs.org/samsara/docs/dragndrop.html http://lcfrs.org/samsara
by luciferous 14y ago
Since you're familiar with arrowlets, would you mind having a look at samsara?
[samsara]: http://lcfrs.org/samsara/docs/dragndrop.html http://lcfrs.org/samsara/docs/dragndrop.html
- tikhonj 14y agoThat seems cool--CoffeeScript's syntax is definitely better-suited for this sort of thing than JavaScript's! The main page says the library's in CoffeeScript, but the drag and drop example uses JavaScript. Do you have a similar (or even the same) example in CoffeeScript? I'd like to see what it looks like.
- luciferous 14y agoThere are two parts to example: the plain functions, and the composition. CoffeeScript can make the plain functions look different, but the composition is the strangest looking; I need to find a better syntax for representing a directed graph in code, and CoffeeScript doesn't help with that part.