Josh Pullen

Results 120 comments of Josh Pullen
trafficstars

> We can always make a compatability wrapper (polyfill!) to implement 2.0-ish weird behaviour. This sounds great in theory, but I'm curious how it would look from the user's end...

This is already sort of a thing with the `` by default. The canvas has a `width` and `height` which determine the "Scratch-space" coordinates, but then the resulting image can...

**This would be fantastic!** I don't know anything about WebGL (other than, at a very high level, what it is), but I would love to learn! I had pretty much...

Interesting. How heavy is PixiJS? I really like the idea of keeping scratch-js super lightweight. I also hadn't considered that switching to WebGL makes the source code more difficult for...

Yo! This is great! I'm not at a computer right now, so I can't run the code (easily), but everything that I can see looks awesome. Your code looks great,...

For point one, we could also use a [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map), which gives us most of the benefits of both an Object and an Array. Not sure if it's the right choice,...

Interestingly, the WebGL renderer is much slower for [the project on the homepage](https://scratch-js.now.sh/?id=345789566) than the canvas-based renderer. This more accurately matches the behavior of Scratch, but that's not necessarily what...

The Chrome profiler seems to indicate that drawing pen lines strains the GPU pretty badly.

@adroitwhiz What would it take to add support for "if touching edge" and "if on edge, bounce"? The fact that these blocks are missing seems to be tripping some people...