Home /  Sketchbook /  p5.js - Common Examples - Draggable Shapes
  • Info

Overview

This is a p5.js sketch to demonstrate the dragging capability of the objects in p5js/common/shapes folder.

Controls

Mouse

  • Click and Drag - Allows user to click and drag the green vertices of the shapes to resize them.

References:

Links:

  • Live View
  • Source on Github

Screenshot:

screenshot