jit.lcd

Apr 17, 2012 at 10:22am

jit.lcd

Is it possible to add to the jit.lcd a short of timer so that clears the first drawings added? For example I make 5 shapes and after e.g. 5 mins I want only the last one visible (so 1 get erased by every minute that passes). Or maybe should I look into another visualization aid to do this?

Thanx

#63017
Apr 17, 2012 at 2:56pm

If no solution comes about for jit.lcd, I know jit.gl.sketch definitely has the ability to delete drawings in order, you send a message like (cmd_delete 1) which would delete the first command/drawing that you did. And although I’m no expert on jit.lcd, I think you can do most stuff in jit.gl.sketch that you can in jit.lcd.

-chris

#227437
Apr 19, 2012 at 10:28pm

I actually provided some MGraphics code for this in my Javascript patch-a-day (I did this in December, I think). Jump over to the Javascript part of the forum and check there for a drawing example.

[ddg]

#227438
Apr 20, 2012 at 7:05pm

Since jit.lcd doesn’t support sprites, I think the assumption is that if you want to keep track of the individual drawing commands you’ll do so yourself and then redraw the whole stage. Here’s an example. Unlike what you specified (a drawn object removed every minute), this example removes each drawn object ten seconds after it was drawn, just to make the process more evident.

– Pasted Max Patch, click to expand. –
#227439

You must be logged in to reply to this topic.