Hotspot & Overlay Editor
A drag-and-drop canvas tool for placing, resizing and wiring interactive hotspots on the room illustration — with live overlay video and tooltip previews.
How it's built
A canvas-style drag-and-drop tool built in vanilla JS. The room illustration is the working surface — hotspots are absolutely-positioned overlay elements with resize handles. Each hotspot stores its position as a percentage so it stays responsive across screen sizes.
Each hotspot carries a destination URL, tooltip text, and an optional video
overlay path. The output is a JSON array — copy it and paste it into
index.html data attributes. The hover overlay and tooltip logic
runs separately in index.js at page load, reading that JSON.
step by step Click to explore →
How it's used
Open the tool in your browser with the room image pre-loaded. Click anywhere on the illustration to place a new hotspot. Drag it to the right position. Drag the corner handle to resize. Fill in the label and destination URL in the right panel.
Click "Copy output" to get the JSON, then paste it into your index.html.
The home page immediately reflects the new hotspot layout — positions, tooltips,
and overlay video all update from the same JSON source.
Source code
hotspot-editor
The full hotspot editor — drag-and-drop canvas, position storage, JSON output, and the runtime overlay system. Swap in your own illustration and adapt the hotspot config for your use case.
View on GitHub →