After each section of practicals we have been given a challenge to create a sierpinski gasket.
(Wikipedia link for those interested - http://en.wikipedia.org/wiki/Sierpinski_triangle)
My first challenge was to create a point based sierpinski gasket.
Point based sierpinski gasket |
After learning how to create vertex arrays to draw triangles, the next challenge was to create a sierpinski gasket using triangle sub divisions.
2D sierpinski gasket |
Currently i am working on creating a 3d sierpinski gasket using tetrahedrons. This is proving to be a lot more tricky than i thought it would have been and i cant quite get the maths correct in my code.
Broken 3d sierpinski gasket |
Email: 10004794@napier.ac.uk - Please put blog in the subject.
Xbox Gamertag: craigmcmillan01
Twitter: Follow @craigmcmillan01
steam: craigmcmillan01
add or follow and we can game!
Xbox Gamertag: craigmcmillan01
Twitter: Follow @craigmcmillan01
steam: craigmcmillan01
add or follow and we can game!
No comments:
Post a Comment