Giter Club home page Giter Club logo

qtzweb's Introduction

Qtzweb

Quartz Composer to JS/WebGL compiler

Installation

sudo easy_install biplist pyyaml

Running

convert.py is the main file for the compiler.

Example usage: python convert.py demos/IWTC.qtz > IWTC.html

You can also pass in the name of an audio file to be synced with the animation (it will be used as the timebase for the animation) after the qtz file. After that, you can pass any value to enable debugging.

python convert.py demos/IWTC.qtz iwtc > IWTC_audio.html
python convert.py demos/IWTC.qtz iwtc debug > IWTC_audio_debug.html
python convert.py demos/IWTC.qtz none debug > IWTC_debug.html

When passing an audio file (e.g. not none), it will automatically assume that you have both an mp3 and ogg version of the track. (XXX: Fixme)

Help/Discussion

The official channel is #qtzweb on irc.freenode.net. Feel free to drop by for help or development discussion!

qtzweb's People

Contributors

daeken avatar

Stargazers

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

Watchers

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

qtzweb's Issues

Strange error at statrup related to biplist

Strange error at statrup related to biplist

Traceback (most recent call last): File "convert.py", line 2, in <module> from biplist import readPlist ImportError: No module named biplist

but the installation of biplist proceded without a hitch
sudo easy_install biplist pyyaml

yaml.parser.ParserError on running convert.py

On OS X 10.7.5
Python 2.7.1

I downloaded the zip from GitHub, installed the prerequisites, and tried running one of the example convert lines. When that didn't work, I tried a variety of files, no luck. Resulting output below:


Traceback (most recent call last):
File "convert.py", line 338, in
classes = yaml.load(file('classes.yaml').read())
File "build/bdist.macosx-10.7-intel/egg/yaml/init.py", line 71, in load
File "build/bdist.macosx-10.7-intel/egg/yaml/constructor.py", line 37, in get_single_data
File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 36, in get_single_node
File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 55, in compose_document
File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 84, in compose_node
File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 133, in compose_mapping_node
File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 84, in compose_node
File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 127, in compose_mapping_node
File "build/bdist.macosx-10.7-intel/egg/yaml/parser.py", line 98, in check_event
File "build/bdist.macosx-10.7-intel/egg/yaml/parser.py", line 439, in parse_block_mapping_key
yaml.parser.ParserError: while parsing a block mapping
in "", line 1076, column 3:
identifiers:
^
expected , but found '-'
in "", line 1079, column 3:
-
^

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.