Hypnotic RectanglessteemCreated with Sketch.

in #art4 years ago

Hypnotic Rectangles

rectangles.gif

I made this picture with a little perl script

 #!/bin/perl
use GD;
 
$picture = new GD::Image(500,500); 
$white = $picture->colorAllocate(255,255,255); 
$black= $picture->colorAllocate(0,0,0); 
$deltax=-3;
for ($x=50;$x<=450;$x=$x+100)
{
    $deltax++;
    $deltay=-3;
    for ($y=50;$y<=450;$y=$y+100)
    {
        $deltay++;
        $deltaz=0;  
        for($z=48;$z>=4;$z=$z-4)
        {   
            $deltaz++;
            $deltaz++;      
            $picture->rectangle($x+$deltax*$deltaz-$z,$y+$deltay*$deltaz-$z,$x+$deltax*$deltaz+$z,$y+$deltay*$deltaz+$z,$black);
        }

    }
}
open(IMG, '>rectangles.gif') or die $!;              
binmode IMG;                                     
print IMG $picture->gif;                          
close(IMG);  

Sort:  

Hey @wuhotan, just wanted to let you know that I nominated you take part in the Seven Day Black and White Challenge in my last post.

Amazing way to tweak with graphical libraries and learn the possibilities.

They look almost like upside down pyramid great.

very good meal menu comrades

You got a 33.33% upvote from @votebuster courtesy of @eifeler!

You got a 71.43% upvote from @bid4joy courtesy of @eifeler!

You got upvoted from @adriatik bot! Thank you to you for using our service. We really hope this will hope to promote your quality content!

You got a 71.43% upvote from @yourwhale courtesy of @eifeler!

Thank you @eifeler for making a transfer to me for an upvote of 8.07% on this post! Half of your bid goes to @budgets which funds growth projects for Steem like our top 25 posts on Steem! The other half helps holders of Steem power earn about 60% APR on a delegation to me! For help, will you please visit https://jerrybanfield.com/contact/ because I check my discord server daily? To learn more about Steem, will you please use http://steem.guide/ because this URL forwards to my most recently updated complete Steem tutorial?

Wow this is really cool!! Plays with the mind. Thanks for the post, I'll be following!

When you repeat the same comment on multiple post you sound like a bot! If it walks like a bot, squawks like a bot, it may be flagged for being a bot!

Your Reputation Could be a Tasty Snack with the Wrong Comment!

Good post my friend @wuhotan
Success always for you
I upvote and resteem

Hello there, SexyWhaleBot is a soon-to-be-powered-up bot designed to help minnows grow.

Effective immediately, SexyWhaleBot will provide a free upvote to 5 randomly selected followers and 5 randomly selected recent post upvoters each day.

In order to live up to his name, SexyWhaleBot will once per day randomly select and post a compilation of sexy girls from its well-sorted libraries.

Take your chance and be among the first supporters of SexyWhaleBot – until the word is spread, it will be very easy to get the free upvotes.

Have a sexy and profitable day! : ]

Impressive! Definitely hypnotic, too. Thank you for sharing and I'll be looking for more work from you @wuhotan !

thank you for the code share @wuhotan

Wowww.. My friend great work.. You are doing a great job... :)

Vostingan a good

Hah that quite makes you dizzy. Nice one!

my eyes were tired: D