![]() |
|
symmetric craziness out of one image - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: symmetric craziness out of one image (/showthread.php?tid=4087) |
symmetric craziness out of one image - hsiangch_ong - 11-07-2025 this program displays images. derrived from a larger image. it takes a section of the input image. which is a small rectangle. then does symmetric business on it. the image that is shown by the source code. is hardcoded to the dimensions of my laptop screen. feel free to change it for your tastes. if you don't like the symmetric setup. that could be changed too. the way the code stands. could produce many interesting pictures. another flaw might be. a mini-picture is created. so it is flipped and spread into the four quadrants of the output screen. the "normal" quadrant is the fourth. the bottom-right side. so the mini-picture will be clipped off the right-hand side and the bottom. each variation is shown for one second. it could cause hundreds of variations. press escape, hold for at least 1 second to quit. if kthresh variable value is changed. so it is larger. it could produce less variations. do not set it to zero or a small positive value. the rule set in the code. is 32 entire lines from the input image. from 2732x1536 image. it should produce almost a thousand variations. approximately 85% of them. which aren't dominated by large black blocks. a proposal is offered somewhere in the code. i preferred to leave it. so that more interest is produced. that said. do not try this program. if you could suffer an epileptic seizure. or if you could become violent. watching certain patterned graphics on a computer screen with bright colors! i will not be held responsible. nor the other members of this forum. for health conditions. caused by the inability to use this product. the routine is supposed to divide the large image. into many small rectangles. from 80x80 to 200x200. which don't intersect with one another. that way it could work toward the threshold faster. i have enclosed a png file for you to play with. it's almost 10mib! Code: (Select All) option _explicit
hsiangch_ong-month-backflip.zip (Size: 9.52 MB / Downloads: 40)
RE: symmetric craziness out of one image - bplus - 11-07-2025 +1 Wild! works well with image from Candy Corn Trees! |