Dashed line in Motion

Hi I'm tryin create an animated dashed line in motion.
I've done a lot of searches on the forum and people keep refering to this url: http://www.motionsmarts.com/tutorials/drawinglines/drawinglines1.html
However the site is closed so can't seem to find any good info.
Any ideas?
Thanks

What you want can be done by using shape styles with either the line (shape) tool or paint brush and applying the write-on behavior. (A couple of the shape styles are dashes.)
I think that at least one of Mark Spencer's Mac Break Studio episodes is on paint brushes and/or shapes. Do a search.
There is a very good Motion discussion group in these forums. There is also a good one at Creative Cow (at which Mark Spencer is a frequent contributor).
Russ

Similar Messages

  • How do I create a dashed line growing longer?

    Hi all,
    I want to create a dashed line that grows longer. I made two keyframes (at frame 1 and frame 15) with dashed lines of different lengths. Motion or Classic Tween just makes the small line move to the right and then turn into the long line immediately at frame 15.
    Shape Tween gets me the closest (actually shows a line growing), however, it turns into a solid line in the intermediate steps.
    My next idea is to create a mask that slowly reveals more of the line. Is that the best solution?
    Thanks!

    yes, use a tweened mask.  that's the easiest solution.

  • Dashed line / dotted line coupon effect? FCPX

    Seeing if anyone has any tips or tricks on how to create a dashed line type of effect around an object in a video, making it look like a coupon or like it was cut out of paper?
    The line doesn't necessarily progress around the object in the video -- it can be a static layer. Though, if anyone DOES have tips on animating the lines, that could be cool, too!
    Thanks in advance.

    Familiar with Motion?
    Draw a short horizontal line. Select the Anchor point tool and drag the center to the right end of the line you drew. Replicate the line. Change the Arrangement to Outline.  In the Cell Controls section, check the Align Angle option.
    You will now have a dashed outline rectangle. You can publish the Size parameter and change the size of the rectangle with the Width and Height parameters from Size. You can increase the number of line segments with the Points parameter and you can animate the outline with the Offset parameter (but there's a catch.)
    When animating the offset, you will have line segments extend "outside" the base rectangle shape briefly (since they are aligned to the side they are attached to, then snap to another side when the anchor point changes over from one side to the next.)
    To get around that, you need to create another rectangle that is 100 by 100 and link the Scale X and Scale Y parameters (separately) to the Width and Height of the Replicator (in the Link behavior, set the Scale to 10 for both.) Drag the rectangle onto the Replicator in the Layers List and hold until you get the popup menu -- select Add Mask to Object. [PS -- you should center the Replicator AND the rectangle before adding the rectangle as a mask!] [You can create a square rectangle then select the Shape > Geometry tab and type in the exact points: (-50, 50); (50, 50); (50, -50); (-50, -50) to create the exact size you need.]
    If the mask is perfectly aligned, you can now animate the dashed line and it won't look weird. You can change the width and height of the replicator and the mask will change in perfect synchronization.
    You can also make the dashes longer or shorter by manipulating the Scale X parameter in the Cell Controls of the Replicator. If you made the original line white, you can colorize from the Cell Controls as well.
    After that, you'll need to figure out if you want a solid color background; a drop zone or effect source/title background; what kind of text you want inside the dashed outline (or you can manually place a Basic Title in FCPX if you like); etc...
    Hope this helps...  If  you need further help with this, let me know.

  • Dashed Line - Dashes Move?

    I'm trying to make a dashed line move, sort of like what you see in photoshop when you outline something. Basically I want the dashes to move along a path.
    Usually I can come up with these solutions pretty quickly, but I'm not able to on this one. Maybe I'm not as versed in the "shape" behaviors as I should be.
    Originally I thought I could just ramp the offset of the dashes, but that's not an option. I'm hoping I don't have to make a movie of a dash moving left to right, and use that as the source of my pen. That seems a little intensive, but may work.
    Anyone have a quick idea on how this should be done?

    Adam:
    That's helpful, but I'm trying to get the dashes to actually move (all of them) along the path, like in a loop. Like marching ants on a path. As one disappears on the end, another will come on at the start. You know?
    The replicator is a good idea, but I can't get the sequence behavior to follow the path. It only allows the position to be an xyz point.
    Using Motion Path wont allow me to align the angle.
    I feel like I should use the shape behaviors, but that won't allow me to move anything along the path, much like the limitation with the replicator.
    I keep feeling like there should be an offset that I can move, but there isn't.
    I'm seriously thinking I need to animate one dash moving left to right and make that the source of the brush. Right?

  • How to change draw dashed line with arrowhead (not straight)?

    Hi friends,
    The following code sinept draws an arrowed line from a given point to the other point. I want to know how it can changed to be dashed line as well? I would appreciate it if anybody help me for doing such changes.
    Thanks in advance,
    Reza_mp
    import javax.swing.*;
    import java.awt.*;
    import java.util.ArrayList;
    public class ArrowExample extends JFrame
        enum ArrowHead {
            HEIGHT(10), WIDTH(10);
            int n;
            ArrowHead(int n) {this.n = n;}
            public int value() {return n;}
        java.util.List<Arrow> arrows;
        BasicStroke stroke;
        private class Arrow {
            Point start;
            Point end;
            Polygon arrowHead;
            public Arrow(Point start, Point end) {
                this.start = start;
                this.end = end;
                double direction = Math.atan2(end.y - start.y, end.x - start.x);
                System.out.println(direction * 180/Math.PI);
                arrowHead = new Polygon();
                arrowHead.addPoint(0, 0);
                Point p1 = rotate(ArrowHead.WIDTH.value()/2, ArrowHead.HEIGHT.value(), direction);
                arrowHead.addPoint(p1.x, p1.y);
                Point p2 = rotate(-ArrowHead.WIDTH.value()/2, ArrowHead.HEIGHT.value(), direction);
                arrowHead.addPoint(p2.x, p2.y);
                arrowHead.addPoint(0, 0);
                arrowHead.translate(end.x, end.y);
            public Point rotate(int x, int y, double dir) {
                Point p = new Point();
                double r = Math.sqrt(x*x + y*y);
                double theta = Math.atan2(y, x);
                p.setLocation(Math.round(r*Math.cos(theta + dir + Math.PI/2)),
                              Math.round(r*Math.sin(theta + dir + Math.PI/2)));
                return p;
            public void draw(Graphics2D g) {
                g.drawLine(start.x, start.y, end.x, end.y);
                g.drawPolygon(arrowHead);
                g.fillPolygon(arrowHead);
        public ArrowExample() {
            super("Arrows");
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            JPanel p = new JPanel() {
                protected void paintComponent(Graphics g) {
                    super.paintComponent(g);
                    Graphics2D g2d = (Graphics2D)g;
                    Stroke oldStroke = g2d.getStroke();
                    Color oldColor = g2d.getColor();
                    g2d.setStroke(stroke);
                    g2d.setColor(Color.black);
                    for (Arrow a : arrows)
                        a.draw(g2d);
                    g2d.setStroke(oldStroke);
                    g2d.setColor(oldColor);
            p.setBackground(Color.white);
            add(p, BorderLayout.CENTER);
            stroke = new BasicStroke(3);
            arrows = new ArrayList<Arrow>();
            arrows.add(new Arrow(new Point(10,10), new Point(100,100)));
            arrows.add(new Arrow(new Point(300,10), new Point(300,100)));
            arrows.add(new Arrow(new Point(450,450), new Point(400,100)));
            pack();
            setSize(500, 500);
        public static void main(String[] args) {
            setDefaultLookAndFeelDecorated(true);
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new ArrowExample().setVisible(true);
    }

    Change the draw method as follows:
            public void draw(Graphics2D g) {
                Stroke s = g.getStroke();
                g.setStroke( new BasicStroke( 3.0f, BasicStroke.CAP_BUTT,
                   BasicStroke.JOIN_MITER, 1.0f, new float[] { 10.0f, 10.0f }, 0.0f ) );
                g.drawLine(start.x, start.y, end.x, end.y);
                g.setStroke( s );
                g.drawPolygon(arrowHead);
                g.fillPolygon(arrowHead);
            }

  • Problem with dashed line spacing when printing to pdf

    Hi all,
    this may be a problem with my pdf program (I use bluebeam), but maybe someone will have an idea how to fix it whether in indesign or bluebeam.
    so I made a dashed line using the stroke command in indesign. I need to have the spacing set to 3pt dash and 2pt space. I also need to keep the lineweight to 0.5...this all works fine and appears correctly in indesign when I preview
    the problem is that some of the dashed lines, but not all of them, change size and spacing in the pdf when I view it. it seems to change when I zoom in and out as well. I thought maybe this was just some odd feature with bluebeam and it would still print to the correct size, but it does not, it prints the lines as different sizes. does anyone have an idea why this happens and how to fix? ive viewed and printed from adobe reader and it seems to be okay there but this file will be accessed by multiple other people and they may not be opening and printing in adobe reader..
    thanks guys

    When you export a PDF you will notice that you are exporting to Adobe PDF. Using any reader beyond Acrobat Pro or Reader is a crapshoot.
    For issues with Bluebeam I suggest you contact the developer.

  • Drawing dashed line or dotted line in a flex line chart

    Friends,
    I want to draw a line chart which should be either dotted or dashed.
    since there is no component like dashed line chart, can anyone help me in creating one.
    i think if i extend the line series component, then i can draw that.
    but am stuck there. pls help people.
    Regards,
    Anoop

    Try looking [url http://www.macdevcenter.com/pub/a/mac/2002/03/22/vertical_text.html]here.
    : jay

  • Illustrator CS2 adds mysterious white dashed line thru my linked Photoshop file

    Im using Windows XP, Illustrator & Photoshop CS2, Acrobat 7.0 Professional.
    I have an illustrator file with a linked PSD file that has this mysterious thin white dashed line going through the entire image & I have no idea what it's from or how to repair it.
    My trouble shooting thus far includes:
    - In illustrator - I hide all the layers to see if there was an odd graphic on another layer that was causing the line, nothing. I tried to select the dashed line, not possible. I've created a PDF of the file, and the dashed line is in the PDF too (to verify it wasn't just Illustrator). Oddly in both Acrobat & Illustrator when I zoom in & zoom out, the dashes maintain their on-screen viewing proportions (like the dash spaces recalculate to the same tiny thin dashed line no matter what zoom Im at)
    - In Photoshop - I zoomed in until I couldn't zoom no more and there is not the slightest dashed line in the graphic.
    Lastly, I have this exact linked setup repeated throughout several different files (basically its the same ad but laid out to different dimensions for each)... and none of the others have this mysterious white dashed line.
    here's a screen capture from Acrobat... zoomed into 6400%
    argh - can someone help? Thanks!
    kristin

    Hi guys (and sorry for the tremendous delayed response).
    No the line doesn't print on my local b/w laser printer. However I have seen the lines print in 1 newspaper publications... (this is out of 50 different publications)
    Yes, the image is rotated slightly in illustrator, and I always flatten prior to making the PDF (cuz of the transparency/drop shadow).
    It's really making me nervous that ALL our ads have these lines appearing during onscreen viewing... Im making a new batch of ads for our campaign & there are more lines than before!
    Any tips theories remedies my friends?

  • Dashed lines in Flash CS3

    Hi all, Is there a way to make the end caps of an imported
    dashed line (say from Illustrator or Canvas) straight? They seem to
    always come out round.
    I have tried making them straight lines instead of dashed
    both before and after importing them to Flash but the end caps
    still come out rounded. Flash does not let me change the end caps
    of dashed lines at all. So even if I set it correctly when it's
    still a straight line, as soon as I turn it into a dashed line, it
    turns round and I can't change it.
    Very frustrating.
    Thanks for your help,
    Aryeh

    Seems like an oversight from Adobe to me. Submit a bug report
    at the following address, and maybe they will add that
    functionality.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Draw a continuous dashed line

    I suspect the answer is simpler than I expect, but it has been eluding me none the less, so I've been wondering how to draw a continuous dashed line, as per the title. I'm cleaning up a photo I made a while back and would to create a flowing line and set it to be dashed as you can do in Adobe Illustrator, where you could draw a line and edit the line type to be dashed, or dotted, or a bunch of snowflakes or what have you.
    I can hear you asking, "why not just use Illustrator?". Well, I do not have it. I used Illustrator and Photoshop CS6 in an art class senior year of high school, but it has been a little while so I'm trying to re-learn the ropes a little bit.

    I was able to use Filter - Other - Minimum with a particular set of parameters, followed by a Median filter to smooth the results, to get something not unlike what you showed, but given that I derived the parameters empirically from your very limited image, at exactly the size given, I wouldn't be surprised if the characteristics of this sequence of operations are way off from what you want.
    In any case, if you'd like to see this "proof of concept" action to understand what I did, here it is:
    http://Noel.ProDigitalSoftware.com/ForumPosts/BlackFindingAction.zip
    Keep in mind this will be VERY sensitive to the thresholds and sizes chosen for the various steps, and is crafted to work at an image with just the resolution you showed above.
    -Noel

  • How to create a dashed line for cell border

    Hi,
    Is anyone know How to apply the style for cell border to get the dotted line in WinRT 
    In WPF i will get the dotted line for cell border using this way.
    <DrawingBrush Viewport="0,0,20,20" ViewportUnits="Absolute" TileMode="Tile">
    <DrawingBrush.Drawing>
    <DrawingGroup>
    <GeometryDrawing Brush="Black">
    <GeometryDrawing.Geometry>
    <GeometryGroup>
    <RectangleGeometry Rect="0,0,50,50" />
    <RectangleGeometry Rect="50,50,50,50" />
    </GeometryGroup>
    </GeometryDrawing.Geometry>
    </GeometryDrawing>
    </DrawingGroup>
    </DrawingBrush.Drawing>
    </DrawingBrush>
    Thanks in Advance,

    check this thread: 
    http://stackoverflow.com/questions/14673643/windows-store-apps-how-to-draw-a-dashed-line
    Fouad Roumieh

  • Can not draw a solid line after drawing a dashed line

    I have been using a Graphics2D object in order to paint onto a buffered image and then transition that to a panel for viewing. The way the program works requires me to create the dashed line first through BasicStroke. After doing this I have tried to reset the setStroke with multiple new pens including BasicStroke(), BasicStroke(1.0f), and BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL, 0.0f, new float[] {1,0}, 0.0f).
    Any ideas as to why I am still incapiable of drawing a solid line?

    Any ideas as to why I am still incapiable of drawing
    a solid line?Without seeing any code, I could guess, but my guess and a quarter won�t even buy you a newspaper around here now a days.
    Seriously though, you need to create a short, self contained, compilable example. Look here for an explanation on how to create this:
    http://www.physci.org/codes/sscce/

  • Dashed line "Dash" & "Gap" options

    Hey all, looking for a CS3 tip here.
    I use a lot of dashed strokes, and I've found that when I enter values in the Dash and Gap boxes, I later can't delete the values entirely. I can delete whatever I entered, but Illustrator won't leave the box blank - it now fills the box with 0 point.
    For example, I create a path, turn on Dashed Line, then enter 2 point Dash, 1 point Gap, and accidentally Tab to the third box. Once the focus has been put on that third box, it won't remain blank, the best I can have is 0 point. So now continuing the example, my stroke is 2 point dash, 1 point gap, 0 point dash (slightly visible on screen, invisible in print), 1 point gap, and repeat. The net effect is that it looks like a 2 point dash followed by a 2 point gap.
    Any way to reset the box to contain NO information? It's bugging me because once I've created one of these "bad" dashed strokes, I either have to fudge my values to make it look right, or quit illustrator and start over because the bad values are persistent any time I turn on the dashed line checkbox until Illustrator is quit.

    I'm deleting everything in the box, and just to be sure, I've tried clicking in the box and hitting command-a to select all, then hitting delete. But whether I do it that way or drop the cursor in at the end tap delete repeatedly, it still auto-fills "0 pt" when I leave the box.
    As to the second point, I always try emptying the boxes from right back to the left. I get the effect you describe if I empty the first box - they all reset to blank and the "dashed line" checkbox changes to unchecked. But the moment I try to put a dashed line on a path again, it refills with the previous setting, including the 0 pt entries on the right most boxes that I would hope to stay blank.
    I take it your installation doesn't replicate the behavior I'm experiencing? I will be upgrading to Leopard just as soon as I have a slump - I can just wait to see if a clean installation of Illustrator takes care of it.
    Thanks.

  • Dashed line showing up on placed psd in indesign

    Please help! I created flyer in indesign and placed some PSD graphics into the indesign file.  However when those files are placed on top of a "dotted" line—after printed a white "dashed" line appears.  (the line does not appear in digital file at all—only in print file, so I had to post a crappy scan, but I think it gets the point across). 
    Any insight to this issue?
    Much Thanks!
    Desiree

    Okay, another (probably bad) suggestion: Make a new 'rich black' swatch and change all your problem objects to use the new swatch.
    This screenshot is using a mix of C=20 M=10 Y=10 K=100 that I threw together for a sample. The left block is the 'rich black' and the right is 100% K only. InDesign displayed both as the same color, but when exported to PDF, the difference was visible (from which the screenshot was captured).
    Other mixes I've found referenced elsewhere are:
    C=80 M=80 Y=70 K=90
    C=35 M=45 Y=35 K=100
    C=45 M=35 Y=35 K=100
    If you were using an outside vendor, I'd suggest getting in contact with them to find out what their preferred blend is. Otherwise, since you seem ot be doing things in-house, you can make a test page with a variety of mixes to determine which one produces the level of black that you want from your Konica.
    If you are using a Mac, you may be able to locate an applescript code on the forums which will allow you to globally change all objects using the [Black] swatch with another swatch in your list.
    YMMV
    -mt
    And Peter responded while I was messing around. Lots of combinations.
    Aaannnd.. perhaps I should have read the remainder of the posts instead of jumping into this... ^_~
    Hope it all helps get this resolved for you, anyway!
    Message was edited by: MT.Freelance

  • Dashed line in Health app?

    Hi,
    I tracked a run today using Endomondo that posted the calories burned into Health in iOS8. However, the chart is sowing a dashed line as opposed to a solid line as it has done in the past
    Does anyone know what this means? The calories have been shared with all the other connected apps, so I'm not too concerned, I'm just curious!
    Many thanks,

    The dashed line corresponds to gaps in the data, spanning points in time where you did not log any activity.  For example, I cycled on Oct. 16 & 17, so the Week view shows a solid line between those adjacent days for which there was recorded activity.  I did not cycle again until Oct. 20, so there is a data point showing that day's activity on the 20th and a dashed line connecting to the previous data point (on the 17th).
    This is actually to prevent confusion about the meaning of the lines spanning the points.  The dashed line makes it easier to see that I did not cycle in those intermediate days, while still allowing me to see at-a-glance that my activity on the 20th was less strenuous (since the line slopes downward) than that previous point back on the 17th.

Maybe you are looking for

  • How to import a message class in a fm

    Hello! I' m programminn a FM. I need to use a message class that i have created. How i can import it? I have to return a strcuct which i have to copy my message class. My code:           DETAIL_RETURN-ID =           DETAIL_RETURN-NUMBER =           D

  • When ever the power goes out or I restart my iMac the external hard drive that is used by Time Machine for backups is dismounted ?

    When ever the power goes out or I restart my iMac the external hard drive that is used for backups by Time Machine is dismounted and all backups are gone. I can reselect it and it will start working again, but I am worried if the iMac hard drive shou

  • Replace field in internal table

    Hi gurus, I have an internal table in which I need to replace a field with a different value.  I have tried the REPLACE __ IN TABLE __ WITH statement, but it did not seem to work.  Also, I cannot use a SORT TABLE statement because the record needs to

  • Apple Digital Camera Raw Compatibility - 3.1

    This update extends RAW image compatibility for Aperture 3 and iPhoto 09 for the following cameras: Hasselblad H3DII-50 Leica M9 Leica X1 Olympus E-P1 Olympus E-P2 Panasonic Lumix DMC-GF1 Pentax K-7 Pentax K-x Sony Alpha DSLR-A500 Sony Alpha DSLR-A55

  • Export SAP Customer Data to Other Application

    Hi Techies, I have to create a functionality which works like, Whenever any Customer is created or updated, the particular data should be export to another application's database. Can any one please suggest me what the path I should follow. I heard m