matthewconroy, (edited ) to mathematics
@matthewconroy@mathstodon.xyz avatar

I'm surprised it took me this long to add the Reuleuax triangle to my table of isoperimetric ratios. It's curiously close to an integer. https://sites.math.washington.edu//~conroy/isoperimetrics/isoperimetrics.pdf

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

Still only on a feature branch, but over the past few days I've been working on updating https://thi.ng/geom to add support for polygons with holes and paths with holes (or more generally support for sub-paths, e.g. multiple curves). Since both of these shape types are containers of multiple geometries and therefore require in some situations (e.g. shape conversions) different handling than the other shapes with a single boundary/geometry, adding support for these also includes updating a dozen or so polymorphic shape operators/functions and unfortunately will involve a few of breaking changes. For instance, some of these functions are returning an array of shapes now, instead of just a single one. Also related, some of the other geom support packages (e.g. https://thi.ng/geom-axidraw, https://thi.ng/geom-sdf) will have to be refactored more and partially have been already (likely only internally, though)...

As part of this work, I've also just added example (!!!) to demonstrate & test out some of this new functionality:

Demo:
https://demo.thi.ng/umbrella/geom-complex-poly/

Source:
https://github.com/thi-ng/umbrella/blob/feature/geom-complex-paths/examples/geom-complex-poly/src/index.ts

Commits:
https://github.com/thi-ng/umbrella/compare/feature/geom-complex-paths

I will of course send another update once this all has been merged & released...

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

Earlier today[1], helped my son with a raycasting issue and then ended up updating/extending the 2D shape intersection function in https://thi.ng/geom, which now also supports ray intersections with nested shape groups/hierarchies (via same single function call) and a new option to return all intersection points found (rather than just the first/closest). Both of these features are shown in a new example project (forthcoming) and in the anim below...

[1] It also was the first day of the year for us working outside on a bench in the woods, yay!

2D line art animation showing some shapes (rectangles, circles, hexagon, wavy polyline...) and a line/ray rotating anti-clockwise. The intersection points between that ray and the static shapes are highlighted as pink dots. Each dot also has a label showing the distance from the ray origin (center of image). Depending on the angle and shapes intersected, the number of intersections varies (max. approx. 10 points)

toxi,
@toxi@mastodon.thi.ng avatar
MarieMuller, to fediverse French
xalieri, to DigitalArt
@xalieri@masto.ai avatar
xalieri,
@xalieri@masto.ai avatar
xalieri,
@xalieri@masto.ai avatar
xalieri, to DigitalArt
@xalieri@masto.ai avatar
xalieri,
@xalieri@masto.ai avatar
xalieri,
@xalieri@masto.ai avatar
xalieri, to DigitalArt
@xalieri@masto.ai avatar
xalieri,
@xalieri@masto.ai avatar
xalieri,
@xalieri@masto.ai avatar
xalieri, to DigitalArt
@xalieri@masto.ai avatar
xalieri, to DigitalArt
@xalieri@masto.ai avatar
AlanC, to photography
@AlanC@pixelfed.social avatar

"At the touch of love everyone becomes a Poet" ~Plato
.

thisismyglasgow, to architecture
@thisismyglasgow@mastodon.scot avatar

The Scottish Event Campus in Glasgow just after sunset this evening. I love all those colours and shapes!

MarkMaguire, to random
mikako6, to random Japanese
@mikako6@fedibird.com avatar

Bowling alley's Orange

lacochran, to photography
dan_t, to photography
@dan_t@pixelfed.social avatar

I don't really like this fountain as a whole, but I find these blocks/steps quite interesting. No idea why....

nickharrison, to london
RafaelSalazar, to fediverse
@RafaelSalazar@mastodon.world avatar
Heliograph, to random
@Heliograph@mastodon.au avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • everett
  • magazineikmin
  • ngwrru68w68
  • ethstaker
  • thenastyranch
  • rosin
  • Youngstown
  • slotface
  • Durango
  • InstantRegret
  • kavyap
  • cubers
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • modclub
  • cisconetworking
  • mdbf
  • osvaldo12
  • GTA5RPClips
  • tester
  • khanakhh
  • anitta
  • provamag3
  • Leos
  • normalnudes
  • lostlight
  • All magazines