Skip to content

A 2D web-based computer-aided design (CAD) software that allows users to create and edit lines, squares, rectangles, and other polygons

Notifications You must be signed in to change notification settings

blueguy42/2D-Web-Based-CAD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IF3260 Computer Graphics: Major Assignment 1

Description

A web implementation of pure WebGL for drawing, editing, and visualizing models on a canvas, with the following features:

  1. Drawing models

    • Line, with a special method for changing line length
    • Square, with a special method for changing side length
    • Rectangle, with a special method for changing length or width
    • Polygons, with a special method for adding and deleting corner points
  2. Model transformation

    • Translation
    • Rotation
  3. Moving corner points of a model while maintaining congruency in the case of squares and rectangles

  4. Changing the color of a single corner point or all corner points of a model

  5. Saving and importing models from JSON files

How to Run the Program

  1. Open the file src/index.html in a web browser

Authors

  • 13520009 Ahmad Romy Zahran
  • 13520023 Ahmad Alfani Handoyo
  • 13520054 Farrel Farandieka Fibriyanto

About

A 2D web-based computer-aided design (CAD) software that allows users to create and edit lines, squares, rectangles, and other polygons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.0%
  • HTML 4.2%
  • CSS 3.8%