there's nothing built-in, you'll have to code it yourself
use a circular buffer.
store images as they become available.
copy current red pixels, old green pixels and older blue pixels to screen
(actually, thinking about it, you can store only the green and blue values from the pixels, 1 byte rather than 4. and if you store them in different buffers, the green buffer can be shorter than the blue)
| red (live, not stored)
|xxxxx| green (5 frames stored)
|xxxxxxxxxx| blue (10 frames stored)
(5 and 10 are just examples, adjust depending on delay)
Thanks for sharing your answer. However your code doesn't work. You are missing few lines as I have a mismatch curly bracket and there is no draw function in your code.
Answers
there's nothing built-in, you'll have to code it yourself
use a circular buffer.
store images as they become available.
copy current red pixels, old green pixels and older blue pixels to screen
(actually, thinking about it, you can store only the green and blue values from the pixels, 1 byte rather than 4. and if you store them in different buffers, the green buffer can be shorter than the blue)
(5 and 10 are just examples, adjust depending on delay)
well, i need study the buffer.
some more ideas?
thks
@afonso_castro --
You mean this kind of effect, correct? https://vimeo.com/59434848
Yes....i try it in diferents ways.....
is easy on Pd or max jitter
but.......
my working about....some ideas?
Please edit your post and format your code. Select your code and press ctrl+o and have an empty line above and below your code.
Kf
I tried two ways. Below you will find two lines tagged with the key word Effect. Enable only one line at the time to see the results.
In a nutshell, it displays the latest video plus 9,7,5 frames before, each mask in the following sequence: R,G,B
EFFECT1: Final results sees the combination of the three color masks.
EFFECT2: More of a subtle color masking effect
Kf
i try to change the code....but i did not It........maybe Safari :(
I put the code in middle of the (``) but no work
sorry
`` are more for single lines of code
Edit the post, highlight the whole code, press Ctrl-o. The code will indent and should appear OK on a refresh.
Well, i was working on sketch and this is the result.
some more ideas ?
tks
can be rewritten using the % operator
No need for double-reassigning the variables w/ the increment operator: L-)
And finally, i made something like i`d like.
Hi all, here is a version that is using blend modes instead of tints, the result is an image that is not as tinted and a little bit cleaner code.
Hi @kittrick
Thanks for sharing your answer. However your code doesn't work. You are missing few lines as I have a mismatch curly bracket and there is no draw function in your code.
Kf