Because I want t be able to deform individual params for each character of a text string, I made the following script. However if I adjust my spacing parameter (to redefine xPosition) the drawing does not gets updated automatically and I need to feed my script the text again.
I’ve created an array with sufficient values to store all that I need for now, but when calling another who access one of the items in the array it does not get calculated.
Could someone explain?
// create our window with a depth buffer and full scene anti aliasing (if supported)
//var window = new JitterObject("jit.window","bobby");
//window.depthbuffer = 1;
//window.fsaa = 1;
//// create our render object for our window
//var render = new JitterObject("jit.gl.render","bobby");
// to do the spacing of the letters, 1 global variable is needed,