Transform a rectangle in a semicircle

Is it possible to turn a rectangle into a semicircle of a true? One long side of the rectangle must be preserved, the other side turn in a semicircular curve. Endpoints of the curve will then coincide with the ends of the opposite side.

Any suggestions? (Thanks for the tips)

See the image for a side-by-side comparison using the polar coordinates filter. It does exactly what you need, the trick is just to put the image properly with an empty canvas. Note that filters marker is aligned incorrectly (Chris Cox, you hear me?) and that ideally you would have everything as a perfect square before you apply the effect, so the transformed result becomes really round, not elliptical as in my example.

Mylenium

Tags: Photoshop

Similar Questions

  • Placing text inside a rectangle

    Hello

    When I place the text inside a rectangle which transforms the rectangle in a text object and the rectangle disappears.

    How to get inside a rectangle so that it uses as a bounding box rectangle shape?

    Any help much appreciated.

    Paul.

    Note that in your layers panel the first Rectangle has been converted to text within a shape.

    One way to do is the following:

    Copy the rectangle.

    Create the text

    Glue to the back

    However, the text will touch the sides of the road, and one or the other must be sized. InDesign does it a bit better.

  • Keep the area objects during transformation

    I surprised not to find a way to transform a rectangle and at the same time be able to maintain the initial area/m2/volume objects.

    Can someone tell me a quick and easy way to achieve this in Illustrator?

    Thank you

    Hi Jacob... customs declaration... Here is my approach...

    -double original rectangle

    -change the width or height you like

    -Select, the original and the duplicate updated the

    -run the script

    #target Illustrator
    
    //  script.name = modRectangleKeepArea.jsx;
    //  script.description = changes the width or height of a modified copy of a rectangle so the area matches the original rectangle;
    //  script.required = duplicate the original rectangle, change its width or height, then select both and run script;
    //  script.parent = carlos canto // 8/11/11;
    //  script.elegant = false;
    
    var idoc = app.activeDocument;
    var sel = idoc.selection;
    
    if (sel.length==2)
        {
            var dupPath = sel[0];
            var ogPath = sel[1];
    
            var iarea = ogPath.area;
    
            if(dupPath.width==ogPath.width)
                dupPath.width = iarea/dupPath.height;
    
            else if (dupPath.height==ogPath.height)
                dupPath.height = iarea/dupPath.width;
    
            else
                alert("change height only or width only, not both");
    
            dupPath.strokeWidth = ogPath.strokeWidth;
        }
    else
        {
            alert("select both, the Original rectangle and its modified duplicate only");
        }
    
  • Form of scale & text Expression

    • It has an expression (traced Rectangle 1) property "size" a form which follows the size of a text. Whenever I have change the text (name changed), the expression automatically changes the text name of the reference to the expression to continue to work. So far so good.

    • The problem occurs on the (Transform: 1 Rectangle) property 'ladder' of the form, which also has an expression and follows the 'ladder' of the text as well. When I change the text characters, the expression does not change the reference automatically, which results in an error. Why this happens on the 'ladder' of form property?

    • Do updates not automatically made in expression and generates the error. I have to keep correcting all the time, which is tiring.

    See the image, I changed the text "because I'm happy' to 'Clap along. 'Size' property of the form automatically replaced by "Clap along", but the "scale" of the form property was as before with reference to the layer "because I'm happy', which resulted in an error.

    to see.PNG

    Windows 8.1

    After update effects CC 2014

    Thank you.

    Update:

    It has something to do with the expression of the form in the property above, 'size', I think that the reading after the expressions in the order, from top to bottom, the expression 'size':

    x 2 = effect ("x 2") ("Slider")

    Y2 = effect ("y2") ("Slider")

    x = thisComp.layer("Clap_along").sourceRectAtTime () .width + x 2 / content("Rectangle_1").transform.scale [0]* 100;

    y = thisComp.layer("__Clap_along__").sourceRectAtTime () .height + y2 / content("Rectangle_1").transform.scale [1]* 100;

    [x, y]

    It refers to the expression of the property that comes after ('scale'), as follows:

    Content ("Rectangle 1"). Transform.Scale [0]

    Content ("Rectangle 1"). Transform.Scale [1]


    What he must be causing the error because when I turn off the coast of the expression above in 'size' of the 'ladder' expression works correctly.


    (I mean, when the text is changed, the expression also changes that I'll have to change in the expression of work.)

    Thank you!

    I managed to solve, used the property of the 'ladder' in the text instead of "scale" in the form that display the same value.

    Works well!

  • Quartz and Quickdraw with MacOS

    Hello guys,.

    No messages for a long time...

    I'm trying to make my plugins running on Windows and Mac.

    Basically, it works... except for the part of the user interface.

    In what concerns the drawing rectangle and so on... I managed to do with quickdraw until drawBot with CS5 and CS4

    My problem is for circular handles, I want to get stretched, rotates according to the layer scaling, rotation, the zoom factor...

    With windows, I managed to get my stuff done using GDI +.

    Sub

    () getLayer2FrameMatrix

    PF_FloatMatrix & xform,

    const PF_InData * in_data,

    const PF_EventExtra * event_extra)

    {

    event_extra-> cbs.get_layer2comp_xform (event_extra-> cbs.refcon, event_extra-> contextH, in_data-> current_time, in_data-> time_scale, & xform);

    need to reduce to nothing the translation column?

    XForm.Set (tmp);

    //! Transforms the coordinates of the source in the current context to the screen coordinates.

    //! Screen coordinates (image) are affected by the current zoom level.

    PF_FixedPoint scale = {INT2FIX (1), INT2FIX (1)};

    event_extra-> cbs.source_to_frame (event_extra-> cbs.refcon, event_extra-> contextH, & scale);

    float scaleX = static_cast < float > (FIX_2_FLOAT (scale.x));

    float scaleY = static_cast < float > (FIX_2_FLOAT (scale.y));

    XForm.mat [0] [0] * = scaleX;

    XForm.mat [0] [1] * = scaleY;

    XForm.mat [1] [0] * = scaleX;

    XForm.mat [1] [1] * = scaleY;

    XForm.mat [2] [0] * = scaleX;

    XForm.mat [2] [1] * = scaleY;

    }

    Center PF_FixedPoint = {cx, cy};

    PF_FloatMatrix xform.

    getLayer2FrameMatrix (xform, in_data, event_extraP);

    HDC hdc;

    PF_GET_CGRAF_DATA ((* (event_extraP-> contextH))-> cgrafptr, PF_CGrafData_HDC, reinterpret_cast < cancelled * >(&hdc));

    GDIPlus::Graphics g (hdc);

    Gdiplus::Pen pen (Gdiplus::Color (color.alpha, color.red, color.blue, color.green), 1);

    pen. SetDashStyle (static_cast < Gdiplus::DashStyle > (style));

    Matt GDIPlus::Matrix (xform.mat [0] [0], xform.mat [0] [1] xform.mat [1] [0], xform.mat [1] [1] xform.mat [2] [0], xform.mat [2] [1]);

    g.SetSmoothingMode (Gdiplus::SmoothingModeAntiAlias);

    g.SetTransform (& mast);

    g.DrawEllipse (& pen, cr - center.x, center.y - cr, cr + cr, cr + cr);

    It's ok for windows and do the trick.

    My problem occurs when I do with Mac...

    Of course, drawbot with CS5 works perfectly. My problem is for an earlier version of legacy.

    There are no ways to make as with GDI + and specify a matrix with quickdraw.

    I have therefore two solution:

    (1) calculating the transformation matrix, all the point of my circle of calculation, transforming them with a transformation matrix, use the function PaintPoly and FillPoly

    (2) use the Quartz and its context transformation matrix...

    I thought that Quartz works perfectly and simply...

    but I was wrong.

    The coordinate system is different...

    There is reversed, and the origin is not higher on the left, but at the bottom left.

    I tried to make it work in all cases... but it didn't...

    So I just tried to understand what is going on of s. tried to paint a rectangle at the origin of the coordinate system:

    void * dp = (* (event_extraP-> contextH))-> cgrafptr;

    CGrafPtr port = reinterpret_cast < CGrafPtr > (dp);

    CGContextRef context;

    OSStatus err = QDBeginCGContext (port and context);

    If (err == noErr) {}

    Code rect = CGRectMake (0,0,100,100);

    CGAffineTransform userToDevice = CGContextGetUserSpaceToDeviceSpaceTransform (context);

    CGAffineTransform deviceToUser = CGAffineTransformInvert (userToDevice);

    CGContextSetRGBFillColor (context, 1, 0, 0, 1);

    CGContextFillRect (context, rect)

    QDEndCGContext (port and context);

    }

    I get a red rectangle... but not on the high or the low left corner, sort of in the middle of theleft side of the layer...

    Then I tried to get back to the basics more and tried

    CGAffineTransform userToDevice = CGContextGetUserSpaceToDeviceSpaceTransform (context);
    CGAffineTransform deviceToUser = CGAffineTransformInvert (userToDevice);

    to transform my rectangle, and I got in the upper left corner of the Panel containing the layer panel.

    It would be useful if I could get the upper left corner of the layer panel. But I have not found a way to do

    source_to_frame gives only the zoom factor

    and

    layer_to_comp get the transformation in the layer panel.

    I m really think back to solution 1)...

    Does anyone have an idea of how properly use the quartz inside legacy?

    Sorry for the wave of my question.

    I hear your pain.

    seriously, I do.

    That's what I did to solve it. (after having almost given up)

    Zero CGPoint = {0,0};

    CGPoint flipOrigin = CGContextConvertPointToUserSpace (context, zero);

    flippedY = flipOrigin.y - (originaY - event_extraP-> u.draw.update_rect.top);

    I changed the names of param to such that it would be wise of you.

    I hope I didn't screw it in place when editing.

    You must get flipOrigin only once by draw call, and not for each drawing operation you do. (but it's obvious)

    :-)

  • Object &gt; transform &gt; reset the rectangle enclosing do not work.

    Hi, I make a biconical mark, I'm doing a square with M, turn 45 degrees and then I did "object > transform > reset Bounding Box" and nothing happens. How can I solve this problem? I have the latest version of Illustrator 19.2.0

    Thank you

    You must use object > shape > expand shape to develop the direct form before resetting the rectangle encompassing work. Yes, Illustrator must be smart enough to perform this intermediate step for you, but it doesn't.

  • In my old photoshop, I clicked on the rectangle tool and then left click on image free transform and tilt.  my new photoshop does not allow this.  I tried edit - free transform, but it does not have to be.  What should I do?

    In my old photoshop, I clicked on the rectangle tool and then left click on image free transform and tilt.  My new photoshop does not allow this, I tried edit - free transform as well, and this is also not allowed.  What should I do?

    Thank you Trevor.  Discovered that I tried to tilt the bottom and not a new layer.  All sorted now.

  • Is there a way to get rid of the rectangles huge transformation in the new GUI?

    Hello

    the rectangles of huge transformation introduced in 20141 CC, it is difficult to place objects in After Effects. They are always hiding something I need self-esteem. Is there a way to disable this "feature"? This is quite annoying always zoom in and out all the time.

    I havevisualmemo_2014_11_03_134816.jpg

    In the General category of the Preferences dialog box, set the Point size of path to something smaller. You seem to have put well above the default.

  • Hi there my lasso tool and the Rectangle tool, become free transform as well at the time wherever I'm going to move the selection. I don't know how to get rid of the annoying free transform tool. Please help me :)

    Screen Shot 2015-05-15 at 10.19.30 am.png

    With the tool move selected, you could uncheck Show transform controls in the options toolbar.

    Another way to move the contents of the selection is rather than from the selection of the tool tool move you could press the Ctrl (windows) or command (mac) and move the contents of the selection and should not show the bounding box.

  • Coordinates of the cursor &amp; Rectangle coordinates does not not to

    Hello!

    I actually paint a drawing a rectangle on xy graph using the mouse by clicking on the events and I need the contact information exactly the way it is extracted by cursor. The indicator of "coord2" & "cursor 0" should give me the same results. I need output of coord 2 as cursor 0 hope I managed to pass my point. Maybe I need to manipulate with scale. Check the attachment.

    Sets,

    I have attached a VI that will transform your mouse up and down the coordinates which are by default in pixels for the x - y coordinates.  I also noticed that you could not make a rectangle when you started at the top left and ended at the bottom right, so I added a logic, so you can start and finish anywhere and have the rectangle belong.

    I also noticed that when you draw the rectangle that the corners are drawn a little below and to the left of the cursor, that is the question you are trying really hard?  I just looked in that a bit but could not understand why that was happening.

  • Generating fixed size rectangles in Illustrator?

    I know how to produce objects of fixed size in Photoshop, but work with Illustrator CC and can't seem to identify a way to do the same.  Am wary that as a "vector" program, Illustrator does not support the creation of fixed size objects.  Is this true?  Or could someone point me to how I can fix the size of a rectangle in Illustrator?  Thank you!

    Click the Rectangle tool in the toolbar

    Click on the artboard

    Enter the dimensions

    Ok

    If you want to change a selected rectangle

    window > transformation etc.

  • Resizing a Rectangle "proportionally" (with shift) is not proportional.

    I can't understand what is happening.  I duplicate a layer that has the shape of a rectangle (marquee used to make the form, create a new layer, it filled with a color) and I want to resize the background layer to make it big as a framework.  I don't need an exact 2 inches on both sides, but I don't want the rectangle to increase the exact same on both sides as I hold the SHIFT key and make it so when I Center them both there will be an amount that is equal on all sides.  Pretty much is the definition of proportional, right?  But for some reason, no matter how (lock the proportions of the h/w, just hold shift across the Middle, use shape layers and resize instead of framing area), I get a side more and more more than the other.  The percentages of width/height (when I click on that instead of pixels or inches) increase the same, but the pixels and inches are growing differently.  I don't want the percentages increase proportionately, I want the real INCHES to increase proportionally.  Am I missing something simple?  Help, please!Scale Rectangle with shift.jpg

    It's a puzzle for sure, and I don't know an easy way to do it. A few ways to achieve this:

    #1

    Select all (Ctrl a)

    Select > modify > contract.  Insert the number of pixels you want to reduce the layer, (ensuring that apply effect to the limits of the canvas is checked.)

    OK, inverting the selection and press the delete key.

    #2

    Add a layer mask and the layer mask choose inside of the desired amount of the race.

    Right-click and apply the mask layer.

    #3

    Free transform layer and put the new values in pixels in the Options bar.

    If you do not reduce by a large amount, place the cursor in the width field and hold down the SHIFT key while pressing the arrow down.  Each press will reduce the value of ten.  In the height field tab and repeat the same amount.

    If there is an easier way to do it, I'd be glad to know what it is.

    ??????

  • Need help to transform a shape layer in a layer mask blur adjustment

    I understand how to do a blur mask on the image adjustment layer, so it blurs the images below, which is essentially what I'm trying to do, but in this case, I already have the shape layer (or rather imported from Illustrator > converted to a shape layer) and is in a nested composition.

    First of all, is it possible to blur the images of a composition if the adjustment layer is nested in a composition of the child, or the adjustment layer must be in the parent publication; the composition is blurry?

    Second of all, how we simply take a form that they have already created and use that for a mask, in this case, a mask that will blur everything below?

    Forum thanks!

    There are a few things that are not effective in your workflow and your approach.

    Lets talk first about the Illustrator files in After Effects. Firstly, absolutely the only reason you would ever convert a layer to illustrator in a form would be to use animator tools found in the add menu at the top of the shape layer properties in the timeline panel or to animate a Bézier path on this layer. There is no other advantage in converting a vector layer to a shape. NONE.

    Second, if you want to hide an adjustment layer then you can draw the mask directly on the adjustment layer or any layer with transparency, including an illustrator layer, layer photoshop, any hidden layer or layer shape directly on top of the adjustment layer and use this layer with transparency as an Alpha or Alpha reverse cache by approach to the adjustment layer.

    You can use the luminance values of any layer that has no transparency that a luma or reversed hides by luma approach. The white areas offer transparency with luma standard. IOW, if you have a radial with white in the middle and black gradient on the edge and you use a luma matte and white will be transparent on the layer below.

    Standard caches only affects the layer immediately below the source.

    Adjustment effect layers each layer directly under the adjustment layer. Masks and caches can be used to control the effects of an adjustment layer.

    You can also use masks on any layer to control the effect added to this layer if you have a recent version of AE. You will find the option under options to Compositing.

    If you have any layer with transparency or the strong luminance values, you can use Auto Trace to generate a cache for this layer based on transparency or luminance. Any way shape mask or Bézier path can be copied and pasted to another layer.

    We will take your last question now. You should be able to answer. To use any shape you created as a mask, you use this layer as a track matte.

    We will change that approach a bit and assume that you have created a shape layer by using the pen tool or converted an Illustrator layer to a shape. You have a path that you can be found by selecting the shape layer and by pressing twice the key U. find the path you want to copy, rotate options path to reveal animation controls and to set a single keyframe and then copy (Ctrl/Cmnd + c). Even of the forms created with parametric tools like star, ellipse, rectangle can be converted into a path by right-clicking the shape and selecting convert to paths. When you have copied the path put you on the layer where you want to paste the path, select the pen tool to begin to draw a mask, click anywhere on the layer and paste it (ctrl/cmnd + v) and that you have created the mask. This works for forms and masks on any layer.

    Here's a bet to keep everything by copying and pasting masks. The size and position of a path is calculated from the center of the layer and has no relationship to scaling, rotating, or the position of the layer. If you drew a mask on a layer that is resized to 50% and moved to the top right of the comp and rotated 45 ° and then paste this path to any other layer you will NOT get a path in the same position and the same size as the layer sampled in the model. You end up with a path that match if every sampled layer transformation properties have been reset and the layer was at the center of the model and the rotation and scale were normal. You must pay attention to this issue by copying and pasting traces of Bézier.

    I missed a question type. If you nest or call a layer previously and there is an adjustment layer in the main computer it will affect all layers below. If you dial before a layer and a top adjustment layer then only layers in the nested model will be influenced by the adjustment layer.  I replied before but wanted to make sure.

    BE very careful when you watch YouTube tutorials on workflow because a growing number of them is bad teaching techniques and pointing you to the bottom of the dead-end alleys. Make sure you vet your training.

    If you have any other questions the best place to find good community resources is to type a word in the search help field in the upper right of the AE. For example, if you typed layer adjustment or masks, you would find a lot of very good advice on how to use these features.

  • Cannot delete the rectangle on the artboard in the document!

    Can help you, after you create a new document and choose (Document Type: Web) I always get stuck in the document Board Art rectangle, and I don't know how to remove it. Also I am not able to use the mix option on the document or on the artboard Rectangle to change the color of the document.

    Thanks in advance!11111111111111111.PNG

    Document types: web are transformed into documents of the work plan of the appropriate size. It was a decision of the UI by our product designers.

    "UN-do" the artboard, right-click on the artboard in the layers palette and choose "ungroup work plans. Or select the artboard, and then choose layer > ungroup work plans.

    The artboard will be gone and you will be in a normal document with whatever the underlying size of the canvas was be. (Probably a monolayer with WARNING: no pixels in it, i.e. transparent).

  • Semicircle of semicircle Illustrator

    Hi everyone, I need to insert a rectangle-shaped semicircle, can someone help me with this?

    There is the shape of the circle, but if I want to do half a perfect circle?

    Something like that: http://www.asia.it/adon/files/disegno_heidegger.jpg

    Without the line to reconnect both ends

    Thank you everyone

    Draw a semicircle,

    Draw a circle.then wth the tool drag a marquee selection around, just say white arrow. the.top of the circle to select just this press point.and anchor delete on your keyboard.

Maybe you are looking for

  • (El Capitan 10.11.5) MacBook Pro keeps freezing

    Hello Apple community. So my MacBook Pro freezes constantly and loading things very slowly. It freezes during 10 or minutes at a time, but other times, it is quite well. I recently wiped this MacBook and transferred to the demands of my old MacBook,

  • Some plugins required by this page have been blocked for your protection.

    I get this error after you install a lower version of Firefox in addition to the current version of Firefox. I have since then removed the old version of firefox and reinstalled the current. There's no matter what I do. YouTube keeps warning me that

  • CPU at 100% use, services.exe using 50 to 70% +.

    I've upgraded from Vista to Win 7 on day of release and had no problems until recently. In recent days, my CPU usage will boost 100% at irregular intervals and stay there for a long period of time. When I check the Task Manager and view the processes

  • BlackBerry Smartphones FTES MSGS

    My blackberry "BOLD" receive a lot of messages every time, every day as the msgs above. Until then, I had received msgs "485". Could someone help me pls? RIM_bca28a80-e9c0 - 11 d 1-87fe-00600811c6a2 [email protected] RIM_bca28a80-

  • My updates for 6.7 RAW and Adobe Bridge CS5 4.0.5 will not update

    I have Photoshop CS5 Extended.  I'm using the PATCH file however my 6.7 RAW and Adobe Bridge CS5 4.0.5 will not update.  I have a new camera that has RAW in it, but my Photoshop CS5 does not recognise