GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - digitalinteraction/usb-01: Visualise the first floor of the Urban Sciences Building

BranchesTags
Open more actions menu

Latest commit

 

History

37 Commits
37 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.nova
.nova
 
 
hack
hack
 
 
source
source
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.node-version
.node-version
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

usb-01

This project is a visualisation of the Urban Sciences Building first floor using the Urban Observatory API.

How it works

The visualisation is based on an SVG floor plan of the first floor, where Open Lab is. The SVG is enhanced with JavaScript using the JSON floor data which maps parts of the SVG into rooms and spaces.

Rooms are individual places on the floor with a single sensor. The room's background colour is set by fetching the latest data for the currently selected metric, interpolating that into a colour and setting it as the background colour. This uses color-interpolator to do the interpolation based on presets from the selected metric.

Spaces are made up of multiple zones each with their own sensors. The space's is turned into a Voronoi diagram using voronoi.js and then each zone in the diagram is interpolated with the latest sensor data's interpolated colour using point-image-interpolator.js.

Development

To play about with the repo, check it out on your local machine.

# cd to/this/repo

# Run the development server
# -> Starts a local HTTP server on http://localhost:5173/
npm run start

# Build production version
npm run build

# Build & preview production version 
npm run build

Deployment

To push changes, commit and push them to the main branch and GitHub will do the rest. It will build the site and deploy it to GitHub pages.

About

Visualise the first floor of the Urban Sciences Building

usb.openlab.dev/

Topics

openlab-alembic

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.