/3d-cone-app

Primary LanguageJavaScript

3d-cone-app

Preview

3d-cone-app preview

About

3d-cone-app is a fullstack web app. Frontend is built with Vanilla JavaScript, backend - Node.js.
Try it on Repl.it

How it works:

  • 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.

Setup

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)