Giter VIP home page Giter VIP logo

ballmachine's Introduction

Ball Machine

a small command-line tool to load and run a Quartz Composer composition for Mac OS X 10.7

GENERAL

  • the canvas size, max framerate and input key:value pairs (as heavily escaped JSON) can be defined through a command-line arguments
  • the composition input and output keys with minimum, maximum, default and current values (where applicable) can be printed via the --print-attributes switch
  • by default the composition is rendered off screen, but the --display switch can present the composition full screen on a given display. when the presentation mode is used, the canvas size argument is ignored and the display's native size is used and the maximum framerate argument is ignored in favor of the display's native refresh rate. if no display unit number is provided, the main display will be used. when an unaccelerated display is selected, the float software renderer is used, otherwise a hardware renderer with multisample anti-aliasing.
  • the tool can be run in a 'gui' mode which renders off screen but provides a connection to the window server, which some plug-ins may require
  • while in presentation mode, the cursor is hidden, idle sleep is disabled for all displays and the window level is set to hide alerts. the application can be quit with command-q or changed via the application switcher.

EXAMPLE

to render directly to a display:

% ballmachine ~/ProjectX/MoviePlayer.qtz --inputs "'{\"Movie_Source\": \"http://trailers.apple.com/movies/paramount/adventuresoftintin/tintin-tlr1_r640s.mov\", \"Volume\": 0.8}'" --plugin-path ~/ProjectX/PlugIns --display

to render offline:

% ballmachine ~/ProjectY/ProcessToSyphon.qtz --canvas-size 1920x1080 --max-framerate 60 --inputs "'{\"Live_Image_Directory\": \"~/ProjectY/Images\", \"Debug\": 1}'" --plugin-path ~/ProjectY/PlugIns

THANKS

ballmachine's People

Watchers

 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.