Archived
This repository has been archived on 2026-10-23 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
e0ad69fbe379f7f0cb06c10b466b1b7e6088010d
Install
npm install
npm start
grunt watch
# Parse rooms
node parse.js >> rooms.json
TODO
- Draw SVG shapes over PDF maps in Inscape and set id to roomnumber.
- Parse SVG into suitable json datastructur (room, coordinates, dimensions).
- Render with three.js like described below.
TODO improvements
- SVG parser: Allow SVG paths (see utils.js), use custom attribute for room numbers, make more generic
Design
Similar to this: http://threejs.org/examples/#webgl_lines_colors
- Black backgrund
- Wireframe of room per floor tagged with name of room
- Highlight room by drawing color semi-transparent glowing cube on tob of room floor
- Controlled by query param and browser controls
Languages
JavaScript
99.9%
HTML
0.1%