Code Monkey home page Code Monkey logo

cityscope's Introduction

CityScope Repository

Solely Developed by Ira Winder [[email protected]] MIT Media Lab, C. 2014 - 2017

(Note: Ownership of this repository was transferred from the discontinued "Changing Places" Repository on August 7, 2017.)

CityScope is a collection of open source scripts developed with Processing 2 IDE v2.2.1, largely to serve the "CityScope" platform at http://cp.media.mit.edu/city-simulation.

  • Colortizer has been moved to its own repo!!
  • Arrange a Meeting with Ira Winder [[email protected]] before making any commits to this repository.
  • Avoid forking the repository and instead opt to make a new branch.

Setup

  1. Clone Repository to your machine
  2. Download Processing 2.2.1 from Processing.org and set its preferences such that the Sketchbook location is the CityScope/Processing/ Folder. ( We use Processing 2 since CityScope uses some libraries which have not yet migrated to Processing 3 )
  3. Re-start Processing 2. Now all of the sketches should show up under File>Sketchbook>

Useful Tips

  • Colortizer (has been moved to its own repo!!) takes a webcam input of colored tags and turns it into a matrix of IDs & rotations passed via UDP
  • Legotizer takes input from Colortizer and legotizer_data/ folder to rebuild a digital model of the table. It also sends and receives heatmap data from CitySim.
  • CitySim takes JSON data of a point cloud received from Legotizer and does matrix math on it. It tells Legotizer when it is done.
  • CityScope/Misc/ folder containes helper sketches and in-progress sketches.
  • DO NOT edit the following folders needed to run Processing:
    • CityScope/examples/
    • CityScope/libraries/
    • CityScope/modes/
    • CityScope/tools/

Documentation

CityScope scripts in the repository are compiled and tested with Processing IDE 2.2.1 on Windows 7:

As of January 12, 2016, the following Processing libraries are required. These should be kept up to date in the repository’s CityScope/Processing/libraries/ folder:

  • OpenCV by Greg Borenstein (Colorizer, Legotizer)
  • Keystone by David Bouchard (Legotizer)
  • UDP by Stephane Cousot (Colorizer, Legotizer, CitySim)
  • DDPClient by Yasushi Sakai (Colortizer,Legotizer)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.