Login
You're viewing the code4lib.social public feed.
  • Nov 19, 2026, 8:05 AM

    It's very simple but it already has a 2D equivalent, where you add child squares to a square.

    Instead we can add child tetrahedra to a tetrahedron, placing one in the centre of each face with half the edge length, just like the Koch snowflake does.

    This is a tree-solid, it is a tree that self-contacts to fill space and so form a solid, with the limit set being just a cube.

    However, the limit-set of the boundary is not a cube, it forms a void-shell, meaning it has no volume (being a boundary) and is a shell, so encloses a tree.
    (3/7)

    0,1,2 and n'th iteration of the tetrahedral Koch snowflake.
    💬 1🔄 0⭐ 0

Replies

  • Nov 19, 2026, 8:12 AM

    That's a much closer 3D equivalent, but I think we were all hoping for something nice and spikey like the Koch snowflake is in 2D. One way to achieve this is to make the added tetrahedron smaller, for instance by subdividing each triangle into 16 smaller ones and adding the extra tetrahedron on the central triangle.

    This generates a tree structure, specifically a tree-tree meaning it is a tree whether the boundary is included in the solid or not. This is what we think of as a standard tree- a hierarchy of protrusions. The 2D Koch snowflake is also a tree.
    (4/7)

    0,1,2 and n'th iteration of adding a smaller tetrahedron to each tetrahedron face.
    💬 1🔄 0⭐ 1
  • Nov 19, 2026, 8:16 AM

    This is nice but the child is a bit small compared to the parent. Instead we can use a larger child tetrahedron, in fact one that has edge length one half of the parent's, just like the Koch snowflake has.

    The downside is that it overlaps itself, making it technically a sponge (it has handles).
    (5/7)

    0,1,2 and n'th iteration of larger tetrahedron version of koch snowflake.
    💬 1🔄 0⭐ 2
  • Nov 19, 2026, 8:21 AM

    One way to keep the same relative scaling as the Koch snowflake while reducing the chance of overlap is to stick the added child tetrahedron farther from the grandparent, in this version the added tetrahedron is glued to the peak of the pyramid on all three sides.

    It looks very spiky and 'Koch snowflakey', but unfortunately it has some slight overlaps, making it also a sponge in terms of classification.
    (6/7)

    0,1,2 and n'th iteration of this 'pyramid peak' version of the Koch snowflake.
    💬 1🔄 0⭐ 1
  • Nov 19, 2026, 8:26 AM

    It *is* possible to get large children with no overlap, and we can keep another nice property of the Koch snowflake too, that its bend angle is a free parameter.

    But you lose a couple of things... the shape gluing on is a rhombus-based pyramid, and it isn't in the centre of each facet.

    Nevertheless, it is a tree just like the Koch snowflake, so this one is my favourite 'snowball', it even has a bit of a puffier appearance. The image below is for the largest bend angle before self-contacting.

    For more on this one: tglad.blogspot.com/2012/11/vol
    and an interactive viewer: glslsandbox.com/e#4851.17

    And here are a couple of other 3D shapes that are inspired by the Koch curve (rather than the Koch snowflake):
    Developable surface: tglad.blogspot.com/2016/09/foi
    'Delta' fractal (a void-sponge): commons.wikimedia.org/wiki/Fil
    (7/7)

    0,1,2 and n'th iteration of variable angle pyramidal recursive shape.
    💬 0🔄 0⭐ 3