Skip to content

Instantly share code, notes, and snippets.

@naeluh
Last active March 28, 2022 06:48
Show Gist options
  • Save naeluh/fbae02fc7eada90ec07a to your computer and use it in GitHub Desktop.
Save naeluh/fbae02fc7eada90ec07a to your computer and use it in GitHub Desktop.
var creativity = [{
space: function(artist, object) {
// check the artis and object being painted
if (!artist && !object) {
return allOtherSpace;
}
},
contourCheckRef: function(contourData, colorSpaceData, opacityData, imageRefcontourData, imageRefcolorSpaceData, imageRefopacityData, time) {
// return the average every ms of how close the multiple data are
if (contourData === imageRefcontourData && colorSpaceData === imageRefcolorSpaceData && opacityData === imageRefopacityDat) {
return checkOfRef;
} else {
return checkOfRef;
}
},
materials: function(paint, dry, wet, surface, brushes) {
// the intial array of all painting materials to access from functions
// data set of painting act
},
camera: function(device, color, opacity, Normals, heightMap, pngs) {
// return the data of camera output for 3d imaging
},
colorOfPainting: function(colorOfPainting) {
// overall color matrix for painting
},
colorOfRef: function(colorOfRef) {
// overall color matrix for painting
},
composition: function(x, y, z) {
// overall registration of the composition
},
brush: function(size, shape) {
// if a brush is selected return its attibutes
},
emotion: function(surveyArray) {
// return percentage based on before and after survey
return attitude;
},
moisture: function(object, dry, wet, shape, opacity) {
// moisture level of canvas and room and brush or really anything
// ambient dryness of material
// visual determine what wet and dry looks like
// when we start painting have a
if (shape && opacity === wet) {
wet++;
dry--;
}
if (shape && opacity === wet) {
dry++;
wet--;
}
return wet, dry;
},
medium: function(paintMedium) {
// return the properties of the medium
},
pressure: function(objectPushing, objectGettingPushed, pigmentOnBrush) {
// measuring the pressure of the
},
subject: function(s) {
// s is an array of what the subject is could be multiple items or 1
if (s) {
return s;
} else {
s = false;
nosubject(color, shape);
}
},
hand: function(fingers, wrist, brush, arm) {
//data returned from painter function for all physical attributes of the painter in motion and still
},
nosubject: function(color, shape, speed) {
// if there is not a subject we are returning this function
},
technique: function() {
// common physical things create an array of those common attribute for organization and access to the data
// this tells us common items that can happen
},
painter: function(p) {
//painter's physical space and attributes
},
canvas: function(c, width, height) {
},
start: function(s) {
// what happens at the begining of the painting
},
stop: function(st) {
// what happens at the end of the painting
},
pause: function(p) {
// what happens if the artist takes a break
},
end: function(e) {
// functional cleanup at the end
},
checkBrush: function(whatBrush) {
// check for the brush that is in use
},
brushData: function(b) {
// brush data returned
},
brushHandle: function(bh) {
// array of brush width , height , bristleShape
},
x: function(x) {
// return x
},
y: function(y) {
// return y
},
z: function(z) {
// return z
},
time: function(t) {
// The overall time of capture
},
difference: function(d) {
// a helper fucntion to determine what has changed between 2 or more object that are detected
if (d) {
return true;
}
}
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment