Black Ink

Black Ink

Nota Jul 8, 2015 @ 2:24am
Is there a way to reset Stroke Parameter : Time?
The value continually goes up. After the pen is lifted up and is set back down again the previous highest value remains.

I know that you can reset it's value by switching brushes or using the eraser, but I'm looking for something more streamlined.

Is it possible in the controller editor to reset the time node when pen pressure is removed?

< >
Showing 1-5 of 5 comments
u2bleank  [developer] Jul 8, 2015 @ 5:23am 
good question !
What do you want to achieve ? Because time usually works well with sinus (Math f(x)) or noise (Signals)
Nota Jul 8, 2015 @ 10:10am 
Thank you for your response. Let's take ben-o's 3nd tutorial for example at Brush Workshop 3: Gradients and Controllers[]

This creates a nice effect. The side affect of time in this example is that if you keep drawing more and more strokes you will start seeing nothing but the whitish blue. If it weren't for the random node you would see all light blue (the right gradient color). Even after lifting the brush up and setting it back down for more strokes. This might be desired at times, but further tweaks to allow the brush to reset once the stroke has ended have been unsuccessful.

I'm probably going about this all the wrong way. I've thought about using length here instead of time, but I don't seem to be able to stretch the gradient to get the same results.
I've also tried using pressure as a switch to turn time off, but it seems that once time get started it can't be stopped (reset) by other nodes.

It's unclear to me if this is a limitation or if there is room to improve it's function.

It seems to me, if practicable, to have a toggle to reset time when no pressure occurs within the fx editor would be a nice feature.

Last edited by Nota; Jul 8, 2015 @ 10:13am
Tetriste Jul 8, 2015 @ 11:12am 
Huumm, isn't Time exactly that, the time since the start of the stroke? According to this, it is :

If you want to "reset" time within a node, you might want to explore the Frac function, this will loop time between 0 and 1 without a ping pong effect. You can then stretch or squeeze the time for something different, or even remap it for something other than 0 and 1 with some math. If you want to have something conditionnal, you can exploit 0 and 1 multiplications, for exemple, when tilt is below a certain threshold, do this, otherwise do that, with the help of Step
Last edited by Tetriste; Jul 8, 2015 @ 11:33am
Tetriste Jul 8, 2015 @ 2:40pm 
I just tested, and time doesn't reset per stroke, it seems like a bug (according to documentation anyway). Time looks like it starts at 0 on the first stroke, and doesn't reset on the next one :/

I could see a need for a global time (for random effects), but it would also be nice to have a local time.
Last edited by Tetriste; Jul 8, 2015 @ 2:41pm
u2bleank  [developer] Jul 9, 2015 @ 12:37am 
You're right ! There is a bug introduced by an earlier version which doesn't reset the time between each stroke.
We will fix it in the next release !
Many thanks for the report ;)
< >
Showing 1-5 of 5 comments
Per page: 1530 50