XML Feeds

.

[javascript-dev] js disobeys law of cause and effect

evan.raskob [lists] lists at lowfrequency.org
Tue Nov 6 14:44:50 MST 2007


Hi Joshua,

I thought I remembered some threads about not using jit.lcd for  
scripting, because it doesn't work properly.

About sending bangs - yes, I noticed that, which is why I am sending  
out many bangs to update the pen location after each "moveto" command.

Even with that, try hooking up a print to the output of the js object  
and see what kind of funky order the commands are printed out in.

Thanks
Evan


On Nov 6, 2007, at 9:30 PM, Joshua Kit Clayton wrote:

>> One question I have is why don't you just put the jit.lcd object in
>> your javasript?
>
> IIRC, jit.lcd has issues when used from within scripting.  
> Regardless, jit.lcd drawing commands do *not* execute until you  
> trigger a bang, which is why I believe that penloc doesn't update  
> when you're expecting it.
>
> -Joshua
> _______________________________________________
> javascript-dev mailing list
> javascript-dev at cycling74.com
> http://www.cycling74.com/mailman/listinfo/javascript-dev



More information about the javascript-dev mailing list