openframe-processing
Openframe extension which adds support for Processing
Last updated 7 months ago by jeremias.volker .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install openframe-processing 
SYNC missed versions from official npm registry.

Openframe Processing extension

This extension runs interactive Processing sketches on a Raspberry Pi within Openframe – "an open source platform for artists, curators and art enthusiasts to share, discover and display digital art".

Installation

Prerequisites

Follow the official guide https://docs.openframe.io/#getting-started to install Openframe.

Since version 2.x.x of this extension, Openframe v0.4.12 or higher is required.

Instructions

Then, enter via the command line: openframe -i openframe-processing

This extension is based on processing-java. When Processing artwork is selected in the web app, the artwork gets downloaded to the Raspberry Pi where it's going to be compiled and run.

Artwork

How to upload artwork?

Follow the adding artwork section of the Openframe docs and use openframe-processing as artwork format.

So far it supports URLs (URL where the artwork is hosted) to either a single .pde or a .zip file containing multiple .pde files and/or Processing libraries. If you package your sketch using ZIP make sure the .zip file is named the same as the sketch.

Where to host artwork?

https://docs.openframe.io/#hosting-artwork

Processing libraries

You can ship contributed Processing and Java libraries with your artwork package in a .zip file. All libraries (usually .jar files) have to be in a code folder within your artwork package. More info here: https://discourse.processing.org/t/how-to-distribute-sketches-with-libraries-to-openframe/14095/9?u=jvolker This thread also discusses a convenience install script of most common Processing libraries which might be added in the future.

Fullscreen

The extension loads all sketches in fullscreen by default. For some sketches this might not be useful. To disable fullscreen, add the following to the options property of the artwork in the database:

{
  "fullscreen": false
}

The Openframe web app currently doesn't support this. Alternative ways to do this are described in the Openframe docs .

Todo

  • hide cursor at all times (even when the mouse is moved)
  • support for precompiled sketches
  • add unit tests

Thanks

Thanks to Jonathan Wohl and Isaac Bertran for this amazing project

Author Jeremias Volker
Twitter (@jeremiasvolker)(http://twitter.com/jeremiasvolker)

Initiator karlosgliberal
Twitter (@patxangas)(http://twitter.com/patxangas)

Current Tags

  • 2.0.1                                ...           latest (7 months ago)

10 Versions

  • 2.0.1                                ...           7 months ago
  • 2.0.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.1.6                                ...           5 years ago
  • 0.1.5                                ...           5 years ago
  • 0.1.4                                ...           5 years ago
  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |