DEMO: https://cone-3d.vercel.app
This is a simple client-server web application on Next.js which can display a simple cone in a 3D view. The user could enter parameters (cone height, radius and number of segments on a circle) via client.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
The client fetching data to the server on http://localhost:3000/api/cone endpoint