adroitwhiz

Results 49 comments of adroitwhiz

I considered `Map`s too, but they can't be reordered which kinda defeats the purpose of using them for layering.

In order to calculate tight bounding boxes around sprites, costumes' convex hulls will need to be generated. Because the shape of the convex hull depends on the effects applied to...

A lot of the "is" functions (`isUndefined`, `isNumber`, `isString`, etc.) can be replaced with `typeof` checks. In addition, there are certain functions like `values` (and several "is" functions) that are...

I've done some work in [this branch](https://github.com/adroitwhiz/two.js/commits/deunderscorify)

`/[+-]?(?:\d*\.\d+|\d+)(?:[eE][+-]\d+)?/g` should do it: ```regex [+-]? optional sign (?: non-capturing group \d*\.\d+| zero or more digits, followed by decimal point, followed by one or more digits, or... \d+ one or...

A lot of these SVGs look too complex to be tested with the "deep equals" pattern that seems to have been used so far. Is SVG interpretation working well enough...

My main concern is with TypeScript. If we're expecting everyone to write JS since that's what projects are converted to, the existing way works perfectly fine. If anyone wants to...

> Was it part of your goal to (eventually) introduce editor integration for Leopard's type annotations into those generated projects? Or are the type annotations only for internal consistency, a...

I think there might be a way to better integrate this with TypeScript--I'll have a go at a prototype implementation soon