Skip to content
No description, website, or topics provided.
JavaScript Shell Smarty
Branch: master
Clone or download
Pull request Compare This branch is 13 commits ahead of karlosgliberal:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts fix extension Sep 21, 2019
test Primer commit May 14, 2016
.eslintrc.yml Primer commit May 14, 2016
.gitignore Clean up Sep 25, 2019
.travis.yml Primer commit May 14, 2016
README.md Update Readme Sep 27, 2019
extension.js
install.sh
package.json Adds hiding of background and stop button Sep 27, 2019
uninstall.sh

README.md

Openframe Processing extension

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

Contributor Jeremias Volker

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

First follow this guide: http://docs.openframe.io/frame-setup-guide/#4-extensions

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.

How to upload Processing artwork?

First, follow the Openframe guide on how to set up an Openframe and to display artwork: http://docs.openframe.io/frame-setup-guide/

Then, in the web app

  1. Click Add Artwork
  2. Make sure you give your artwork a title
  3. Use openframe-processing as artwork format
  4. Enter the URL to your artwork into the field URL where the artwork is hosted. So far it supports URLs to PDE or ZIP files with packaged sketches. If you package your sketch using ZIP make sure the ZIP file is named the same as the sketch.
  5. Optionally enter a URL to a preview image of the sketch which is especially useful if you like to publish your artwork.
  6. Select the artwork by clicking the push to frame button

Options

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 webapp currently doesn't support this. But it's possible with the API explorer.

Where to host artwork?

Currently, you have to upload your artwork to a publicly reachable webspace. If you don't have a webspace/server you could, as one out of many options, try Dropbox. Once it's uploaded to Dropbox, use the Copy Dropbox Link. You will end up with a URL like this https://www.dropbox.com/s/vb17ehsdfqp2bjd/290317.jpg?dl=0. Change the 0 at the end to 1 like this https://www.dropbox.com/s/vb17ehsdfqp2bjd/290317.jpg?dl=1, and you will be able to use the URL for Openframe.

Todo

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

Thanks

Thanks to Jonathan Wohl and Isaac Bertran for this amazing project

You can’t perform that action at this time.