Search found 9 matches

by jhz
2016-10-25T20:33:48-07:00
Forum: Users
Topic: square patterns generation
Replies: 13
Views: 7178

Re: square patterns generation

No and it was the problem I was facing. Your code helped me to avoid the overlaps and thank you for your help.
by jhz
2016-10-25T19:43:03-07:00
Forum: Users
Topic: square patterns generation
Replies: 13
Views: 7178

Re: square patterns generation

Yes I am using Unix and this code worked for me. I meant by that I understood the logic but I couldn't code the program. Below is my code that I wrote for random square patterns using very basic techniques. #!/bin/bash # PX position of squares on X-axis # PY position of squares on Y-axis # ROT ...
by jhz
2016-10-25T03:51:00-07:00
Forum: Users
Topic: square patterns generation
Replies: 13
Views: 7178

Re: square patterns generation

Thank you very much. It is what I was looking for but I was unable to code the program. It is much appreciated.
by jhz
2016-10-25T01:26:23-07:00
Forum: Users
Topic: square patterns generation
Replies: 13
Views: 7178

Re: square patterns generation

Thank you both of you. It helped me.
by jhz
2016-10-25T00:45:50-07:00
Forum: Users
Topic: square patterns generation
Replies: 13
Views: 7178

Re: square patterns generation

I want to paste the squares in empty spaces but by the way I am using they are pasting on each other as well as on empty spaces. I just want to copy them in empty spaces. I can also share my script if you want to have look on it.
by jhz
2016-10-25T00:31:57-07:00
Forum: Users
Topic: square patterns generation
Replies: 13
Views: 7178

Re: square patterns generation

I am sorry to say that I am not a good programmer. Actually I created a background image of 1280x720px and I let the squares to decide where they will paste in the given boundary i.e background image size. I am not able to control the position of the squares. I am looking for a simple method to do ...
by jhz
2016-10-24T23:21:43-07:00
Forum: Users
Topic: square patterns generation
Replies: 13
Views: 7178

square patterns generation

Hi Everybody, Sorry for my bad english. I am trying to generate a random(size, position and rotation) square pattern on a white image. I tried with ImageMagick and succeeded to get image in the link https://drive.google.com/open?id=0BypRKoRnoTbbWkMyLXJDYl9xT3c . I am pasting black squares onto a ...
by jhz
2016-10-05T00:05:13-07:00
Forum: Users
Topic: draw many black color rectangles on a white background
Replies: 1
Views: 1495

draw many black color rectangles on a white background

Hi, I want to draw many rectangles/squares on a white background of different sizes and rotations. They should have black fill color and cover all the background like checker pattern but I want to draw sizes of rectangles of my choice and also rotate them at some degree.
by jhz
2016-08-12T05:34:46-07:00
Forum: Users
Topic: Histogram of even/odd values
Replies: 2
Views: 2054

Histogram of even/odd values

Hi, I want to draw histogram of an image of its just even or odd values. I mean i want to draw graph of values of my choice but not the entire image. is it possible? if yes then please help in the code.