Tag Archives: triangles

Make a stellate geodesic sphere with WPF and C#

Building Stellate Geodesic Spheres A stellate geodesic sphere is one where each of the sphere’s faces is replaced by a pyramid shape. You can give the pyramids whatever height you like. For example, Figure 1 shows spheres where the pyramid … Continue reading

Posted in algorithms, graphics, mathematics, wpf | Tagged , , , , , , , , , , , , , , , , , , | 1 Comment

Build a geodesic sphere with WPF and C#

Building Geodesic Spheres Building a geodesic sphere is actually pretty easy after you know how to build an icosahedron. Start by building an icosahedron as described in the post Platonic Solids Part 6: The icosahedron. Each of the icosahedron’s faces … Continue reading

Posted in algorithms, graphics, mathematics, wpf | Tagged , , , , , , , , , , , , , , | 4 Comments

Draw a triangular grid in C#

This example shows how to use a triangular grid. (In case you need to build a Tholian web or something.) Row numbers are defined in the obvious way with the first row having number 0. Column numbers are a little … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , , , , | 4 Comments

Apply textures to triangles using WPF and C#

This example shows how to apply textures to triangles to make scenes that are more realistic than those covered in solid colors. Here are the basic steps for texturing a triangle. Create a MeshGeometry3D object. Define the triangle’s points and … Continue reading

Posted in geometry, graphics, wpf, XAML | Tagged , , , , , , , , , , , , , , | 4 Comments