robotiko / building-editor-2d

imple 2D CAD wrapped in p5js. It implements command input, layers, and classes for handling shapes, just like CAD software.

Home Page:https://building-editor-2d-baues.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building Editor 2d

Simple 2D CAD wrapped in p5js.
It implements command input, layers, and classes for handling shapes, just like CAD software.

The main processing as CAD is in the /src directory. Other directories are Next.js related files.

Getting Started

First, run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.

CAD Usage

Screen.Recording.2022-12-25.at.22.43.50.mov

Feature

  • CAD UI Feature
    • Select Geometry
    • Delete Geometry
    • Add rectangle
    • Zoom Extend All
    • Snap
      • End point
      • Middle
      • Near
      • Grid
      • Angle
    • scale bar
    • Layer
      • Visible
      • Lock
      • Layer color select
      • Active
      • Add & Delete
    • Pan
    • Zoom
  • Geometry
    • Line
    • Point
    • Polyline
    • Rectangle
    • Vector

About

imple 2D CAD wrapped in p5js. It implements command input, layers, and classes for handling shapes, just like CAD software.

https://building-editor-2d-baues.vercel.app/

License:MIT License


Languages

Language:TypeScript 97.6%Language:CSS 2.0%Language:JavaScript 0.4%