Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 725 Bytes

README.md

File metadata and controls

32 lines (28 loc) · 725 Bytes

Grid Canvas Starter

Try It: https://zacheryvaughn.github.io/GridCanvasStarter/


Features:

  • Centered Origin
  • Dynamic Gridlines
  • Canvas Drag-Panning
  • Cursor-Focused Zoom
  • Snap-to-Grid Dragging
  • Auto Z-Index Swapping

Mouse Controls:

  • Scroll Wheel: Zoom Canvas
  • Hold Right Mouse Button: Move Canvas
  • Click Scroll Wheel Button: Re-Center Canvas
  • Hold Left Mouse Button: Drag Item

Touch Gestures:

  • Two-Finger Pinch: Zoom Canvas
  • Two-Finger Touch: Move Canvas
  • Double-Tap: Re-Center Canvas
  • One-Finger Touch: Drag Item

Image


License

This project is licensed under the MIT License - see the LICENSE file for details. Copyright (c) 2025 Zachery Vaughn