Inkscape.org
Beginners' Questions Deform a rectangle into circle
  1. #1
    l.mnu l.mnu @l.mnu

    Hi,
    I would like to deform a rectangle into a circle with Inkscape.
    How can I do this?
    Thank you for your help

    Before :

    After :

     

  2. #2
    mendy mendy @mendy

    You didn't say how the after picture was created but for similar I grouped the four objects, drew an elipse (just as example in place of circle), selected both and Object / Clip / Set Clip. Or are you trying to distort the rectangle?

  3. #3
    Hum Hum @Hum

    Hi. One possible way is shown in this recent "tutorial".

    https://inkscape.org/forums/tutorials/tips-ways-to-make-common-shspes-fit-sizes-of-one-another/

    Also, you might want to investigate "clipping".

    You can create a circle, ellipse, etc. to clip (set clip or set clipping group)  for one object with another.

  4. #4
    MartinB. MartinB. @MartinB.
    *

    I would choose Mendy's way:

  5. #5
    l.mnu l.mnu @l.mnu

    Thank you very much for your suggestions !!!

    My first example of a flag is not very good. I need to distort the flag.

    Before :

     

    After :

     

  6. #6
    mendy mendy @mendy

    Once again how is the After picture shown created. If I bring it in to your file, scale down the flag and overlay (using reduced opacity) the rectangle flag is smaller in height than the circle in your After image.

    The white square is your After and the blue rectangle is your flag. On scaling down so stars align the red becomes a solid red rectangle.

    Possibly language barrier what do you mean by Distort

    Maybe here:

    https://inkscape.org/forums/questions/distorting-shapes/

  7. #7
    l.mnu l.mnu @l.mnu

    @mendy : No, the next image is not the result. I just searched the web for an exmple file in png. Indeed I use a translator and I try to transform a rectangular flag into a circular flag.

  8. #8
    Hum Hum @Hum

    Are you wanting to "spherize" an image into a circle?

    See this video that shows how in Gimp.

    https://www.youtube.com/watch?v=nSx8a_dr-B8&feature=share&utm_source=EJGixIgBCJiu2KjB4oSJEQ

    Is this what you want... but only in vector, using Inkscape?

  9. #9
    l.mnu l.mnu @l.mnu

    @Ken Wilson : Sorry for the late reply but I've been experimenting with GIMP and the distortion options are perfect for what I want to do. Thanks a lot for your idea

  10. #10
    Hum Hum @Hum

    Sure. Have a great week.