Skip to content

danter/xa-006

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xa-006: Quick fix

A demo made using WebGL (three.js) for Edison 2016.

See the latest version of the demo in your browser.

About

It's made using Google Chrome. May work in other browsers.

Made under a short deadline with no need to create maintainable code :)

This is a project based on https://github.com/joakimk/livecoding_workspace.

Development

Installing

Before you start, ensure you have Node and Elixir installed. I'm using Elixir 1.3.0 and Node v5.5.0, but other versions will likely work as well.

mix deps.get
npm install

Editing code

Start the server

mix phoenix.server
  1. Visit http://localhost:4000
  2. If you get a "no process" error in the console, reload the page once.
  3. Then edit web/static/js/demo.coffee and see the changes appear in the browser right away.

Editing the music sync

  1. Get "GNU rocket" with websocket support (needs QT5)
  2. Go to http://localhost:4000/?tracker=true
  3. The tracks will appear in the editor.
  4. Load the existing data file from web/static/assets/demo.rocket.
  5. Press space and the demo will run.
  6. Edit
  7. Save
  8. Commit the changes made to demo.rocket.

Exporting the final result to xa-006.html

mix release

Credits

Music by "Yirsi". https://soundcloud.com/yirsi/unknown-world.

License

Copyright (c) 2016 Joakim Kolsjö and Anders Asplund

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A demo made using WebGL (three.js) for Edison 2016.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 47.2%
  • Elixir 43.6%
  • GLSL 5.0%
  • HTML 2.1%
  • JavaScript 1.3%
  • CSS 0.8%