Question: WebGL/Javascript/HTML I need help drawing a cylinder wireframe like in this video: https://vimeo.com/264728025 The program in the video uses a polyline as the spine (I

WebGL/Javascript/HTML

I need help drawing a cylinder wireframe like in this video: https://vimeo.com/264728025

The program in the video uses a polyline as the spine (I have done code for this), and a 12-sided regular polygon as the face. I need to draw the wireframe which means that the faces will be hollow, and we will only see the outlines of the sides (the "skeleton"). Here are more examples of what it should look like:

WebGL/Javascript/HTML I need help drawing a cylinder wireframe like in this video: https://vimeo.com/264728025 The program in the video uses a polyline as the spine

I have started writing code for this program here: https://github.com/DoodVex/2dCylinder?files=1

I'd appreciate any suggestions and/or advice on how to approach this problem, thanks.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!