3d-cone-app is a fullstack web app. Frontend is built with Vanilla JavaScript, backend - Node.js.
Try it on Repl.it
- User enters height, radius and number of segments of cone into the form.
- Server recieves form data, calculates array of cone triangles and sends it to user.
- User recieves this array and draws a cone.
npm install // install dependencies
npm start // start node server, default port is 3000
Server will be available at localhost:3000 (if port is not changed)