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.
2020-07-04 12:46:04 +02:00
2020-07-04 12:46:04 +02:00
2020-07-04 12:46:04 +02:00
2014-05-28 21:25:43 +02:00
2014-05-26 00:48:13 +02:00
2014-05-26 00:48:13 +02:00

Install

npm install
npm start
gulp
gulp watch

# Parse rooms
node parse.js >> app/rooms.json

TODO

  • Gulp fixes (move server.js to gulp watch task)
  • replace libxml-to-js with dom
  • 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 three.js design

  • 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

References

S
Description
Indoor map of Chateau Neuf
Readme
271 KiB
0 Stars 9 Watchers 0 Forks
Languages
JavaScript 99.9%
HTML 0.1%