Skip to content

An experiment with rectangle vertex manipulation. The idea is to later expand into a 3D version where you can modify a cube by pulling/pushing its sides, similar to a feature found in Google Sketchup.

Notifications You must be signed in to change notification settings

danielgalvaoguerra/2DVertexExperiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Processing (.pde) program

Experiment manipulating rectangle vertices in 2D with hopes of expanding it into a 3D version.

Plan of action:

  • Get right and left edges working (working)
  • Add outlines showing clickable area on edges and work on not allowing overlap (Edit: did not look good, will only be used for testing purposes)
  • Edit: changed mechanics so edge follows mouse position instead of moving only when mouse is released
  • Change edge color when mouse rolls over to show which edge will be pulled/pushed and add new edge position preview(not necessary after above edit) (working)
  • Make each of the four edges work by distinguishing between vertical and horizontal cases
  • Add option to move entire rectangle (either by button and mouse combination or by clicking center of rectangle)

About

An experiment with rectangle vertex manipulation. The idea is to later expand into a 3D version where you can modify a cube by pulling/pushing its sides, similar to a feature found in Google Sketchup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published