Page 2 of 2

Re: Random graphic Lines

PostPosted: Wed Nov 24, 2021 7:34 pm
by tulamide
Whenever you draw something to a view, you're actually drawing into a bitmap. Once some drawing is finished, the bitmap is shown in the view, further updated by more drawing, etc. It stays in its last state, until something else covers it. At that point the view is instructed, which part to redraw ("clipping") and it clears everything from that part of the bitmap. When you don't draw again after that, it just stays clear (clear = transparent).

This all has nothing to do with Ruby (nor green). It's just how drawing is handled in Windows.

Re: Random graphic Lines

PostPosted: Wed Nov 24, 2021 10:49 pm
by hardwarehost
...32bit finally
I pushed it to different direction, theres 12 fully controlled rectangles but during the time I experimented too much for freaky effects. Its a fast mash-up. I will work on it further anyway to get something similar of what it was at the beginning.

Random Graph _32hwh 2.fsm
(457.4 KiB) Downloaded 875 times

Re: Random graphic Lines

PostPosted: Wed Nov 24, 2021 11:39 pm
by DaveyBoy
Wow . . . Ive never seen it this high before:

Image

Using the Alpha, I'm impressed :D

Re: Random graphic Lines

PostPosted: Thu Nov 25, 2021 12:10 am
by hardwarehost
You see its 5 times in schematic I wrote its a fast mash up :?:

Re: Random graphic Lines

PostPosted: Fri Nov 26, 2021 3:04 pm
by Tepeix
Thanks Tulamide.
From what i see in host it only draw when we ask or when something hide the view or a part.
Strangly when the vst window is moved there's no redraw.
I suppose it redraw the view at refresh but only redraw the bitmap when call.

Interesting Art HarwareHost, i think that the creator of random make it more close that what could more represent something close to his mind.

Maybe there's some module that could reduce tick in this schematic.
I make a random color change that's more simpler. This one could change speed but not
so much.

Also i use a method to produce ticker at different speed in one place then send wirelessly all the ticks.
So a module that need slow tick will not add his own counter to the list.
I also go wireless to send the size or area of the view.

I will someday try a method to add smooth transparency border with png.
For now i experiment with bitmap feedback or smoothing..
Using the create bitmap with less pixels will add some strange blur.

Re: Random graphic Lines

PostPosted: Sat Nov 27, 2021 3:25 pm
by Tepeix
Finally here's a way to make transparent traces.
But we end up redrawing all the view and not only part for a perfect result.
Maybe it's possible to redraw only part, drawing first the bitmap recorded background,
then the trace we want to add.
Image

Re: Random graphic Lines

PostPosted: Sun Nov 28, 2021 12:47 am
by hardwarehost
Snap 2021-11-28 at 00.38.58.png
Snap 2021-11-28 at 00.38.58.png (13.56 KiB) Viewed 19454 times
I searchd the forum and found the View Cache module by Trog, now it fills all area forever or draw the line from moving object.

added xy "drawing" pad
Random Graph _32hwh 5 still.fsm
(824.8 KiB) Downloaded 862 times

Re: Random graphic Lines

PostPosted: Wed Aug 30, 2023 10:58 pm
by Soundshaperzkitz
Just curious, how would I drop one of these custom modules into an existing flowstone vst project?

TIA!