mvicky2592

Results 13 comments of mvicky2592

@wwwld1 I think `keyIsDown` should also accept keys with names longer than one character such as "arrowUp", "command", and "space"

@lee2sman There is a project like this already. "q5" that's just a reimplementation of p5.js' 2D api and doesn't have any other dependencies, though unfortunately it lacks friendly error support....

@limzykenneth thanks for this visual! Open type is only necessary for webgl right? So webgl+opentype take up like 40%. Indeed, FES seems to be the next largest segment. It'd be...

I like @mattdesl's suggestion of one function `load` could be used to load any kind of files. There's no need for a separate `load.all` function though. `load` could just accept...

@davepagurek @nickmcintyre @limzykenneth The existing `preload` system is perfectly designed on the user end for beginners. I'm strongly against dropping it for the sake of "progress". If `setup` will be...

@nickmcintyre Even doing that with an array is still not as simple as directly assigning vars with `preload`. Why would we add complexity to the p5 user experience if the...

@nickmcintyre Teaching students to load assets sequentially for simplicity's sake is, by your own admission, an [anti-pattern](https://en.wikipedia.org/wiki/Anti-pattern) they'll need to unlearn later. I concede that for the typical amount of...

@davepagurek Yeah my vote is having `preload` and `async setup` co-exist, there's no technical reason that couldn't be the case as far as I can tell. Also I assumed since...

@davepagurek Ah yeah I forgot about that idea. For functions like `loadImage` that'd break backwards compatibility with lazy loading in setup as I previously said but with a new function...

@limzykenneth I think users will be happy with this new approach! Your option 2 would be the best imo, having WebGL rendering as an addon. Would help with minimizing the...