How do a link led between two forms that independently of moving

Hi all

I am looking for many tutorials how to create something like this:

http://turbulence.org/works/MyPocket/graph/

(the video is on the right)

But could not.

I have for each shape, I do 2 circles (move separately) and between them, making a shape that works as a link, related on each circle on the sides... is it clear? I need the link to 'stretch' and follow the two circles...

Do you know if there is a way?

Thanks in advance

m.

Use something like this technique from an old blog post, I did years ago:

I created a layer named string and a layer called Kite. I drew a mask on the layer of string that forms a gentle arc, added the effect of outline with a width of 3 pixels and paint on Transparent selected. The race goes from the left edge to the right edge of the layer in the chain, and it is important. The string layer is slightly narrower than the model to make it easy to work with. The last step with the layer of string is to move the anchor point to the left most vertice point of the mask at exactly a value X 0. It is also important. The two layers are converted to 3D.

The Kite layer is simply a square solid with a mask in the shape of the kite and the anchor point where is used the string.

The following terms are added to the string layer:
String scale:

point1 = position;
point2 = thisComp.layer("Kite").position;
L = length(point1, point2);
w = thisLayer.width;
r = L/w*100;

[r, value[1], value [2]]

String Orientation:

t = thisComp.layer("Kite");
l = thisComp.layer("String");

fromPoint = l.position
atPoint = t.position
lookAt(fromPoint, atPoint)

If you look closely the language, you'll see that I'm calculating the distance between the anchor and then dividing the difference in the width of the layer and multiplying that number by 100 to arrive at a scale factor to make the string layer is always the same length as the distance between the end of the chain and the kite. The part of the Orientation of the expression simply indicates the string to the wing. There is a problem which must be overome. The string layer is perpendicular to the wing and this part is important, the rotation must be changed to-90 to get things to normal. This isn't another expression, it's just a value that you put in.

The kite layer also needs an expression to point the wing at the end of the string. The expression of the orientation of the kite is basically the same as the string Orientation expression with definitions for the to and the reverse point. It looks like this:
Kite Orientation:

t = thisComp.layer("String");
l = thisComp.layer("String");

fromPoint = t.toWorld(position);
atPoint = l.toWorld(thisComp.layer("String").anchorPoint);
lookAt(fromPoint, atPoint)

Now the kite can be moved and the string will follow.

Here's the project file

Here is a movie.

Tags: After Effects

Similar Questions

  • How to stop the connectivity between two computers that use the same IP address... ?

    Today, I managed to connect two computers with the same IP address. But now it is to be feared. for example, a person can access my computers using my IP and MAC address. So now, how can I stop the connectivity between these two computers. should what setting I use to stop.

    Tahnks.

    Hello

    1 have. what measures you taken to connect 2 computers with the same IP address?

    2. How are the 2 computers connected?

    3. how exactly you want to stop the connectivity between 2 computers?

    I want to tell you that 2 computers on the same network cannot have the same address. Each machine must have a unique address to identify it. A private network, as a home network connected to the internet, can be connected to a router to connect to the network, will have only 1 address, public IP address.

    In addition, if we know the IP address of a computer along the user ID and password, we can access the computer/shared files.

     
    If you are referring to the change of the IP address of the two computers, you can follow these steps and check.
     
    a. network connections open. Click the Start button, and then click Control Panel. In the search box, type 'adapter' and then, under center network and sharing, click view network connections.
    b. right click on the connection you want to change. Click on properties. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    c. click on the network tab. Under this connection uses the following items, click Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6), and then click the properties button. To specify your IP for IPv4, click on use the following IP address, and then, at the address IP, subnet mask, and gateway boxes by default, type IP address settings.
     
    A typical IPv4 address looks like 192.168.0.2; a typical subnet mask is 255.255.255.0. The default gateway is usually the address of your router.
    For example, IP address: 192.168.0.2 by 192.168.0.12 (for computers)
    Subnet mask: 255.255.255.0
    DNS: 192.168.0.1
     
    I hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further.
  • How can I share files between two computer that running 32-bit windows 8 and the second running 64-bit windows 8

    I am unable to share files between 2 computers 32-bit and 64-bit windows 8. Please tell me a solution.

    The number of bits of the processor is not influence it.  If you are having problems sharing files, the bit of the processor is just a coincidence.

    What is the error you get when you try to share a file? And what method do you use to share?  Homegroup?  Right-click to stock option?  Or something else?

  • How to remove the hairline of white space between two forms in color

    I'm setting up a complex visual image in Illustrator. I used the processing step and repeat certain geometric shapes, and then color them in with the paint bucket using a swatch file direct. Then I deleted the original geometric shape contours, leaving just the plug-in software component color fill. Everything is great, except in two or three apparently random locations there is a hairline white between two forms of color component software plug-in. I don't want to change the dimensions of the forms to try to hide the white space, because who is going to introduce another problem. Any suggestions?

    You can butt them using the spacing to distribute at the bottom of the palette alignment function.

    Select your items, and then click one of them to designate it as the 'key' object (this is one that will stay in place while others move in relationship with him according to your actions).

    If the Align Panel is not slammed shut, choose window > align.

    If the spacing section distribute is not visible at the bottom of the alignment palette, choose Show Options in the Panel menu.

    The spacing value to distribute the value 0. Set align it: the Key object alignment option

    Click on the button appropriate to spread (horizontal or vertical).

  • How to remove a path between two anchor points

    Hello

    everything is in the title,

    could you tell me please how to remove a path between two anchor points without using the tool Eraser path?

    When I select these two folders and press to remove all disappeared.

    PS: I want to keep the anchor after the removal

    Thank you

    with the Selection tool direct (white pointer), click the path segment (no points) or select slide above without going on something else and tap on delete.

  • I need to implement Drag N Drop between two tables that saves the two records

    I need to implement Drag N Drop between two tables that saves the two records on a third page, using drag 'n drop.

    Check out this video http://baigsorcl.blogspot.com/2011/01/drag-and-drop-collection-in-oracle-adf.html

  • How to use the same control between two forms of Visual Basic 6?

    I have two forms and must share text between two controls forms such that I get a value in the text box in Form-A should update the same value in the text box in Form-B...

    Is this possible? If so, how can I apply it in my project?
    I tried to create a control array, but that did not help.

    Hello

    I suggest you to ask your question in the Visual Basic forum: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/threads

    Thank you.

  • How to create a relationship between two blocks

    Oracle forms 6i
    Hai All

    I've created a form that I have four button ADD, QUERY, SAVE, EXIT.

    I have two block named head and members.

    Four Chief areas namely block unitid, deptcode, codeno name.

    When I pressed the query button, and the cursor goes to the Chief name field when I enter the name of the leader and click

    Enter I give the codeno, the deptcode and the unitid of the leader_name.

    so now, I created another block in a tabular structure to bring members in the same deptcode that belongs to Leader_name.

    So pls tell me the steps how to create the relationship between these two blocks.


    When I enter the leader_name and gives enter need to bring the codeno, the deptcode, the unitid and

    I also need to give the members of this deptcode...


    Thanks in advance

    Srikkanth.M

    To write, only State a selection:

     :blk2.item = :blk1.item
    

    François

  • How to give a delay between two Boolean?

    Hi all

    I want to insert a dalay in time between two Boolean values. My requirement is I want the second boolean to be switched on after delay 2 sec of variable Boolean 1 is turned on.

    How to do?

    Thank you

    Yes, I don't want to do antthing...

    Meanwhile, I also had the same idea...

    Thanks for the reply

  • How to center the object between two guides (or a guide to the edge of the artboard)

    Simple question: How can I Center an object between two guides or between a fence and the edge of the artboard?

    Chris,

    You can (guides are your friends):

    (1) create a rectangle between two Guides or between the fence and the edge of the artboard by ClickDragging with the Rectangle (desired penalty) tool on a (location) on the other Smart Guides say path/path or page/path when you're there;

    (2) select the two rectangle of 1) and the object, and then click the rectangle, and then use the options in the align palette.

    Who should move your object in the Center in the direction you choose.

  • How to return all dates between two dates?

    Hi all

    I need get all dates between two dates, Oracle SQL and PL/SQL.

    for example
    01/10/2011 - date 1
    10/11/2011 - date 2
    
    # Return Values
    01/10/2011
    10/02/2011
    03/10/2011
    .
    .
    .
    09/11/2011
    10/11/2011
    How can I get these values? Any help will be useful.

    Thank you

    Maybe

    select :start_date + level - 1 the_date
      from dual
    connect by level <= :end_date - :start_date + 1
    

    Concerning

    Etbin

  • How to find a number between two numbers?

    I try to find the numbers between two given user numbers and multiply each of them, but my code so far wont allow me to separate the numbers multiply:

    ex: the numbers are 5 and 10: my code gives me 5678910 together online.

    How can I sneek the * between these numbers? I know that I am seriously close here's my work so far.

    Any help is greatly appreciated.


    import java.util.Scanner;

    public class FindIt
    {
    Public Shared Sub main (string args [])
    {
    Console scanner = new Scanner (System.in);

    int userNumber, finIn, finIn2, finIn3;

    System.out.Print ("enter a lower limit > = 1 :"); ")


    do
    {

    userNumber = console.nextInt ();

    If (< 1 userNumber)
    {
    System.out.Print ("enter a lower limit > = 1 :"); ")
    }

    } while (< 1 userNumber);

    System.out.println ("the lower limit is" + userNumber);
    System.out.println ();
    System.out.Print ("enter an upper limit > = 3 :"); ")
    finIn = userNumber;
    do
    {

    userNumber = console.nextInt ();

    If (userNumber < 3)
    {
    System.out.Print ("enter an upper limit > = 3 :"); ")
    }

    } While userNumber < 3.

    System.out.println ("the upper limit is" + userNumber);
    System.out.println ();
    finIn2 = userNumber;



    int x, y;
    y = 0;
    for (x = finIn; x < = finIn2; x ++)

    CallIncr();





    }
    }

    Published by: 806590 on October 31, 2010 13:07

    Published by: 806590 on October 31, 2010 13:09

    Modified the code of the loop to as below

    for (x = finIn + 1; x)< finin2;="">

  • How to share global var between 2 forms

    Hi friends

    I need you to guide me how to share a global variable between 2 forms

    Please any help that I really enjoyed

    Thank you

    Published by: user10947262 on May 17, 2010 19:56

    How about this?

    :global.my_global:= :SYSTEM.CURSOR_VALUE;
    open_form('C:\my_prog\Emp.fmx');
    

    Do not forget to assign the Navigation mouse No.
    No not use spaces in the path when the form.

    -Clément

    Published by: Hannah on May 17, 2010 21:06

  • How to start-up / Direction between two locations / POI

    Hi I have 2 sites.

    How to get directions / direction between only 2 places?

    (Like getting directions on a map of BlackBerry)

    I'm already trying to use

    RouteMapInvoker

    and set the market (my place now) and put an end to places.

    But only show POI my position now

    Thank you

    Before I was am hardcode the location of departure.

    After not set the starting location, management is working now.

    Thank you

  • How to share internet connection between two computers (win7 & win XP)?

    "I plan to get cable internet connection ADSL broadband." And again, I want to share internet from one computer to another. »

    • But I have a question in mind which is lower.

    Before going to answer my Question Please read two notes point-

    Note:

    A. very important don't ask me what I have installed and what equipment I have in my PC? just give me a simple, easy answer. guess I'm no networking and I have two PCs. You teach me from scratch.

    B. do not use the more technical term. I hate it when someone using the most incredible technical term (its towers the response in the largest number of questions lol). just give me a simple answer.

    If you are eligible to condition or except my EULA :) go further and read my questions give me an answer simple and straight.

    Now please read the question below.

    Issues related to the:

    Q1. Which computer should I connect main internet connection (computer on which will better host win7 or Win XP)?

    Q2. What equipment I mean as a router, hub, NIC etc.? Please specify if these materials will be required for two PCs or for one.

    Q3. What type of Internet connection sharing will be better to be wired or wireless (cost, speed and security wise)?

    Q4. I need two IP address both part of connection to the internet between two PCs?

    Thanks in advance.

    Hi Zeff,

    You can make Windows 7 the main computer for internet connection and then host the Windows XP computer.

    For more information, see the article:

    Start here to set up a home network in Windows 7

    Networking of computers running different versions of Windows

    With respect to the equipment as a router, hub, NIC depend on the connection (wired or wireless) you want to use. You can also check with the ISP (Internet Service Provider) for more information.

    For more information, see the articles:

    What do I need to connect to the Internet?

    Setting up a network home

    Wired and wireless connections have great benefits, but they have also some disadvantages.

    Wired connection:

    > Faster and more robust than wireless connections but not so flexible when positioning of computers and devices because you must be connected to your Super Hub with an Ethernet cable.

    > Safer than wireless connections, but not so convenient for users of laptops and other mobile devices.

    WiFi connection:

    > Wireless! If you can connect when you want. However performance may be affected by walls, electric interference etc.

    > Ideal for users of laptops and other mobile devices, you can connect devices more but slower than wired connections

    > Very safe when used with higher level (WPA) encryption. You can connect your smart phone to your network wirelessly for faster browsing.

    However, unauthorized users could try to use your connection (which explains why security is so important).

    There are two types of IP addresses. external and internal. Both computers have the same external IP address but separate internal IP addresses. Each device in your network will have its own (internal) IP address. The external IP address, who sees the Internet is actually assigned to your router.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

Maybe you are looking for