Content pfp
Content
@
0 reply
0 recast
0 reaction

Gorilla Sun 🦍🌞 pfp
Gorilla Sun 🦍🌞
@gorillasun
Spent the day exploring the Marching Squares algo, made some big progress by being able to find individual regions and their vertex information - which lets me draw all sorts of funky shapes. Not sure if this will result in anything meaningful, but might be a powerful addition to the toolbox ✨
2 replies
0 recast
13 reactions

0xbenj 🎩πŸ₯¨ pfp
0xbenj 🎩πŸ₯¨
@0xbenj
Oh nice that looks like it has a lot of potential. Didn't know about marching squares before, thx for sharing πŸ™
1 reply
0 recast
1 reaction

Claus Wilke pfp
Claus Wilke
@clauswilke
The wikipedia page on the topic is amazing. It's all fun and games when you're doing isolines but once you're moving into isobands it's getting rather complex rather quickly. https://en.wikipedia.org/wiki/Marching_squares
2 replies
0 recast
0 reaction

0xbenj 🎩πŸ₯¨ pfp
0xbenj 🎩πŸ₯¨
@0xbenj
Thx for that Claus. Must find some time to dig into it this week.
1 reply
0 recast
1 reaction

Claus Wilke pfp
Claus Wilke
@clauswilke
Check out these 800+ lines of code comprising one gigantic switch statement, for isobands. https://github.com/r-lib/isoband/blob/f9cf8cea71741027ba137d7e2f9075a3680c59d9/src/isoband.cpp#L337
1 reply
0 recast
0 reaction