Home Programs About Resources

A Line

A line is geometrically two points connected. A line has direction, length and thickenss. It can divide space and intersect other elements.

Properties

  • Line length & thickness
  • Orientation
  • Interactions

  • MouseX changes angle value
  • MouseY changes length
  • '+' & '-' changes thickness
  • Source Code

    DPMLine_001_p5js
    DPMLine_001_processing
    DPMLine_001_openrndr

    Examples

    img2

    img2

    img2