Making a moving shape

hi, i am looking to see how to paint a circle on a panel and then make it move up and down with buttons.
can anyone help me? could someone post a simple program of what i am looking for please?
thank you

hi,Hello
i am looking to see how to paint a circleGraphics.drawOval (int x, int y, int width, int height)
on a panelOverride paintComponent (Graphics g) and don't forget to call super.paintComponent (g).
and then make it move up and down with buttons.addActionListener (...) to the buttons and change the x and y coordinates used by Graphics.drawOval (...). x and y sould be instance fields.
can anyone help me? could someone post a simple program of what i am looking for please?Posting a program is not help. Do you have a link to the Swing tutorials?
{color:0000ff}http://java.sun.com/docs/books/tutorial/uiswing/TOC.html{color}
You'll find all you need (and more) there. Put something together, and come back if you have a specific question to ask.
{color:0000ff}http://catb.org/~esr/faqs/smart-questions.html
mindprod.com/jgloss/sscce.html{color}
To post code, use the code tags -- [code]Your Code[/code]will display asYour CodeOr use the code button above the editing area and paste your code between the tags it generates.
luck, db

Similar Messages

  • Overlaying a video over a moving shape in another video?

    I'm looking to do this (Dropbox - Creepy Scarf Guy.mov) but with myself moving. As in, a video almost like a double exposure slightly visible with minimum opacity but on a moving shape, aka myself. I can do with an image, but not a person in a video.
    I plan on recording against a plain white or black background, so I can mask it out easier later on.
    Ideas? I can't find tutorials.

    Double exposure to me says 2 layers and partial transparency. Just duplicate your layer, adjust opacity and experiment with blend modes.
    If you want to remove the background the use color not white or black. It will be much easier to green screen something than try and remove a white or black background. Any local fabric store will have some green or blue (best color depends on the clothing and hair color of the actor) fabric that you can hang on a wall...

  • Making a moving bar

    I'd like to make a box move back and forth in a bar. I know this sounds vague, but I'll try to draw a picture:
    |                   [ ]                 |Now, I want that [ ] to move back and forth a varying speeds as I want to make a game where you have to try to press a button as it is in a specific area, kind of like this:
    |        [ ]   |    here    |           |So when the box passes through that area and the player presses a button, they will get a point. Now, my question is, how do I go about to making that? As of now, my idea is very inefficient but I'll explain it anyways.
    I'll make several images of this bar and box with the box in a different position each time. Then I'll make a loop with a timer and it'll go through to make the box go one way, switch to another loop and make it go the other way. When the player presses a button, it'll record what number the loop is at (like a for loop for example, and the counter) to determine if it's in the area or not. As the player consecutively hits the area, the timer's increments will be changed.
    Now, I assume there's a easier way, but I could be wrong. If there's another way to do this, could someone just explain how to do it? Thank you very much in advanced.

    * MovingBar.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.Timer;
    import javax.swing.border.*;
    public class MovingBar extends JFrame implements ActionListener{
        public MovingBar(){
            setTitle("Moving Bar");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel mainPanel = new JPanel();
            bar = new Bar();
            mainPanel.add(bar);
            getContentPane().add(mainPanel,BorderLayout.CENTER);
            btn.addActionListener(this);
            toolbar.add(btn);
            results.add(label);
            getContentPane().add(results,BorderLayout.NORTH);
            getContentPane().add(toolbar,BorderLayout.SOUTH);
            setSize(500, 130);
            setLocationRelativeTo(null);
            setVisible(true);
            bar.setPosition(0);
            Timer timer = new Timer(1,this);
            timer.start();
        public static void main(String[] args) {
            new MovingBar();
        public void actionPerformed(ActionEvent evt){
            if(evt.getSource() instanceof JButton){
                if( newGame ){
                    label.setText("");
                    points=0;
                    newGame = false;
                if( position>200 && position<300 ){
                    if(speed<=11){
                        points++;
                        speed++;
                        label.setText(points+" points     ");
                        if(speed==11){
                            label.setText(points+" points       Game Over");
                            speed = 1;
                            newGame = true;
                }else{
                    if(speed<=11){
                        points--;
                        label.setText(points+" points     ");
                return;
            if(rightDirection) position += speed;
            else               position -= speed;
            if( position >480 ) rightDirection=false;
            if( position <0 )   rightDirection=true;
            bar.setPosition(position);
            bar.repaint();
        private boolean rightDirection = true;
        private boolean newGame = true;
        private JPanel toolbar = new JPanel();
        private JPanel results = new JPanel();
        private JButton btn = new JButton("Hit");
        private JLabel label = new JLabel();
        private Bar bar;
        private int position, points;
        private int speed = 1;
    * Bar
    class Bar extends JPanel {
        public Bar() {
            setPreferredSize(new Dimension(10, 30));
            setBackground(Color.red);
            setBorder(new LineBorder(Color.BLACK));
        public void setPosition(int position){
            setLayout(null);
            setLocation( position, 0 );
    }

  • How to add moving shapes over video?

    Hi,
    I am making a short video that explains how to use some software for my job. I want to make a red rectangle appear around a particular item to highlight it (such as the mouse pointer) and be able to follow the motion of the item. I saw in the Boris documentation there was reference made to vector shapes, but I could not figure out where to create them. How can I create simple shapes that can move around and dynamically change size? Thanks.
    Message was edited by: mbmasuda
    Sorry, I forgot to say I am using Final Cut Express HD 3.5.

    The only way you can do it within FCE is by using motion keyframes. Create the shape in Photoshop, making sure it confirms to your video settings. You may also be able to create the shape within FCE by using a combination of Color (from Video Generators>Matte) and applying Mask Shape to it.
    Set the shape on the video track above your clip (ie clip on V1, shape on V2). Click on the shape to open the motion controls in the Canvas (make sure Image + Wireframe is selected in Canvas). Now use the Motion contorl tab in the Viewer or the Motion handles in the Canvas to move the shape, setting Keyframes to animate the motion

  • Making a moving/running backround

    Hey guys, I am a beginner in Adobe After Effects, and I just finished my first intro for all my videos. However, my background just sits there. Is there any way to make the dots move like a conveyor belt moving towards the back?
    here is my background
    Thanks,
    TsterT

    Ok, here's a step in the right direction, but beware that
    without a fundamental knowledge of after effects some of this may seem a bit complex:
    Looking at what you've created, if I wanted to translate that to the type of animation that you want, I would first create a dot comp.  That's a comp that just has your source dots in it.  Could be done any number of ways: photoshop, illustrator, shape layers or masks inside of AE, whatever.  But these dots are laying flat, undistorted in any way.
    Then I would take that comp into another comp, and to get the horizontal motion I would try the effect: stylize->motion tile.  Adjust the output width property so that your dots now tile horizontally, and you are able to animate the x-position for your dots comp.
    Then I would put this animated dots comp into a 3rd, master comp, where I would first try something like a distort->mesh warp to get the shape you are after (play with the settings, grab the warp points on the stage and move them around...my thought is that the less rows and columns you have the cleaner the distortion will be).  I would also play with something like corner pin (this will create a different, but possibly interesting distortion), and I might even try the puppet tool to shape it, although the puppet tool needs to mature a little bit before it can cleanly and efficiently handle something like this.
    In doing this, you will have your dots layer animating, and the distort will take care of the custom shape you want.  To get that reflection you may want to take that master comp into a FOURTH comp, duplicate it, set the y scale to a -100% (or whatever) and then try effect->transition->linear wipe and play with the settings in there to get that soft falloff.
    This is not the only way it can be done, and it may not even work exactly as you'd like, but again if I were doing it, this is where I would start.
    I hope that helps

  • Making a vector shape from a design

    Hello all,
    I've been a very casual photoshop user for years, and know the basics of the program. However I'm a bit stumped with a current task. I recently had a friend do a single color shape-based logo design for my band. I love what he came up with, but I never got any type of hi-res or vector files from him (just a jpg of the logo on white BG), and he has since been very busy with work and other things. I was able to pull out the white from the middle of the logo (image attached in PNG format for reference) to make the shape usable for smaller designs (stickers etc), but I'd like to be able to size it up without loss of quality. I tried to select by color and make a path from the selection, but that didn't look right no matter how I tried. Is there any way that do something similar so that I could make the shape into a vector? Thanks in advance for any help.

    230x330 just isn't big enough to use as a basis, and the author surely isn't so busy that they can't email the artwork through to you as an attachment.  do you know what app they used?  In the few minutes since my last post I have made a work path of the outside, and one of the cutouts.  If you did the same and scaled up the work path so you could clean up the curves, you could make the dots with half tone on a raster layer, convert that to a path, and combine with the main art work.  You'd need to maneuver and mask the half tone dots into place, and on several different layers.  Do this at a decent pixel size if that's the way you want to do it.
    Or you could do the entire thing as a vector in the first place.  Lay out a row of dots and FT using perspective to make them taper.  Maybe a wee bit fiddly, but an hour or two should easily cover it.
    Or just ask your friend for the art work for you to finish 'if your friend is really so busy'.

  • Making the icon shape match the image

    So I have an image I want to use as an icon for a folder.  I basically want the icon to appear just as the shape of the image, with the background coming through the surrounding, i.e. the W in the Word icon. Currently when I paste the image to the folder as an icon image, it is surrounded by a white box (the background).
    I've through several searches, have made the background transparent in Photoshop, exported as a png, have reopened in Preview and have had no background showing.  Unfortunately when I attach it to the folder it is still bound with a white box when displayed as the icon, SL puts the white background back in.
    Any help, or links to examples I can use to fix this?

    Mac OS X (10.6.4)
    Use Software Update or the OS 10.6.8 combo update to update your OS.  Also, update everything SU has to offer for your computer.  When done, repair permissions and restart your computer.
    After doing the above:
    Highlight the icon........
    Hold down the Option Key......
    Go to File>Get Info......
    In the existing window, click the existing icon, and then choose Edit>Copy
    Next, click the icon to which you want to transfer the copied icon.  Its icon now appears in the Info dialog box that’s still open on the screen. 
    Click the icon in the dialog box, and this time choose Edit>Paste.  Viola!!!!!  You now have a new icon.
    Or you can download this easy to use simple shareware program called CandyBar.  This easy to use piece of software is also less time consuming.  And is now FREE!!!!!!

  • Why can't I use a match-moved shape as a mask?

    Hey guys,
    Similar to the subject line, I'm trying to get a rectangle I've four-corner pinned to an underlying baked Quicktime movie in my sequence "punch" through that Quicktime movie in order to show work underneath. When I drag the match-moved rectangle to the movie's Image Mask trough, nothing happens.. checking its properties, there's nothing in the movie's trough at all, as though it's some kind of illegal-type operation. I'd appreciate any ideas.

    I figured it out, but in case somebody comes up to a similar difficulty, I had neglected to have the match-moved object (in this case, a rectangle) as part of a 2D group.. apparently it doesn't work in a 3D group. Thanks anyways.

  • Making a Smart Shape a button will not pause slide

    Hi.
    I am not sure what I am doing wrong but when I use a smartshape as a button (I am selecting the Use as Button checkbox), the slide will not pause like it does when I insert a button.  Any thoughts on what I am doing wrong?
    Thanks,
    Jeff

    Hello Jeff,
    Maybe this post will provide you with more details, will explain shortly: http://blog.lilybiri.com/why-i-like-shape-buttons-captivate-6
    Normal buttons pause by default at 1.5secs, and you can uncheck the pause, change the timing in the Properties panel, Timing accordion.
    Shape buttons do not pause by default. You have to check the Pause in the Timing accordion:
    But they have a lot more advantages, as you can see in this screenshot, they can be shown for the rest of the project, which is impossible with any other interactive object.

  • Moving shape with arrow keys

    Hello,
    How would I click on one of the circles I've created and move them using the arrow keys. The circles move just fine with the drag of the mouse but now I want to use the arrow keys. Can somebody help me please? I would really appreciate the assistance.
    Michael
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class DragBallPanel extends JPanel implements MouseListener, MouseMotionListener, KeyListener
    private static final int BALL_DIAMETER = 50; // Diameter of ball
    private static final int BALL_DIAMETER2 = 50;
         //--- instance variables
    /** Ball coords. Changed by mouse listeners. Used by paintComponent. */
    private int _ballX     = 50;   // x coord - set from drag
    private int _ballY     = 50;   // y coord - set from drag
    private int x2 = 200;               // starting x coord for 2nd ball
         private int y2 = 200;               //starting y coord for 2nd ball
         private int x3 = 75;
         private int y3 = 150;
    /** Position in ball of mouse press to make dragging look better. */
    private int _dragFromX = 0;    // pressed this far inside ball's
    private int _dragFromY = 0;    // bounding box.
    private int xInsideBall = 0;     //coordinates of where the mouse is pressed inside second ball
         private int yInsideBall = 0;     //is pressed inside second ball
         private int x3InsideBall = 0;     //coordinates of where the mouse is pressed inside second ball
         private int y3InsideBall = 0;     //is pressed inside second ball
    /** true means mouse was pressed in ball and still in panel.*/
    private boolean _canDrag  = false;
         private boolean _canDrag2  = false;
         private boolean _canDrag3  = false;
         /** Constructor sets size, colors, and adds mouse listeners.*/
    public DragBallPanel()
              setPreferredSize(new Dimension(400, 400));
    setBackground(Color.ORANGE);
    setForeground(Color.BLUE);
    //--- Add the mouse listeners.
    this.addMouseListener(this);
    this.addMouseMotionListener(this);
    }//endconstructor
         /** Ball is drawn at the last recorded mouse listener coordinates. */
    public void paintComponent(Graphics g)
    super.paintComponent(g); // Required for background.
    g.fillOval(_ballX, ballY, BALLDIAMETER, BALL_DIAMETER);
              g.setColor(Color.RED);
              g.fillOval(x2, y2, BALL_DIAMETER2, BALL_DIAMETER2);
              g.setColor(Color.BLACK);
              g.fillOval(x3, y3, BALL_DIAMETER2, BALL_DIAMETER2);
         }//end paintComponent
         public void mousePressed(MouseEvent e)
    int x = e.getX(); // Save the x coord of the click
    int y = e.getY(); // Save the y coord of the click
    if (x >= ballX && x <= (ballX + BALL_DIAMETER)
    && y >= ballY && y <= (ballY + BALL_DIAMETER))
    _canDrag = true;
    dragFromX = x - ballX; // how far from left
    dragFromY = y - ballY; // how far from top
              else
    _canDrag = false;
              //clicked on 2nd ball
              if(x >= x2 && x <= (x2 + BALL_DIAMETER2)
                        && y >= y2 && y <= (y2 + BALL_DIAMETER2) )
                   _canDrag2  = true;
                   xInsideBall = x - x2;
                   yInsideBall = y - y2;
              else
    _canDrag2 = false;
              if(x >= x3 && x <= (x3 + BALL_DIAMETER2)
                        && y >= y3 && y <= (y3 + BALL_DIAMETER2) )
                   _canDrag3  = true;
                   x3InsideBall = x - x3;
                   y3InsideBall = y - y3;
              else
    _canDrag3 = false;
         }//end mousePressed
         public void mouseDragged(MouseEvent e)
    // True only if button was pressed inside ball.
    //--- Ball pos from mouse and original click displacement
              if (_canDrag)
    ballX = e.getX() - dragFromX;
    ballY = e.getY() - dragFromY;
    //--- Don't move the ball off the screen sides
    ballX = Math.max(ballX, 0);
    ballX = Math.min(ballX, getWidth() - BALL_DIAMETER);
    //--- Don't move the ball off top or bottom
    ballY = Math.max(ballY, 0);
    ballY = Math.min(ballY, getHeight() - BALL_DIAMETER);
    this.repaint(); // Repaint because position changed.
              if (_canDrag2)
                   x2 = e.getX() - xInsideBall;
                   y2 = e.getY() - yInsideBall;
                   x2 = Math.max(x2, 0);
                   x2 = Math.min(x2, getWidth() - BALL_DIAMETER2);
                   y2 = Math.max(y2, 0);
                   y2 = Math.min(y2, getHeight() - BALL_DIAMETER2);
                   this.repaint(); // Repaint because position changed.
              if (_canDrag3)
                   x3 = e.getX() - x3InsideBall;
                   y3 = e.getY() - y3InsideBall;
                   x3 = Math.max(x3, 0);
                   x3 = Math.min(x3, getWidth() - BALL_DIAMETER2);
                   y3 = Math.max(y3, 0);
                   y3 = Math.min(y3, getHeight() - BALL_DIAMETER2);
                   this.repaint(); // Repaint because position changed.
    }//end mouseDragged
    public void keyPressed(KeyEvent ke)
         //int x = e.getX(); // Save the x coord of the click
    //int y = e.getY(); // Save the y coord of the click
              int dx = 10;
              switch (ke.getKeyCode())
              case KeyEvent.VK_LEFT: // move x coordinate left
              _ballX -= dx;
              ballX = Math.max(ballX, 0);
              break;
              case KeyEvent.VK_RIGHT: // move x coordinate right
                   _ballX += dx;
              ballX = Math.min(ballX, getWidth() - BALL_DIAMETER);
              this.repaint();
    public void mouseMoved (MouseEvent e) {} // ignore these events
    public void mouseEntered (MouseEvent e) {} // ignore these events
    public void mouseClicked (MouseEvent e) {} // ignore these events
    public void mouseReleased(MouseEvent e) {} // ignore these events
    public void mouseExited (MouseEvent e) {}     // ignore these events
         public void keyReleased (KeyEvent ke) {} // ignore this junk
         public void keyTyped     (KeyEvent ke) {} // ignore this junk
    }//endclass DragBallPanel

    A couple of notes:
    - That code did not add the keyListener to anything.
    - At the moment (in the altered code below), only the blue circle moves, and only left/right. It is left as an exercise to the OP to 'take it from there'.
    - It only took four more lines of code to turn that code into an SSCCE*, which will generally get more help.
    - Please use code indentation, and the code formatting delimiters, when posting code. It makes code a lot easier to read and understand.
    * The SSCCE is described at..
    <http://www.physci.org/codes/sscce.html>
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class DragBallPanel extends JPanel
      implements MouseListener, MouseMotionListener, KeyListener
      private static final int BALL_DIAMETER = 50; // Diameter of ball
      private static final int BALL_DIAMETER2 = 50;
      //--- instance variables
      /** Ball coords. Changed by mouse listeners. Used by paintComponent. */
      private int _ballX = 50; // x coord - set from drag
      private int _ballY = 50; // y coord - set from drag
      private int x2 = 200; // starting x coord for 2nd ball
      private int y2 = 200; //starting y coord for 2nd ball
      private int x3 = 75;
      private int y3 = 150;
      /** Position in ball of mouse press to make dragging look better. */
      private int _dragFromX = 0; // pressed this far inside ball's
      private int _dragFromY = 0; // bounding box.
      private int xInsideBall = 0; //coordinates of where the mouse is pressed inside second ball
      private int yInsideBall = 0; //is pressed inside second ball
      private int x3InsideBall = 0; //coordinates of where the mouse is pressed inside second ball
      private int y3InsideBall = 0; //is pressed inside second ball
      /** true means mouse was pressed in ball and still in panel.*/
      private boolean _canDrag = false;
      private boolean _canDrag2 = false;
      private boolean _canDrag3 = false;
      /** Constructor sets size, colors, and adds mouse listeners.*/
      public DragBallPanel()
        setPreferredSize(new Dimension(400, 400));
        setBackground(Color.ORANGE);
        setForeground(Color.BLUE);
        //--- Add the mouse listeners.
        this.addMouseListener(this);
        this.addMouseMotionListener(this);
        // add the keylistener!
        this.addKeyListener(this);
        // make sure the panel is focusable
        setFocusable(true);
      }//endconstructor
      /** Ball is drawn at the last recorded mouse listener coordinates. */
      public void paintComponent(Graphics g)
        super.paintComponent(g); // Required for background.
        g.fillOval(_ballX, _ballY, BALL_DIAMETER, BALL_DIAMETER);
        g.setColor(Color.RED);
        g.fillOval(x2, y2, BALL_DIAMETER2, BALL_DIAMETER2);
        g.setColor(Color.BLACK);
        g.fillOval(x3, y3, BALL_DIAMETER2, BALL_DIAMETER2);
      }//end paintComponent
      public void mousePressed(MouseEvent e)
        int x = e.getX(); // Save the x coord of the click
        int y = e.getY(); // Save the y coord of the click
        if (x >= _ballX && x <= (_ballX + BALL_DIAMETER)
        && y >= _ballY && y <= (_ballY + BALL_DIAMETER))
          _canDrag = true;
          _dragFromX = x - _ballX; // how far from left
          _dragFromY = y - _ballY; // how far from top
        else
          _canDrag = false;
        //clicked on 2nd ball
        if(x >= x2 && x <= (x2 + BALL_DIAMETER2)
          && y >= y2 && y <= (y2 + BALL_DIAMETER2) )
          _canDrag2 = true;
          xInsideBall = x - x2;
          yInsideBall = y - y2;
        else
          _canDrag2 = false;
        if(x >= x3 && x <= (x3 + BALL_DIAMETER2)
          && y >= y3 && y <= (y3 + BALL_DIAMETER2) )
          _canDrag3 = true;
          x3InsideBall = x - x3;
          y3InsideBall = y - y3;
        else
          _canDrag3 = false;
      }//end mousePressed
      public void mouseDragged(MouseEvent e)
        // True only if button was pressed inside ball.
        //--- Ball pos from mouse and original click displacement
        if (_canDrag)
          _ballX = e.getX() - _dragFromX;
          _ballY = e.getY() - _dragFromY;
          //--- Don't move the ball off the screen sides
          _ballX = Math.max(_ballX, 0);
          _ballX = Math.min(_ballX, getWidth() - BALL_DIAMETER);
          //--- Don't move the ball off top or bottom
          _ballY = Math.max(_ballY, 0);
          _ballY = Math.min(_ballY, getHeight() - BALL_DIAMETER);
          this.repaint(); // Repaint because position changed.
        if (_canDrag2)
          x2 = e.getX() - xInsideBall;
          y2 = e.getY() - yInsideBall;
          x2 = Math.max(x2, 0);
          x2 = Math.min(x2, getWidth() - BALL_DIAMETER2);
          y2 = Math.max(y2, 0);
          y2 = Math.min(y2, getHeight() - BALL_DIAMETER2);
          this.repaint(); // Repaint because position changed.
        if (_canDrag3)
          x3 = e.getX() - x3InsideBall;
          y3 = e.getY() - y3InsideBall;
          x3 = Math.max(x3, 0);
          x3 = Math.min(x3, getWidth() - BALL_DIAMETER2);
          y3 = Math.max(y3, 0);
          y3 = Math.min(y3, getHeight() - BALL_DIAMETER2);
          this.repaint(); // Repaint because position changed.
      }//end mouseDragged
      public void keyPressed(KeyEvent ke)
        System.out.println("key PRESSED");
        //int x = e.getX(); // Save the x coord of the click
        //int y = e.getY(); // Save the y coord of the click
        int dx = 10;
        switch (ke.getKeyCode())
          case KeyEvent.VK_LEFT: // move x coordinate left
            _ballX -= dx;
            _ballX = Math.max(_ballX, 0);
            break;
          case KeyEvent.VK_RIGHT: // move x coordinate right
            _ballX += dx;
            _ballX = Math.min(_ballX, getWidth() - BALL_DIAMETER);
        this.repaint();
      public void mouseMoved (MouseEvent e) {} // ignore these events
      public void mouseEntered (MouseEvent e) {} // ignore these events
      public void mouseClicked (MouseEvent e) {} // ignore these events
      public void mouseReleased(MouseEvent e) {} // ignore these events
      public void mouseExited (MouseEvent e) {} // ignore these events
      public void keyReleased (KeyEvent ke) {} // ignore this junk
      public void keyTyped (KeyEvent ke) {} // ignore this junk
      /** Add a main(), to make this an SSCCE. */
      public static void main(String[] args) {
        DragBallPanel dbp = new DragBallPanel();
        JOptionPane.showMessageDialog(null, dbp);
    }//endclass DragBallPanel

  • Making a Circle Shape with Dots

    How do I make a circle out of dots in Illustrator?

    Step 1: Create a single dot.
    Step 2: With your dot still selected, select the Rotate Tool (R).
    Step 3: Left click once where you want the center of your circle to be in relation to your dot.
    Step 4: While holding Option/Alt the whole time, click and drag your dot to the left or right, it will rotate around the point you just designated with the Rotate Tool. Release it when you're comfortable with the position of your second dot.
    Step 5: Press Cmd/Ctrl + D repeatedly, this will mimic your last action over and over, creating more dots around the point you designated in a perfect circle.

  • Making My Own Shape button in Photoshop?

    Could someone tell me what I did wrong?
    I followed the guidelines in manual and still the shapebutton which I import to DVD Pro haves only one layer, the second one right after masklayer.

    Are you trying to do a layered psd or not? I assume you are saving as .psd. Are the layers you want to show visible in Photoshop before you save?

  • Rotating shapes?

    Does anyone know how to make moving shapes in Adobe Premiere Pro?
    What I'm trying to do is making a square and have it rotate slowly e.g 90 degrees but stay in the same place (if that makes sense? lol)
    Thanks.

    Welcome to the forums.
    This is easily accomplished with the PPro Titler. Create a title with a single square in the middle. Put that title on the timeline and click on it, then look in the Effect Controls Panel and keyframe the rotation parameter.
    You will also find links to many free tutorials in the PremiereProPedia that will quickly show you how things are done in Premiere Pro.
    Cheers
    Eddie

  • Creating a tail for a moving arrow.

    Hi,
    I am trying to make an arrow move for a simple presentation in flash. Moving the arrow head and making it change shape isn't a problem with a motion tween, but I want to create a tail which follows the path of the arrow, which gets longer as the arrow moves on a spline between two boxes. Has any one got any suggestions, as key framing the tail seems a bit long winded. any suggestions would be great.  

    If you don`t need this trail to be interactive and if the animation will always happen the exact same way coding this would be a lot more timeconsuming than simply drawing it.
    Use a combination of path/motion tween to get the best control, and set the registry point to the tip of your arrow

  • Design to Complex for Shape Tween? Or too complex for my brain?

    Greetings folks,
    I don't know if my idea is possible but I've given it a try.  It has not worked out as expected.  Basically, I'm doing a multi-scene interactive animation.  In this scene, I have a proto-planet hitting proto-earth.  I was trying to have 2 spheres collide, and leave behind smooshed spheres.  I'll be attaching 3 screenshots to show you my progress.  Here is how I have it set up:
    I did not originally have the shape hints.  I added the 4 seen here after the tween behaved unexpectedly.  It did not change my outcome.
    Here is where I'd like to end up:
    Those are separate shapes, each inserted in the keyframe at the end of my intended shape tween.
    Here is the view somewhat in the middle.  I chose this particular frame because it seems to best display this "duplicating sphere" thing the best.
    Rather than morphing one to the other, it just seems to replicating the first shape instance until it hits the end of the tween.  Then it displays my smooshed spheres "out of the blue" so to speak.
    I do not know if I am asking more than the software is capable of offering or if I have made some error in my own logic.  Advice, as always, is greatly appreciated.

    The overall complexity of the vector determines the success. Are these spheres drawn using Flash? I'm able to easily draw a sphere on one frame, extend the timeline a bunch of frames, turn the timeline into a shape tween, add a keyframe at the end (which auto-adds the circle shape). I then delete the shape from the last frame and draw a completely different shape (15 sided polystar just to mention) and I messed with it a lot, moving points all over. I scrub the timeline and it morphes from the circle into the wacky polygon just fine.
    If you haven't already can you try making your planet shapes in Flash and see if it works?
    Lastly are you using 3d transforms on these layers? The double sphere almost looks like a cube has the sphere projected onto all sides in 3d.

Maybe you are looking for