In this lesson we cover the different methods for defining and animating colors in GIF Loop Coder.

function onGLC(glc) {
glc.loop();
// glc.size(400, 400);
// glc.setDuration(5);
// glc.setFPS(20);
glc.setMode('single');
glc.setEasing(false);
var list = glc.renderList,
width = glc.w,
height = glc.h,
color = glc.color; // your code goes here: for(var i = ; i < ; i ++){ var x = Math.random() * width;
var y = Math.random() * height; list.addPoly({
x: x,
y: y,
radius: +Math.random() * ,
sides: + Math.random() * ,
fillStyle: color.animHSV(x/width*,Math.random() * ,,,,)
// fillStyle: color.hsv(x/width*360, 1,1)
})
} }

[GIF] Colors in GIF Loop Coder-LMLPHP

Link: http://www.gifloopcoder.com/docs/styles.html#color

04-14 22:50