A free, client-side vector SVG editor and parametric generator toolkit built for laser cutting, CNC, and precision making.
Create precision laser-ready SVG files directly in your browser โ zero installation, zero build steps, 100% private.
โจ Why VectorCutter ยท ๐งฐ Tools ยท ๐งฉ Architecture ยท ๐ Quickstart ยท ๐ค Contributing ยท ๐ License
| Feature | What It Means for Makers |
|---|---|
| โก Zero Installation & Zero Build | Pure HTML, CSS, and modern JavaScript. No npm install, no webpack, no dependencies, no server runtime. Open and run instantly. |
| ๐ 100% Client-Side & Private | Everything executes inside your browser. No telemetry, no accounts, no cloud database. Your designs never leave your computer. |
| โ๏ธ Laser & CNC Optimized | Real-world units (mm, cm, inches), hairline stroke weights, kerf-friendly geometries, and a one-click Laser Cutting Mode (#000000, 1px cut line). |
| ๐งฎ Native LaTeX / MathJax Rendering | Type mathematical equations (e.g., E = mc^2, \int_0^\infty f(x)dx) and render them as crisp, laserable vector paths. |
| ๐งฉ Parametric Generators | Instantly generate laser-cut-ready rulers, chessboards, puzzles, advent calendars, and popup cards with custom dimensions. |
| ๐ฅ๏ธ Compatible with Laser Software | Clean SVG outputs that import directly into LightBurn, RDWorks, LaserWeb, Glowforge UI, Cricut Design Space, Inkscape, and Illustrator. |
Each tool is a self-contained, lightweight interface designed for precision maker workflows:
| Tool | Launch Link | Description | Output |
|---|---|---|---|
| ๐ SVG Editor | editor.html |
Full-featured vector editor with paths, shapes, curves, MathJax LaTeX text, snapping, rotation center, and two-way live SVG code editing | Cutting & engraving SVG / PNG |
| โ๏ธ Chessboard Generator | chessboard.html |
Parametric chessboard generator with configurable square dimensions (mm), notation borders, and optional engraving layers | Laser-ready board SVG |
| ๐ Ruler Generator | ruler.html |
Metric (mm/cm) and Imperial (inch) ruler designer with custom tick intervals, fine calibrations, and font engravings | Precision measuring tool SVG |
| ๐งฉ Puzzle Generator | puzzle.html |
Jigsaw puzzle creator with adjustable rows, columns, piece dimensions, and tab/blank interlocking curves | Interlocking cut paths SVG |
| ๐ Advent Calendar | advent_calendar.html |
Parametric door matrix layout with numbered doors, hinge tabs, and custom engraving bounds | Hinged door cut SVG |
| ๐ชช Pop-Up Card Generator | popup.html |
Layered 3D papercraft and popup card mechanism designer with cut, mountain, and valley fold lines | Flat cut/score SVG |
| ๐ Dashboard | index.html |
Homepage displaying recent saved local browser projects and quick generator launchers | Project launcher |
The repository is built around clean, separated responsibilities with zero build step, making it exceptionally easy to read, debug, and extend:
VectorCutter/
โโโ components/ # Shared reusable layout components
โ โโโ layout.css # Universal topnav & footer CSS variables, responsive drawer & theme
โ โโโ header.js # <site-header> Web Component (desktop nav + mobile drawer + shortcuts)
โ โโโ footer.js # <site-footer> Web Component (with GitHub reference link & copyright)
โ โโโ header.html # Raw HTML partial of top navigation
โ โโโ footer.html # Raw HTML partial of footer
โโโ editor/ # Modular SVG Editor architecture
โ โโโ css/
โ โ โโโ editor.css # Clean editor styling (canvas, tools sidebar, properties panel, modals)
โ โโโ js/
โ โโโ editor-core.js # SVGEditor class, lifecycle, undo/redo history, clipboard, shortcuts
โ โโโ editor-canvas.js # ViewBox, coordinate systems, axes, millimeter grid, pan & zoom
โ โโโ editor-tools.js # Tool modes, mouse event dispatch (down/move/up), element creation
โ โโโ editor-selection.js # Marquee selection, bounding boxes, handles, snap targets
โ โโโ editor-transform.js # Resize, rotate, scale, flip, reflect, translate, arrow keys
โ โโโ editor-properties.js # Properties panel, coordinate inputs, LaTeX MathJax rendering, styles
โ โโโ editor-elements-tree.js # Elements tree hierarchy, grouping, path/group splitting
โ โโโ editor-laser-mode.js # Laser cutting mode toggle & recursive stroke/fill overrides
โ โโโ editor-export.js # Clean SVG serialization, text flattening, PNG export
โ โโโ editor-templates.js # Parametric Star & N-Gon shape generators, starter SVGs
โ โโโ editor-quickbar.js # Floating draggable quick-tools bar (transforms, exact 90ยฐ rotation, alignment)
โ โโโ editor-sidebar-resize.js # Adaptive resizable left/right sidebars with icon-only mode & localStorage
โ โโโ editor-fonts.js # 40+ OFL/Apache font registry, lazy-loading, searchable picker, user uploads
โ โโโ editor-boolean.js # Boolean Union, Difference, Intersect, Exclude (XOR), Kerf offset, Weld & Score
โ โโโ editor-shapes-library.js # 25+ parametric presets (gear, heart, arrow, badges, icons) & library modal
โ โโโ editor-patterns.js # Linear repeat, rotational circular repeat, grid matrix, mirror repeat
โ โโโ editor-production.js # Laser color swatches, perforation dashed lines, material kerf, sheet nesting
โ โโโ editor-components.js # Multi-artboard components list, extract as component, Read Me, Units & Settings
โ โโโ editor-text-tools.js # Text along path (offset & flip), text within box auto-fit, draggable line guides
โ โโโ editor-trace.js # Client-side PNG/JPG image tracing to vector outline (edge-detection)
โ โโโ editor-qol.js # Command palette (Ctrl+K), shortcuts cheatsheet (?), context menu, dimension badges
โ โโโ editor-dxf.js # Client-side AutoCAD R12 ASCII DXF export and import for lasers and CNCs
โ โโโ editor-code.js # Live SVG code viewer, code modal, two-way code updates
โ โโโ editor-init.js # Modal helpers, clipboard copy, URL parameter autoloading
โโโ index.html # Project dashboard & launcher
โโโ editor.html # Primary SVG Editor entrypoint (clean, modular HTML)
โโโ editor_5.8.html # Backwards-compatibility redirect to editor.html (legacy)
โโโ chessboard.html # Chessboard generator
โโโ ruler.html # Ruler generator
โโโ puzzle.html # Puzzle generator
โโโ advent_calendar.html # Advent Calendar generator
โโโ popup.html # Pop-Up Card generator
โโโ about.html # About VectorCutter & Old Lane 17
โโโ legal-notice.html # Legal notice
โโโ privacy-policies.html # Privacy policies
โโโ terms-of-service.html # Terms of service
โโโ wrangler.toml # Cloudflare Pages zero-configuration deployment manifest
โโโ _redirects # Cloudflare Pages route redirects (/editor -> /editor.html)
โโโ _headers # Security headers & asset caching rules
โโโ sidebar/ # Sidebar SVG icons (tools, zoom, snap, etc.)
โโโ templates/ # Starter SVG templates (leather badge, stars, etc.)
All generator and information pages import the universal header and footer with two simple custom tags:
<!-- Include in <head> -->
<link rel="stylesheet" href="components/layout.css">
<script src="components/header.js" defer></script>
<script src="components/footer.js" defer></script>
<!-- Place inside <body> -->
<site-header></site-header>
<!-- Your tool or page markup goes here -->
<site-footer></site-footer><site-header>: Renders the brand logo, direct tool links, a generators dropdown menu, active page indicator, and an animated mobile drawer with touch/click backdrop and keyboard (Escape) support.<site-footer>: Renders legal, FAQ, social links, copyright, and a direct link back to the GitHub Repository.
Clone the repository and double-click any .html file:
git clone https://github.com/oldlane17/VectorCutter.git
cd VectorCutter
# Open index.html or editor.html directly in Chrome, Firefox, Safari, or Edge!Running a local HTTP server avoids browser local-file CORS restrictions when loading MathJax fonts and SVG templates:
Using Python 3:
python -m http.server 8080
# Visit http://localhost:8080Using Node.js (npx):
npx serve .Using VS Code:
Install the Live Server extension, open index.html, and click Go Live.
๐ Everyone is welcome to contribute!
Whether you are an experienced web developer, a laser cutting hobbyist, a teacher, a mathematician, or making your very first pull request on GitHub โ we'd love to have you participate. This repo has the goal to create a free alternative to be creative and share it :)Please read CONTRIBUTING.md for full instructions and our Contributor License Agreement (CLA.md) before submitting a Pull Request. Sponsorships are also warmly welcome!
Looking for inspiration? Here are areas where contributions are actively welcome:
- New Starter Templates: Add creative vector templates to
templates/(e.g. keychains, leather coaster badges, holiday ornaments, bookmarks, luggage tags). - Sidebar Icons & UI Polish: Improve icon clarity, accessibility contrast, or mobile layout spacing.
- Keyboard Shortcuts Visual Modal: Create a friendly visual shortcut cheatsheet (? or Ctrl+/).
- Documentation & Translations: Improve guides, add tooltips, or translate generator labels.
Create a new standalone generator page (like box.html or gears.html) using the shared <site-header> and <site-footer>:
- Finger-Joint Box Generator: Configurable width, height, depth, material thickness, and finger-tab spacing for laser-cut boxes.
- Involute Gear & Cogwheel Generator: Generate gear teeth based on module, tooth count, pressure angle, and shaft hole diameter.
- Living Hinge Generator: Create flexible wood lattice cut patterns with customizable cut lengths and bridge spacings.
- Text Stencil Bridge Generator: Automatically bridge closed letters (like O, P, B, A, D, R) for clean laser stencil cutting.
- Circular Dial & Gauge Generator: Create custom protractor, volume dial, or clock face tick marks.
Enhance editor/js/:
- Alignment & Distribution Toolbar: Align selected elements (left, center, right, top, middle, bottom) and distribute evenly horizontally/vertically.
- Laser Color Palette Presets: One-click color swatches tailored for laser workflows (Cut = Red
#FF0000, Engrave = Black#000000, Score = Blue#0000FF). - Export to DXF / PDF: Complement SVG export with DXF or vector PDF generation for legacy laser software.
- Path Operations (Boolean): Add basic union, difference, and intersection path calculations.
-
Fork the Repository
Click the Fork button at the top-right of github.com/oldlane17/VectorCutter. -
Clone Your Fork
git clone https://github.com/YOUR_USERNAME/VectorCutter.git cd VectorCutter -
Create a Feature Branch
git checkout -b feature/finger-joint-box-generator
-
Make Your Changes
- If adding a generator: create your new
.htmlpage, add<site-header></site-header>and<site-footer></site-footer>, and link it in the dropdown. - If improving the editor: make edits inside the relevant module in
editor/js/oreditor/css/.
- If adding a generator: create your new
-
Test Your Changes Locally
Run a local server (npx serve .orpython -m http.server 8080) and verify your changes in your browser console with no JavaScript errors. -
Commit & Push
git commit -m "feat: add finger-joint box generator with parametric tabs" git push origin feature/finger-joint-box-generator -
Submit a Pull Request
Go to your fork on GitHub and click Compare & pull request. Describe your changes, add a screenshot or GIF if applicable, and submit!
VectorCutter is open-source software licensed under the MIT License, with original code owned by Old Lane 17. You are free to use, modify, distribute, and build commercial or non-commercial physical items with these tools. All contributions are subject to the Contributor License Agreement (CLA.md).
Built with passion for the maker and education community by Old Lane 17.
If VectorCutter helped your laser cutting or maker project, star โญ the repo and share your creations!