3 ms·
Ah, I wish I had come across this two weeks ago! I've been doodling with Processing and was working on hexagonal Truchet tiles. (basically random tiles that ha
by Timothee 6y ago
Ah, I wish I had come across this two weeks ago!
I've been doodling with Processing and was working on hexagonal Truchet tiles. (basically random tiles that have paths connecting to any random tiles next to it, with hexagons as tiles instead of squares)
I ended up having to figure out some of that stuff again, in particular the coordinate system inside each tile so that I could deal with integer coordinates and translate them into the right fraction of the radius.
It was fun to figure out what I needed, so I don't regret it :)
And I am also planning on doing something with cubes, so this page will come in handy.
Thanks for sharing! I love how it covers all aspects of the problem.
Result of the tiling: https://twitter.com/_timothee/status/1330315929641570304 https://twitter.com/_timothee/status/1330315929641570304
Diagram of my coordinate system: https://twitter.com/_timothee/status/1327859098642046976 https://twitter.com/_timothee/status/1327859098642046976
- thewebcount 6y agoSweet! I love Truchet Tiles. (Did you know Truchet was a priest in the 18th century?[0]) I see that Apple's Motion has a Truchet tile generator[1], too. [0] https://en.wikipedia.org/wiki/Sébastien_Truchet https://en.wikipedia.org/wiki/Sébastien_Truchet [1] https://support.apple.com/en-afri/guide/motion/motn5d6778a0/mac https://support.apple.com/en-afri/guide/motion/motn5d6778a0/...