Question: Implement an HTML webpage that uses WebGL to draw a 2-D picture of a block letter (not the block I), or logo or anything you
Implement an HTML webpage that uses WebGL to draw a 2-D picture of a block letter (not the block I), or logo or anything you like. The picture should contain at least four triangle strips or fans, and these strips or fans should each produce three or more triangles. The total number of triangles in the 2-D shape should be at least 12 triangles.
You can set the background color of the canvas to anything you like. You can set the color of the 2-D shape your drawing to anything you like so long as (1) it is different than the background color, and (2) is not the 100% red, 50% green and 0% blue used in the boilerplate code.
You can start with the boilerplate code, but will need to modify it to generate the colors and geometry for your desired 2-D shape.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
