Truchet Tiling with Octagons in p5.js
Truchet tiles are tiles that can be rotated and create patterns as a result. In my last two videos we went over tiling with squares and hexagons. This time we go over tiling with octagons in p5.js. creative coding, gen art, generative art.
Join my Discord: https://discord.gg/FSW6zzU
Follow me on Twitter: https://twitter.com/SteveMakerspace
Code used in this video:
https://editor.p5js.org/StevesMakerspace/sketches/gP-H8kRKp
Collection of Truchet tile code:
https://editor.p5js.org/StevesMakerspace/collections/Yqck5LnRD
My video on square Truchet tiles:
https://youtu.be/99Hr8lpWWSg
My video on tiling with hexagons:
https://youtu.be/Qwb2VYrN-us
Peter Kagey's article on hexagonal and octagonal Truchet tiling:
https://blog.peterkagey.com/2021/02/regular-truchet-tilings/
Kusamehewa's article on their fxhash tiling:
https://www.fxhash.xyz/article/paper-cut
Right triangle math:
https://www.omnicalculator.com/math/right-triangle-side-angle
Music:
Funk Down (Sting) by MK2 (theme)
0:00 Intro and start
2:50 Octagon math
4:32 Back to the code
10:11 Two art projects