Generating a Triangular Grid in Processing
Learn how to generate a triangular grid, create walls, connect the triangular cells and render the cells in this Processing tutorial, using the Java programming language.
In geometry, a triangular grid is formed by tiling a plane with equilateral triangles, where each cell has exactly 3 neighbours. The triangles used to form the grid must be equilateral, meaning all sides are equal in length and all angles are 60 degrees.
Because the internal angle of the equilateral triangle is 60 degrees, 6 triangles at a point occupy a full 360 degrees. The triangular tiling has Schläfli symbol of {3,6}.
A triangular grid, is also known as triangular tessellation. It is also one of the three regular tilings of the Euclidean plane. It is the only such tiling where the constituent shapes are not parallelogons.
Learn how to generate a triangular grid, create walls, connect the triangular cells and render the cells in this Processing tutorial, using
Triangle grid with connected rendered lines and circles only
Triangle grid with connected rendered lines only










