Help!! Putting a sprite on a path?

I'm looking for a similar program to this, except it needs to be a circle which gets bigger as it goes along a Sprite Path and forms a pattern. The path will start at the top left and finish at the bottom right with circles being created as the Sprite moves along the path.
import animax.*;
import java.awt.Rectangle;
class MovingCircle
public static void main(String[ ] args)
Stage stage = (new AnimationFrame(500, 300, 120)).getStage();
Rectangle rect = new Rectangle(0, 0, 100, 50);
stage.add(new SpritePath(100, 150, 450, 50, sprite));
stage.add(new SpritePathDisplay( ));
This progam makes circles bigger.
import animax.*;
class circles
     public static void main(String[] args)
          int x = 350, y = 350;
          int r = 50;
          int dr = 10;
          GrafixDrawingFrame f = new GrafixDrawingFrame(700,650);
          f.drawOval(x - r, y-r, 2*r, 2*r); r = r + dr;
f.drawOval(x - r, y-r, 2*r, 2*r); r = r + dr;
f.drawOval(x - r, y-r, 2*r, 2*r); r = r + dr;
}

Moire pattern that moves along a path.
Message was edited by:
helloworld2007old mrs fuzzy-wuzzy had a square-cut punt. not a punt cut square, but a square-cut punt

Similar Messages

  • How do I put a file in my path and chmod it +x?

    I want to transfer karaoke files from my mac to my iphone (to use with karaoke anywhere). On a different message board someone explained how to do it, but I have no idea how to put a file in my path and chmod it +x; I know very little about computers.
    If it helps, the explanation that I don't understand is in post 6 of the following thread: http://forum.joltsoft.net/topic/32/bulk-transfer/

    Create a subdirectory call bin
    mkdir $HOME/bin
    Put the qsend php script in the bin directory. Make the qsend php script executable
    chmod +x $HOME/bin/qsend
    Add the following to your shell initialization file (more on the name in a moment). You can use an editor such as nano from the Terminal, or Fraise (free download), or TextWrangler (free download)
    export PATH="$HOME/bin:$PATH"
    About the initialization file. It will be either .bash_profile or .profile (NOTE: by default neither file will exist on your system, unless you created one in the past).
    Because these names start with a dot, they are hidden from the Finder, so you will need to use the Terminal and the "ls -a" command
    ls -a $HOME/.bash_profile $HOME/.profile
    If you already have a .bash_profile, add the export PATH="..." to .bash_profile
    If you do not have .bash_profile, but you do have a .profile, then add the export to .profile
    If you do not have either of those files, then create .bash_profile using nano, Fraise, or TextWrangler.
    You can find out more information about bash shell initialization files using the command "man bash".
    Once you have added your export PATH="..." command, quit the Terminal, and restart a new session, which will cause your bash shell to read the initialization file you just modified.
    You should now be able to use your qsend script.
    Message was edited by: BobHarris

  • Validation and F4 help on an application server file path parameter

    Hi
    I have a field on a selection screen called File Path and it is for a download program where the user needs to specify the path for the download (NOT THE ACTUAL FILENAME).
    I am trying to find a function or method that allows a user to use F4 help to browse for a directory rather than a specific file. There are lots of posts out there asking this question but all of the answers point to functions that allow you to browse for a particular file rather than just the file path/directory.
    Does anyone know of a function that provides F4 help to browse for a file path on the Server (NOT PC). I would want the user to just be able to select the directory or path and have the path returned. They should not need to pick a specific file.
    F4_DXFILENAME_TOPRECURSION is a very good function but unfortunately it makes the user pick a file rather than just a directory.
    In addition to this, does anyone know of a function or method that allows you to then validate the path\directory that is entered?
    Thanks for your help
    Nicole

    Hi,
      You can try with the FM 'EPS_GET_DIRECTORY_LISTING'. With this Fm module you will get you the list of files of a particular path in an internal table. Then you can populate this internal table in F4 help.
    Hope this solves your problem. If any difficulty, come back to me about that.
    Below are some other FM related to application server directory. Hope these Helps.
    EPS_GET_DIRECTORY_LISTING
    EPS_GET_DIRECTORY_PATH
    EPS_GET_FILE_ATTRIBUTES
    EPS_GET_FTP_SYSTEM_INFO
    Regards,
    Shailesh Jadhav

  • I need help putting my printer together hp photosmart cn218a b210a how do u find a book on it

    i need help putting it together i had to take it apart there was dog food jammed in it the mice

    Here is a link for the manual.
    http://h10032.www1.hp.com/ctg/Manual/c02456532.pdf
    Here is another link for a video on putting the cartridges in.
    http://www.youtube.com/watch?v=gbZkq01F7do
    ""Click on the WHITE STAR if you would like to say THANKS""
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • Putting the binaries into my path.

    Ok, I got the runtime environment extracted from the tar.gz file. The thing works fine (too bad it uses so much memory) but I need to type ./j2se1.3.0/bin/java or whatever to run the thing. I tried copying the bin folder into my /usr/bin and the lib folder into my /usr/lib but that didn't do much. How might I accomplish this?

    Either put your JAVA_HOME in the path (set PATH=$PATH:$JAVA_HOME)
    or generate a symbolic link in your /usr/bin directory (ln -s $JAVA_HOME/bin/java java).
    You can also use $JAVA_HOME/bin/.java_wrapper instead of $JAVA_HOME/bin/java and map directly to the java startscript. When you look into your $JAVA_HOME/bin directory you will see, that java is already a symbolic link to .java_wrapper.

  • Help to retrieve CATALINA_HOME's  absolute path

    Can anyone help me to retrieve the absolute path of CATALINA_HOME environment variable similar to that of retrieving JAVA_HOME's absolute path using System.getProperty("java.home").

    System.getProperty("catalina.home") That's not necessarily an absolute path.
    The start script does not require CATALINA_HOME to be absolute.
    You'll have to do something like the following
    File catalinaHome = new File(System.getProperty("catalina.home") );
    File absoluteCatalinaHome = catalinaHome.getAbsoluteFile();

  • Need help putting a crescent shape on a spiral path and applying a rainbow gradient

    Hi...please help!

    There's no glow. Just gradients.
    Three shapes:
    This is a little inexact at the left and it's not colored, but I hope you get the point.
    The gradients:

  • How to put bsp application mime object path in WAD 7.0?

    hi all.
    I'm already know 'bwmimerep:///sap/bw/mime/Customer' will be changed to /sap/bw/customer/  mime repository path when it's published in WAD7.0.
    but is there any way get mime path custom BSP Application?
    for example If I made test.jpg in 'ZBW' bsp application
    I should use full url   'http://domain:8000/sap/bc/bsp/sap/zbw/test.jpg'  instead of relative url '/sap/bc/bsp/sap/zbw/test.jpg' if I include url in WAD7.0
    is there any idea put relative url in WAD 7.0 certianly I don't want include full url because develop and product server domain is different.
    thanks.

    it looks like bwmimerep:/// prefix is the only one available which points to SAP->BW under mime repository.
    the standard help states (http://help.sap.com/saphelp_ppm400/helpdata/en/44/5001d197c01193e10000000a155369/frameset.htm) to use custom images in WAD
    "You can store your MIME objects anywhere in the MIME Repository under SAP->BW"
    May be we need a mechanism to create bcmimerep, publicmimerep, etc.
    Regards
    Raja

  • Need Help Putting Together a rMBP so I Have Everything I Need...

    Hello-
    I am having trouble getting the right kind of help from "Chat Now" on apple.com and calling in to get my questions/needs taken care of so that when I get the rMBP I will be sure I wil have what I need to go right online and teach the online courses. I even went to the local apple store and woked with a couple sames guys there, but they were not clear in a couple situations on what I would need with the different options the rMBP gives. so I am truning to the great apple forum for additional help.  this might be too much to ask even for tis forum, but if I can learn a little at a time, maybe I can gradually gain the knowledge I need to have a complete and functioning home office for my personal computing needs and my needs as an online teacher at a university back East. My technical knowledge is not the best, so as far as the rMBP goes, a big problem for me is that I do not have the knowledge to make sure I order everything I need with the changes a new rMBP will bring to my current setup (which is just a basic MBP using a wireless router and a USB cable for the printer that I just connect when I need to print). I realizee my current set up on my desk is not the most advanced, but I would need a pro to come to my office and help me get the best set-up for what I am curently using. It seems that the agents I chat with and/or talk to on the phone are aslo lacking in knowledge to help me put together a rMBP that will be ready to fully use and have with the order all that I need so that I do not have to order additional items in a mad rush to be ready for the courses I am teaching online. I have read several articles about the rMBP so that I cold have some knowledge about what I will need but as I said my techie knowledge is lacking. I am looking at the 15" rMBP with all of the full upgrades that the configure option allows one to get. I am not clear if I do run into trouble with my wi fi and have to use my ethernet cable what I will need to do this. I also have programs that are older that I am guesing I will need to install using a DVD player. I would like to hook up the printer I have or a new Canon printer and use it wirelessly, but for now I will most likely be using it with a USB cable. I am not clear on the thunderbolt technology and if I should get any of these cables for any of the connections. I also would like to get a great speaker system and will need to hook that up, but I am not clear on the best way to do this. I have been wanting an iMac, but I am not sure what is a good slection to get and how to connect it to the rMBP or one of the other 2 older MBPs I currently have.
    If somebody could list for me what I would need to have a complete rMBP that will allow me to do these hookups and connections and explain what would be the best way to complete the various connections so that I have all that I will need to get up and running, I would really appreciate it. Because I do not have any USB 3.0 cables or cables for various additional connections, I would need help/suggestions in this area. I realize this is hard to do not seeing my office, but since I will be starting new with the purchase of the new rMBP and hopefully an iMac (and a new Canon printer and new set of great sounding speakers) getting some advice on what I should order for the various connections would be a hugh help. Part of the problem is with the rMBP and not having used one of these in the past. I know some of the differences with this machine like the lack of an internal SuperDrive and the new ports, but I do not know what cables I will need that will utilize the newer technology this machine and an imac will bring to my office.
    Any suggestions are greatly appreciated, even if you do not give me specific answers, but an idea, for example, of what I might need to connect the speaker system (knowing the best way the new speaker system shold be connected to the rMBP and/or the iMac. I am not even clear if I do want to use the iMac with the rMBP for teaching with a larger display what I will need to connect the imac to the rMBP. is this done by an HDMI cable and if so is there a specific type or example you could mention that is on apple.com?

    There are many differences with the new rMBP. There are ports that I am not sure what I would use them for.  Even the ethernet cable I use now to get the internet will not work with the rMBP.  I thought there would be some additional help on here.  as far as configuring the rMBP there are just a few options but the differences between an older MBP and the new rMBP is great.  No need to reply I will turn off email notifications. I gave as much information as I did because in the past I was told to give more information.

  • NEED HELP PUTTING MULTIPLE PAGES TOGETHER IN 1 PDF

    HOW DO I PUT 10 PAGES TOGETHER TO OPEN IN 1 PDF?

    Thanks Janelle - I do not have that ability with the Epson RX580. Epson just answered my tech support question with this answer:
    I am sorry you are experiencing difficulties with your EPSON Stylus Photo RX580. Unfortunately this feature is not available with Mac OS X. You will need a third-party software that will help you with this, such as Poster Print for Mac or Tiler. Please note though that Epson does not support these applications.
    So I guess my question becomes what software can I use to print my images on multiple pages. As I do large photo transfers I need to be able to do this with my mac in an efficient way and not try to cut portions of image into seperate print jobs that would be too time consuming. HAve you had any experience with other software. If not I guess the next question  what printer would you recommend that would do this with my MAC. I have included a pic of one of my larger transfers on a cupboard. To do this I needed the image to be tiled on 8 different sheet of 8.5x11 so this is a feature I need through either software or a printer that is easy to use and easily accessible. Thanks Krista
    I am inl

  • I need help putting Classical Music CDs into iTunes

    I need help - this question has lots of subquestions, sorry.
    I have found just a few discussions that deal with this but I am still confused. Forgive me if I get wordy and misuse technical terms - I am trying to learn this thing...
    I'm an iPod newbie and haven't a clue on the best way to organize my many, many classical CDs that I'd like to put onto my iPod Classic 160G. I'd also like to do this with as little fussing around as possible since there are lots of CDs I've got to deal with.
    If each CD is a separate entry [album?] in the playlist and titled with composer name first [ex Bach, Brandenburg Concertos, Titov conductor] I'll have several playlist entries with the same titles, but different contents. No problem really.
    But, should I separate it further, by having each concerto [say] be a separate entry in the playlist - without having to download the CD again. [I've just practiced on a few CDs but I imagine it being a problem if I had to download each CD several times - once for each work] Does it make sense to leave gaps between movements? [I'm not finding a way to remove gaps, though I have seen that suggested somewhere]
    And when I come to play the pieces, if I start playing a work in a playlist, will the iPod keep going from one movement to the next as it makes its way through the playlist - or will it stop at each movement and wait for me to tell it what to do next?
    Advanced Settings - are these the best? I'll be listening to music on an airplane using noise cancelling headphones and at destination attaching iPod to portable speakers to listen to music in hotel rooms.
    General: Keep iTunes Music folder organized - unchecked? [not sure what this means or does or doesn't do]
    Copy files to iTunes Music folder when adding to library - checked?
    Importing: AAC encoder? High quality -128 kbps?
    Thanks for all your help - I know this is a multiple set of questions and perhaps should have been broken up...
    Mrs H
    Message was edited by: Mrs H to fix typos
    Message was edited by: Mrs H

    Thank you so much for your help. You have sorted out a lot of problems for me. I've tried to go through what you wrote, add some more info and I have asked a few more questions below-
    I re-ripped at 256. I too have the 160GB classic so it's good to know that it will take 10,000 tracks as lossless - now I have to re-rip again! I actually hadn't anticipated using the iPod with anything other than our high quality noise canceling airplane headphones, our cheap, portable travel speakers for hotel rooms and our Cambridge sound speakers for our cabin. It's that last set of speakers that makes me think I should follow you advice and go with lossless.
    QUESTION #1 - When I re-rip and do an automatic sync, will the tracks at 256 automatically be replaced by the bigger lossless ones with the same name or should I delete everything from the iPod and begin anew?
    "I create a playlist for each work, using a systematic naming convention..." What I did on my test was create a playlist for each composer breaking it down - ex- Bach:concertos, Bach:sonatas, etc. I have the Album column highlighted and it appears as if the movements stay together in the correct order. I fear that the task might be too large to create a playlist for each work, though that certainly is appealing.
    QUESTION #2 If the Album column is highlighted and the movements are in the correct order in iTunes in the playlist, will they stay that way in the iPod?
    "I tend to use just surnames for composers for example, or at least "surname, firstname"." I finally found in settings on the iPod the way to change sort by composer to last name, first name. In iTunes, the composer column which is imported from the internet search for info on the CDs gives composer with first name first and I can't find a place in iTunes to reverse this. Typing it or erasing the first name will be a huge chore.
    QUESTION #3 Is there a place in iTunes to change the order of the composers' name in the composer column?
    "For compilations etc I still create one for the whole CD or box set"
    I figured this out on my own before you corroborated my idea - I think I'm getting the hang of this...
    "The option iTunes has to "organise your music" is a good one"
    QUESTION #4 - are you referring to the preferences > advanced check box "Keep iTunes Music Folder Organized" ? If not, what are you referring to?
    "I have my library in its own dedicated disk. Wherever you put it, its important to then never change it or doing anything else with it: leave it for iTunes."
    QUESTION #5 "dedicated disk"? as in hard drive? I have been using SuperDuper to back up my Mac to an external HD; I plan to put a copy of the iTunes folder onto yet another HD where I keep copies of all our photos as well.
    "never change it"? I noticed a misspelling "Haendel" from the on-line CD/track info - no problem in fixing that - right? Since you later say you do change info, what is it you are never changing?
    QUESTION #6 - "Disk N of M capability" - what? Where do I find this option? And when you say "for multiple CD albums, don't include the cd number in the album name." Where? when you put the CD into a playlist entry? or just in the list of music in the album column - do you change the listing?
    ONE FINAL QUESTION - when I turn on the iPod when it's not attached to headphones or speakers, and I'm just looking at the screen to see settings or how the syncing worked, the iPod appears to begin playing something as soon as I turn it on. THIS IS A STUPID QUESTION, but I can't find the answer, how to I get it to stop playing without turning the iPod itself off???
    "I hope that helps a little. " A little?? It helps a lot - and I'll award those points as soon as I get it all resolved.
    Thanks again,
    Mrs H

  • ..I Need Help Putting Music On My iPod..

    ok.. For Some Reason.. All Of A Sudden When I Connect My iPod To My Computer To Put Songs On It.. A Message Comes Up Sayin..
    "Songs On The iPod "my name iPod" Cannot Be Synced Because All Of The Playlists For Syncing No Longer Exist"..
    I Have NOOOO Idea What That Means But Its Took All The Songs Off My iPod.. But There Still On iTunes But Wont Go On The iPod Cussa That Reason ^^..
    Help Please

    You get this problem when the option 'Sync Music - Selected playlists' is being used to sync your iPod and then the playlist it has been updating from is deleted. Most people use this setting when the iPod is smaller than the iTunes library. If your library is larger than the capacity of your iPod, iTunes by default makes a new playlist called something along the lines of "Owner's iPod". If you for any reason delete it, you will not be able to sync your iPod.
    Open iTunes and create a playlist to update your iPod from, call it -iPod to make it the first playlist in Sources. You can make this a normal playlist and drag whatever you want to it or you can make it a random Smart playlist. If you are making a smart playlist limit it to just less than the size of your iPod (for example 3700MB for a 4G iPod Nano). Now connect your iPod and when it appears in the Source list click on the iPod icon to bring up the preference tabs in the main pane. Go to the Music tab and choose Sync Music and the Selected playlists radio button. Choose the playlist you just made from the selection and click Apply. You can also sync from any existing playlists by choosing the same setting, you just need to make sure that the size of the playlists don't exceed the capacity of your iPod:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    To make a random playlist go to File>New Smart Playlist.
    Uncheck "Match the following rule"
    Check "Limit to" put "3700" in the number box, choose "MB" from the first list box, choose "Random" from the next list box. Check "Live Updating"
    When you want to change the selection in the playlist just delete everything in it and it will add a new selection

  • Please help me. Cant located the Path of java.exe ???

    I have Windows 7 64bit OS. I download all softwares in 64 bit version.I just download Oracle sql developer
    4.0 (4.0.0.13.80) and jdk 7 u45 with netbeans 7.4 and i also download jre 7, all software are successfully installed on my system. but when i open sql developer ,it prompt for path of java.exe but i cant find the path. in "C:\programs files\jdk7\bin\" but there is no .exe files.
    please help me or guide me , what to do???
    I installed all the softwares successfully. but i can't understand where the problems is ?

    The easiest thing to do is download this:
    "Windows 64-bit - zip file includes the JDK 7"
    When you run the EXE, it won't prompt for anything, it will just run.
    In fact, if you have the JDK properly installed on Windows, the exe won't prompt for the location of Java anymore, so it sounds like you may have an install problem with your Netbeans install?

  • Need Help Putting a Flash Widget into an Image Being Exported into HTML

    Hi, I'm making a banner for the top of my band's MySpace. I only got into making layouts and such because we didn't want to spend the money on hiring a professional, so I'm kind of new to this and I don't know if anyone can help but what I'm trying to do is put a flash widget (for Twitter) into an image on Photoshop which I will then export into html. Can I do this on Photoshop or do I need to do it on another program. Any help would be appreciated, thanks!

    No, this requires you to learn HTML and create the proper embedding code and page layout.
    Mylenium

  • I need help putting together different sized video/photo

    I just got back from a trip to Yellowstone National Park.  I want to put three different pieces of media - GOPRO HD video shot at 1280 x 960, NIKON jpegs at 3872 x 2592, and SDV (Sony DCR-TRV33) shot at 16:9 resolution (can't figure out pixel size.)  I have Compressor (of course) and also MPEG Streamclip.
    First of all I need to convert the GOPRO HD (compressed at h.264) and digitize the SDV.  What format would be best for editing and integrating the three pieces of media - Apple Pro Res, DV/DCVPRO, ...
    1280 x 960 is 4:3 (too late to change the SDV to 4:3) so what would be the best compromise?
    Thanks for the help,
    William

    So you recommend digitizing (log and capture) the SDV in FCP as a ProRes (422?)  Also convert the h.264 (GOPRO) to ProRes.  Trim the jpegs in Photoshop (is there a simple batch program that can do this?)
    When you say to leave the GOPRO in it 1280x960 frame size so it can be re-framed in a Sequence - how does that work?
    I'd just use ProRes 422 for both types of video. You could probably get along with ProRes LT for the SD, but I like to keep things simple.
    Create your timeline by dropping a "SDV" clip in and answering "yes" to the auto-conform question that will appear. This should give you a 16:9 aspect ratio SD timeline. Now, when you drop in a GoPro clip it will scale down and try to fit in.
    If you double click it into Viewer and go to the Motion tab, you can hit the Reset button (the one with the red X) and you will have a 1280x960 clip again. It will seem as if you're looking at it through a hole in a template; you can "steer" it or resize it just as you usually do with a still. You can do a zoom in or out on the video, or pan from side to side.
    Use this to sharpen your story visually. Have fun with it.

Maybe you are looking for

  • Will IOs7 finally get rid of duplicated contacts?

    I am trolling though the rumor mill and want to see if anyone can shed some light on this. Since I have gone to the cloud, my contacts have been duplicated up to six times in some instances. I have a lot of contacts and I want to get rid of a lot of

  • When i try to open indesign i get error #5. i've rebooted the computer but still get it... any idea?

    when i try to open indesign i get error #5. i've rebooted the computer but still get it... any idea?

  • JDeveloper 11g and JSF

    Which version of JSF is in JDev 11.1.1.3 - is it 1.2? When will JSF 2.0 and all of its new features be available in JDeveloper? To use JSF 2.0 do I need to install/use NetBeans? Thanks for any comments - Casey

  • U260 battery options in near future?

    Anyone know or heard any rumors concerning the U260 getting a new battery?  It looks SO sexy and I'm in the market for a new laptop but as a college student I can't rely on something that lasts for less than 4 hours when i'm on campus a good portion

  • Help - Page break won't work

    Report in production and my page break isn't working. OM report and should break at every new order. Can anyone review my template? I took version where it worked, added some data to report and now it doesn't work. Nancy Hoye