toxi, to typescript
@toxi@mastodon.thi.ng avatar

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..

[1] https://en.wikipedia.org/wiki/Polygon_triangulation

#ThingUmbrella #WebGL #Geometry #Tessellation #DebugArt #TypeScript #Gems

A random, blobby, triangulated polygon, with each triangle tinted in a random colorful gradient
A random, blobby, triangulated polygon, with each triangle tinted in a random colorful gradient
A random, blobby, triangulated polygon, with each triangle tinted in a random colorful gradient

toxi,
@toxi@mastodon.thi.ng avatar

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)...

#ThingUmbrella #WebGL #SVG #Geometry #Tessellation #Triangulation #DebugArt #TypeScript #Typography #Polygon

The letter "B" tessellated into dozens of triangles, each tinted with a randon, iridescent, rainbow colored gradient
TypeScript source code snippet to create a single frame of the anim in the previous image: // create paths/shapes from SVG definitions (truncated here) const S = pathFromSvg(

Animated GIF of the letters "SB" tessellated into dozens/hundreds of pink triangles with black wireframes

toxi, to typescript
@toxi@mastodon.thi.ng avatar

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...)

toxi, to typescript
@toxi@mastodon.thi.ng avatar
toxi, to genart
@toxi@mastodon.thi.ng avatar
JeanBaptisteEt4, to random French
@JeanBaptisteEt4@mathstodon.xyz avatar

Silly walk of polygons

chartier, to Anime
@chartier@toot.cafe avatar

Wow, did a huge 4,000 person survey of anime viewers to “demystify anime’s reach within the world of pop culture.”

https://www.polygon.com/c/2024/1/22/24034466/anime-viewer-survey-research

schizanon, to webassembly

This is exciting! No need to learn to program anymore, can be written in any language that compiles to !

> Labs and announce prover for integration

https://cointelegraph.com/news/polygon-labs-near-announce-zk-prover-wasm-integration

bojacobs, to nuclear
@bojacobs@hcommons.social avatar

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).

@histodons

fractalkitty, (edited ) to genart
@fractalkitty@mathstodon.xyz avatar

Day 21 - cyclotomic

// divide this circle
// infinite and even parts
// this - apeirogon

https://codepen.io/fractalkitty/pen/OJdJmWd/fa3fa50aa550a582c15755a973392898

fractalkitty, to procreate
@fractalkitty@mathstodon.xyz avatar

Mathober day 19 - diagonal (I caught up!!! wooo!)

//we have vertices
// that connect by going through
// our innermost self

travisromany, to Undertale

is a new game with lots of buzz & great reviews (91 on ).

It feels like and .

Dave dives for fish during the day & runs a sushi bar at night.

That’s fun enough, but it adds lots of quirky mini games, beautiful cutscenes, and funny characters.

As the reviewer wrote, it’s not a difficult game but you just want to see what it does next.

The simple style and calm gameplay loop make it perfect for .

https://www.ign.com/articles/dave-the-diver-review

Dave the Diver on Steam Deck: Dave on a fishing boat in a pixel style world.
Dave the Diver on Steam Deck: Dave and customers in a pixel style sushi bar.
Dave the Diver on Steam Deck: Dave under water in a pixel style setting.

anatudor, to webdev
Decentralize, to random
@Decentralize@dt.gl avatar

🇯🇵’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 .

The stablecoins will be issued on several blockchains, including , , and

AdmiralFrosty, to random

About to rip out of my reader. They keep posting walkthroughs piece-by-piece every fucking hour since before that damn game came out and I'm tired of wading through it.

grissallia, to gaming
@grissallia@aus.social avatar

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.

Unplayed games: #NewPlay
Trying a game again: #RePlay
Going live on Twitch: #GrissGames

I'll hashtag these with #Project365ONG so you can mute it if you're not interested.

#Project365 #Gaming

grissallia,
@grissallia@aus.social avatar

November 25, 2023 - Day 328 - NewPlay Review
Total NewPlays: 348

Game: DeadPoly

Platform: Steam
Release Date: Jan 13, 2022
Installation Date: Oct 23, 2023
Unplayed: 2d
Playtime: 47m

DeadPoly is a polygon-based zombie survival looter-shooter.

It's in early access; the dev seems quite active, but has recently rebuilt the entire game.

I don't want to judge it too harshly, because it has just been completely rebuilt, and the dev is working solo.

The bones of an interesting zombie survival game are there, and even with that it managed to keep me interested for 40-odd minutes.

DeadPoly is:

3: OK

Crecenteb, to VideoGames

Hi hi Mastodon #introduction / #introductions. I'm Brian, founder of #Kotaku, co-founder of #Polygon, former #videogames ed for #Variety and #RollingStone. These days I'm a consultant in the #videogame industry and help produce editorial for @EpicGames and podcasts for #LEGO Follow me for the good stuff!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • ethstaker
  • JUstTest
  • modclub
  • GTA5RPClips
  • khanakhh
  • tacticalgear
  • Durango
  • rosin
  • normalnudes
  • Leos
  • provamag3
  • tester
  • cubers
  • anitta
  • lostlight
  • All magazines