-
-
Save forresto/9f98779f853f3f0ede87 to your computer and use it in GitHub Desktop.
potential graph format for http://meemoo.noisepages.com/2011/08/modular-javascript-multimedia-framework/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var testGraph = { | |
info: { | |
title: "iframework test", | |
author: "sembiki.com", | |
description: "metronome to processing and log", | |
url: "" | |
}, | |
nodes: [ | |
{ | |
id: 1, | |
src: "http://meemoo.github.com/iframework/metronome.html", | |
"x":130,"y":47,"w":250,"h":150, | |
state: { bpm: 140 } | |
}, | |
{ | |
id: 2, | |
src: "http://meemoo.github.com/iframework/examples/log.html", | |
"x":561,"y":7,"w":295,"h":230 | |
}, | |
{ | |
id: 3, | |
src: "http://meemoo.github.com/iframework/examples/processing.html", | |
"x":128,"y":246,"w":328,"h":348, | |
state: { | |
processingcode: "void setup() { size(300, 300); colorMode(HSB, 360, 100, 300); noStroke(); background(0); } \n void mousePressed () { fill(random(360), 180, 300); triangle(random(width), random(height), 100, 100, 200, 200);}" | |
} | |
}, | |
{ | |
id: 4, | |
src: "http://meemoo.github.com/iframework/examples/glitch.html", | |
"x":579,"y":255,"w":469,"h":211 | |
} | |
], | |
edges: [ | |
{ source: [1, "default"], target: [2, "default"] }, | |
{ source: [1, "beat"], target: [3, "pressed"] }, | |
{ source: [3, "image"], target: [4, "image"] } | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment