Skip to content

dxfjs/cadjs

Repository files navigation

cadjs

A 2d Cad in the browser for drawing with pure JavaScript, written in TypeScript.

I created this project just for learning things 🎉.

Install dependencies

pnpm install

Run the dev server

pnpm dev

You can use npm or yarn.

Features

  • Draw lines, circles and arcs.
  • Export to dxf.

How to use

  • Use mouse right button to end drawing
  • Use mouse middle button for panning
  • Use mouse wheel for zooming
  • Use mouse left button for drawing.