Skip to content

Instantly share code, notes, and snippets.

@zeffii
Forked from anonymous/pest.js
Created February 15, 2015 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/cf8e0f8d57529fef9b46 to your computer and use it in GitHub Desktop.
Save zeffii/cf8e0f8d57529fef9b46 to your computer and use it in GitHub Desktop.
function inputs(){
var obj = {};
obj.r = {min: 1.0, max:100.0, default: 5.0, step: 0.1};
obj.g = 14;
obj.b = 21;
return obj
}
function jazz(r, g, b){
var x = r * 20,
y = g * 40,
z = b * 60;
return [[x,y,z],['raner']];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment