Rewrite the Sierpinski gasket program from the notes to use the left mouse button to start a single new subdivision (up to a maximum of 8), the right button to have it iterate through subdivisions displaying a new one every second until a maximum of 8 subdivisions. Call this program gasket5.
Write a simple paint program paint. This should display a menu of objects that can be painted (lines, rectangles, triangles) and also a menu of colors. The object should be drawn with the currently selected color using vertex data entered by clicking the mouse. Note that you need to enter 2 points for a line or rectangle, and three for a triangle. You should automatically draw the object after the correct number of points are entered rather than having to click on a button to have it drawn
Additional References:
Edward Angel, OpenGL : A primer, 3rd edition, Pearson, 2008
OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, 8/E
OpenGL ES 2.0 Programming Guide
WebGL Programming Guide
WebGL Beginners Guide
WebGL: Up and Running
JavaScript: The Definitive Guide
Computer Graphics: Principles and Practice (3rd Edition) 3rd Edition by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, Kurt Akeley, 3rd edition, 2013.
Hello,
I have extensive experience in coding WebGL based applications. I can implement for you the Sierpinski gasket and the Paint program as described here.
Thanks and let me know if you are interested to work with me,
Paul
Hello ...I am expert in opengl and webgl ... let me do it!!!... with master and PhD in graphics computing, I should be the best option to you. Best regards!.