Open 552020 opened 8 months ago
There are indeed "clipping masks" in software like Illustrator or Photoshop.
If you @lmangall by chance read this and you think I can focus on more serious issue please just tell. I think you are compensating for the speed we almost finish this project at
I suppose if it is animated it is not an image per se, but I also suppose it is easy to loop through a series of images creating the illusion of an animation. Thinking of it this way I even think we could introduce it in our cub3d : 3 images (or 20) per wall as instance, the code alterning between them. I think something like Escher work would be great for this, more elegant than a matrix. Just B&W illusions, or simple things like a "spiraling spiral"...
I had the same thought about it. About the fact that at that point they are not textures anymore. Even if it is possible to reproduce the effect, letting a texture sliding down and you coule have a second instance of the texture (or better a second instance of the image) following the first instance.
The other way like generating the imagine starting only with the png of the characters or creating them with code, then would not include starting textures at all. But the problems intrigues me and start actually already to hurt a little bit cause I'm a little bit stuck. I've discovered that this effect has also a Wiki page: https://en.wikipedia.org/wiki/Matrix_digital_rain#:~:text=Matrix%20digital%20rain%2C%20or%20Matrix,on%20screen%20by%20kinetic%20typography.
I think something like Escher work would be great for this, more elegant than a matrix. Just B&W illusions, or simple things like a "spiraling spiral"...
My matrix is elegant!
The nice thing with the matrix code rain is that in an semi abstract way it could represent the way the pixels are rendered from top to bottom...
When I was in Wolsburg for the Winterfest I saw a cub3D, in Matrix like scenario, with the walls having falls of binary numbers black on green. I'm trying now to reproduce that, starting with some experiments outside the project just to get familiar with the mlx functions, cuase I don't know them at all. If you @lmangall by chance read this and you think I can focus on more serious issue please just tell.
In this example it's more clear that the image has been centered. Worth noting that the original image with the resize function being 961 x 431 px got a little bit squeezed
The result is the same the the 5th image is done through a "manual" crop, which is pretty impressive. Really interesting exercide to get what this textures and images are
Resources