Michael Fogleman
Michael Fogleman
Yeah looks like the image loader I'm using supports 16-bit PNGs and PSDs: https://github.com/fogleman/hmm/blob/master/src/stb_image.h#L7248-L7259
Good catch! I pulled up the code and look what I found: https://github.com/fogleman/ribbon/blob/master/ribbon/ribbon.go#L286 I can look into it. What are you doing with the code? I'm excited to see someone...
This might be your problem: https://twitter.com/WEREMSOFT/status/1286317465941823488 > Ok, the problem was that wasm has diferent sizes for data types. There was an overflow issue. The solution was to change the...
@nigeltao Any pointers on where to look? See the referenced `gg` issue. We get this error when trying to use an emoji font, such as Apple Color Emoji.ttf: panic: freetype:...
Well, emojis would be weird without color.
Not currently, although it wouldn't be terribly difficult to do.
https://github.com/fogleman/pack3d/blob/master/cmd/binpack/main.go#L75 If you filter out these rotations for the model that you want to lock, and only use the identity matrix, it should work.
The loop right outside that one is looping over filenames passed in on the command line. https://github.com/fogleman/pack3d/blob/master/cmd/binpack/main.go#L58
From now on, I'm going to refer to JSON as "the JSON".
Hacky: Before returning a color on this line... https://github.com/fogleman/primitive/blob/master/primitive/core.go#L33 ...return a different color instead, perhaps by choosing the nearest from a palette. For example, you can add this snippet before...