alyyousuf7/Weaver

rectangular frame

Closed this issue · 6 comments

Hi
I tried a lot, but I couldn't create a rectangular frame
Help me please

What did you try? Which example are you running?

Hi...
example01 / Frame
Unfortunately, I am a beginner

Replace line 20 in example.pde with the following:
frame = new SquareFrame(min_length, 256);

Try and let me know.

I replaced line 20 in the example pde with the following
But the square was drawn
I want a rectangle to be drawn
I want to be able to frame the length and width

Oh, Rectangle!

If I remember correctly, I didn’t implement Rectangle frame feature because it would then require GUI Window to have variable ratio (width/height), and it is not allowed in Processing yet.

The window size is set in the setup() function with constants.

I hope you add a rectangle to your project
Thank you very much