5 ms·
Sometimes ideas are just floating around, aren't they? I was thinking of very similar things lately as well. Obviously this application must be under developmen
by febeling 15y ago
Sometimes ideas are just floating around, aren't they? I was thinking of very similar things lately as well. Obviously this application must be under development for quite a while already.
One thing that I'm not totally sold on it that fact that it generates code though. It is not going to be the running application which you interactively tweak. Because that is what Bret was showing in his talk. And that is also what you would be doing in Smalltalk. I'm not sure this is as 'immediately connective' (to use a variant of Bret's language) as it seems.
Another approach to go about this would be to store the 'drawing' in a data structure and have a special view that takes it and puts it into an image (or on screen immediately). That would also open possibilities for caching, something that likely would be make sense, as other commenters have mentioned as well. Such an approach would come dangerously close to implementing/reinventing SVG, though. Another benefit of such a data structure would be that it could have some simple, textual representation. JSON maybe? Even XML would do. And that would greatly help with version control and diffing.
I don't see why such a feature could not be added to this app.
Amazing application.
- dchest 15y agoSometimes ideas are just floating around, aren't they? I think Opacity [1] was the first program with this feature (added in 2009 [2]). 1. http://likethought.com/opacity/ http://likethought.com/opacity/ 2. http://daringfireball.net/linked/2009/09/22/opacity http://daringfireball.net/linked/2009/09/22/opacity
- seclorum 15y agoI'm already doing all this with python scripts for Inkscape - draw the entire UI in Inkscape, name things in the DOM appropriately, run a few scripts -> MOAI code (Lua) or C Code (SDL_svg). Haven't quite got it ready for launch yet, but rest assured the idea is not new. There have been Inkscape exporter tools for this sort of thing for years, you just have to know where to look (inkexport, &etc.) PaintCode sure is pretty, though.