Testing/debugging the dynamic tessellation feature of the upcoming thi.ng/geom-webgl interop package... This will provide a single polymorphic function to convert https://thi.ng/geom shapes into WebGL binary data & model/attribute specs, with lots of options for memory layout, indexing, instancing and other advanced usage...
By default (and as shown here), polygons are tessellated via ear cutting[1], but users have a choice of 9 other algorithm presets (or their own custom ones), incl. iterative application of multiple tessellation strategies..
As part of the work on the upcoming thi.ng/geom-webgl package, today I've also been completely rewriting all tessellators in https://thi.ng/geom-tessellate and extending the package with more features, incl. an adapted version of https://github.com/mapbox/earcut to handle complex polygons (with holes, but can also be combined/nested with all the other tessellators, incl. the non-triangular ones)...
Instead of producing an array of faces (each itself an vertex array), all tessellators are now producing/populating/adding to a single tessellation, consisting of a vertex array and another array of face vertex IDs. This makes the result much more flexible for a number of use cases, incl. WebGL/WebGPU conversion.
Very happy with how the new API for both packages is turning out. The last image shows the source code for generating a single frame of the "SB" anim, starting with parsing two SVG paths, grouping & fitting them into a target bounding rect, then tessellating the entire group, rebuilding a new group from the resulting triangles, and finally serializing everything to SVG. For WebGL, there'll be a single asWebGLModel() function which performs shape tessellation automatically behind the scenes (fully configurable, though)...
Added a convolution kernel filtering operator for polygons/polylines to https://thi.ng/geom, incl. some useful preset kernels: box filter, triangle, gaussian, all with configurable size...
The image shows effects of various kernel sizes & iterations. Unlike with subdivision smoothing, here each version has the exact same number of vertices, only their positions are impacted: orange = box, magenta = triangle, blue = gaussian
(For now the operator is only implemented for polygons (also w/ holes) & polylines, but can be extended to other shape types...)
So many new and improved features (+ new shape types) coming to https://thi.ng/geom (more about those soon) — for now a new tiny example to show point classification (inside/boundary/outside) for polygons:
Scientists calculate that four specific tests (out of almost 500) were responsible for the majority of the radioactive fallout deposited downwind of the Polygon nuclear test site in Kazakhstan (the primary test site of the former USSR).
🇯🇵#Japan’s largest bank Megabank Mitsubishi UFJ Financial Group (MUFG) has announced its stablecoin issuance platform Progmat Coin that would be used to issue local bank-backed stablecoins on multiple public #blockchains.
About to rip #polygon out of my #rss reader. They keep posting #zelda walkthroughs piece-by-piece every fucking hour since before that damn game came out and I'm tired of wading through it.
I'm not one for "New Year's resolutions", but I am one for overly ambitious projects.
For 2023, Project365 is "One New Game Per Day".
Given that I have 634 unplayed games in my Steam account and {mumble} unredeemed bundle Steam keys, there's a reason my unplayed collection is tagged "Pile of Shame".
I'll pin this to my profile, and give a brief summary here each day (or x, if I miss x days due to work or stuff).
I'll play 15-30 minutes of (at least) one new game I've never played before (or played less than 15 minutes of). I'll give every game at least 15 minutes, even if I hate every minute of it.
I'm also open to suggestions; if you reply to this thread with a game, I'll schedule it, or tell you what I thought of it.
One of the things that's come up is that I have a bunch of games that I've played once, and not touched again.
OC Chainlink Surges 10% as Polygon's Loss Becomes its Gain (cryptotale.org)
Chainlink's 10% surge contrasts with Polygon's decline, reflecting evolving investor sentiments and market dynamics.
World of Warcraft’s 3-expansion Worldsoul Saga announced at BlizzCon (www.polygon.com)
Overwatch 2’s new tank hero leaks ahead of BlizzCon 2023 reveal (www.polygon.com)