Skip to content

XinArkh/Sierpinski-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sierpinski triangle

Sierpinski triangle, or Sierpinski gasket, is a fractal set with the overall shape of an equilateral triangle, subdivided recursively into smaller equilateral triangles.

This project gives a simple implementation of Sierpinski triangle in 2D and 3D respectively, using OpenGL (freeglut).

Environment

  • Visual Studio 2017
  • freeglut-MSVC-3.0.0-2.mp

Usage

A x64 release is uploaded to this repository, try it free.

To access source code, open ./Sierpinski.sln with Visual Studio.