Git Product home page Git Product logo

scimusmn / maya-beautification Goto Github PK

View Code? Open in Web Editor NEW
1.0 12.0 0.0 48.45 MB

HTML5/JS photo booth-style interactive that allows museum visitors to see how they'd look in ancient Maya fashions. Part of the Maya: Hidden Worlds Revealed exhibit

Home Page: https://www.smm.org/exhibitrental/maya-hidden-worlds-revealed

JavaScript 65.08% CSS 34.92%
maya camera photobooth mirror exhibit

maya-beautification's Introduction

Maya Beautification

Description

The ancient Maya had standards of beauty that involved both temporary adornments and jewelry and permanent body modification. See yourself wearing all these adornments.

Dev setup

If you're making code changes, you can use Grunt to create new builds.

Install Homebrew

$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Use Homebrew to install Node.js and NPM

$ brew install node
$ curl http://npmjs.org/install.sh | sh
$ export NODE_PATH="/usr/local/lib/node"
$ export PATH="/usr/local/share/npm/bin:$PATH"

Put those last two export commands in your bash or shell profile if you want them to work all the time.

Install Grunt

Grunt is a task runner we use here to minify and concatenate JavaScript and CSS files after making any code changes. It can optionally be used here to optimize images.

Uninstall any previous versions of Grunt and then install the Grunt command line interface.

$ npm uninstall -g grunt
$ npm install -g grunt-cli

Note: Grunt 0.4.x requires Node.js version >= 0.8.0.

Create a new build

If you change any CSS, JavaScript, or images, you should create a new build using Grunt.

To minify and concatenate CSS and JavaScript files, run grunt.

To optimize images, run grunt smushit.

Install

  • Set up a local webserver with SSL - this allows for saving the "Always allow webcam access" setting in Chrome.
  • Install Stele and set Delay in the config to True.

maya-beautification's People

Contributors

sarahg avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.