Answer the question
In order to leave comments, you need to log in
How to reproduce the effect algorithm in the "Youscope" demo on an oscilloscope?
Recently ran this demo on Habré .
It has the effect of “breaking into drops” and “washing” the image, I can’t understand what kind of algorithm, it looks like some kind of special blur and also looks like a meltdown effect (it was used in DOOM when changing screensavers).
Does anyone know the name of this effect? Is there an even better algorithm? Painfully beautiful.
And, unfortunately, it didn’t work out in a hurry :(
Answer the question
In order to leave comments, you need to log in
I'm not a programmer, but:
1. There is an array of points (x, y) of the picture.
2. Randomly choose a point.
3. Move it down with a certain acceleration (it's easy).
4. We extinguish it and remove it from the array.
5. Repeat several times until the desired effect is obtained.
There, if you look closely, you can see that the points begin to fall almost immediately after drawing. Plus, each point has a slightly different acceleration.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question