atmt
Re:P5.js: Processing for today’s web
on Thursday August 07, 2014 @06:46PM (#8150517)
haha, I see that the context is cached now ;)
Re:P5.js: Processing for today’s web
on Thursday August 07, 2014 @11:12AM (#8148088)
For sure, the initial barrier is really low, but when it comes to actually building stuff with it, you still have to deal with the js way of doing it, handling classes, obviously totally not like the java counterpart, or collecting your projects resources in script tags, which is messy. At some point you also have to drop the global methods, which seems to be the obvious first benefit.
Im just not sure if teaching a dogmatic processing like way is the way to go in js, or general
Re:P5.js: Processing for today’s web
on Thursday August 07, 2014 @10:52AM (#8147983)
hm, im not sure what to think about this. Despite beeing another 'framework/library' that promises to ease the learning curve for non programmers to produce graphics, i do not fully understand why using it should be
more easier than drawing to blank 'raw' canvas element with a bunch of wrapped drawing methods.
Eg. why do i need to an 'updatePixels' wrapper of putImageData, just to ensure syntax equality, overall the abstraction layer just seems really thin. Should we not accept that every platform has its own tools, and stop
making the ultimate crossplatforn artist drawing framework. Wouldnt it be better to accept the languages own features and try building stuff on top of that, instead of trying to mimic another language, also without considering the target languages limits (eg. p5.js isnt caching anything, constantly getting context via getContext('2d') is just slow...).
sorry for the rant