Rotating objects controlled by scrolling

I would like to see scroll motion to control the rotation on an object. Scrolling would make an object rotate while staying in the same center point location. If this is already possible, please let me know!
Cheers,
Ingrid

here you go, 5 copies
50 copies
#target Illustrator
//  arranges duplicates of selected object into a spiral
// step is 1.1 cm - 17 degrees hardcoded
// select object before running
// CarlosCanto 3/1/11
var idoc = app.activeDocument;
var isymbol = idoc.selection[0];
var teta = 0; // initial angle
var r = 1*28.346; // first dup, // 1 cm = 28.346 pts
var deltaTeta = 17; // angle increment
var deltar = 1.1*28.346; // distance increment
var a = prompt ("how many copies", 5, "Spiral Symbol Duplicates")
for (i=1 ; i<=a ; i++)
          var dupSymbol = isymbol.duplicate();
          var deltaX = r*Math.cos(teta*Math.PI/180);
          var deltaY = r*Math.sin(teta*Math.PI/180);
          dupSymbol.translate (deltaX, deltaY);
          r = r+deltar;
          teta = teta+deltaTeta;

Similar Messages

  • How to rotate objects or pictures on my FP?

    Hi there,
    i'd like to rotate objects on my front panel programmatically, e.g. a pasted arrow to indicate a direction . As an alternative i could imagine to rotate a picture in some kind of AcvtiveX control. does anybody got a clue?
    thanks
    chris
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

    Rotating an arbitrary picture is just a transformation, should also be easy.
    I made a quick example (LabVIEW 7.1), see if it makes sense. Message Edited by altenbach on 03-22-2005 10:11 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    RotateImage.vi ‏80 KB

  • How could control the scroll events in ALV OO?

    Hello experts!
    I'm programing a report, inside there is a field that need time of processing. I'm using ALV OO.
    I have thought that it could only calculate the field for the lines that visualize.
    How could control the scroll events to calculate the field of the visualized lines?
    I'm using CL_SALV_TABLE class and cl_salv_events_table to control the events, but there aren't any event to control the scroll.
    best regards!

    Hi Sriram,
    I did view the information that you was attaching, but this don't resolve my problem. With methods get_scroll_info_via_id and set_scroll_info_via_id, we can get and put information of selection and view rows in the screen but we don't control when the user click in the scroll for advance or to back down a page.
    I would like to refresh the data in ALV when the user view news rows.
    I want your genial ideas.
    Best regards!

  • Control the scrolling speed while browsing a PDF file from a URL in Safari

    When I open a URL pointing to a PDF file from Safari, the PDF file is opened by the AdobePDFViewerNPAPI.plugin.  Too many times the multi-page PDFs scroll too fast up and down uncontrollably from the touch Pad. 
    Is there a way to control the scrolling speed and make my reading experience better?

    You need to remove both, while Safari is closed.
    You can use the Trash - Put Back command to replace them right away (again, close Safari first) or drag them from the trash to some spare folder, in case you want them later.

  • External device to control ipad scrolling

    I play guitar and want to use my ipad to display music and lyrics as I play. I want to set up an external device that I can use my foot to control the scrolling (only) of content on the screen...is it possible? I could build/modify the hardware side (maybe mouse type device?) to work for me, if the app/software side is available...

    Found it! There is an app called OnSong that scrolls and pages music on an iPad & a Bluetooth pedal switch system that works with it (for an additional $120). I will really be worth having instead of carrying 10-15 song books and volumes of sheet music!

  • How to always rotate objects around the same point, even using the right-click menu?

    I need some of my objects to always rotate around the same point. How can I select a point which will stay that way?
    Using the rotate tool resets after deselecting.
    Also, I'd like to rotate objects around a certain point even when using the right click > Transform > Rotate.
    Is it possible?

    Right, so this is where Illustrator falls short with respect you your need, but only in the sense that the reference point can't be made to stick. You can, however, use Smart Guides to make it so the point is easy to set at exactly the same location, (especially since your object has an anchor point there), manually before each rotation.

  • Rotating objects in a table

    I have dropped an object (picture) into a pages document. Then I rotated it with 90°. When I copy or drop the picture into the cell of a table, it is rotated back into the original orientation and I cannot rotate it any more.
    Is there a possibility to rotate objects in table cells?

    The only way I can find to do it actually doesn't insert the graphic in the table per se. It's a workaround that may or may not suit your purposes. FWIW:
    1. Click outside the margin and insert a shape (square) as Fixed on Page and in the Wrap Inspector deselect Object Causes Wrap.
    2. Drag it over the cell you want the picture in and size it to fit the cell.
    3. In the Graphic Inspector's drop down Fill menu, choose Image Fill and choose your picture (rotated as you want it). In the drop down menu below the Fill menu, select either Scale to Fit or Scale to Fill, as necessary.
    4. When you have the picture situated as you want it, click on the picture and shift click on the table and from the Arrange menu select Group.
    At this point you can set it for Moves With text if that is what you need, or leave it as Fixed on Page and position it where you want it.
    Hope this helps.
    Walt

  • Cursor controls text scroll

    I really need a code that controls my scrolling text. In
    other words, when my text is scrolling vertically, I want the user
    to be able to place the cursor over the desired text and stop the
    scroll and click on the text. Does anyone have a simple code for
    this or know where a code can be purchased for download?

    I'm not sure I understand. When the user moves the mouse over
    the text, there shouldn't be any scrolling because the mouse would
    no longer be over the scrollbar which controls the movement. Are
    you talking about being able to scroll the text up and down by
    using the mouse and clicking on the text? I think that's what you
    mean. If so, you can use the scrollPane component, drag it to the
    stage with an instance name of scrollPane. Use frame actions:
    scrollPane.contentPath = "text";
    scrollPane.scrollDrag = true;
    scrollPane.hScrollPolicy = "off";
    scrollPane.vScrollPolicy = "off";
    in this example, you will need to create a movie clip that
    contains a text field and name the movie clip "text", right-click
    that symbol in the library and go to linkage, export for AS,
    identifier name of "text". If you get this to work, you may notice
    the cursor will only change to "the hand" when the cursor is
    directly over text (not in between letters). To solve this, you can
    add a layer below the text field (in your "text" movie clip) and
    create a 0% filled shape the same size as your text field.
    Let me know if this is what you are talking about.

  • Product cost planning & cost object controlling

    Hi All
    We are using KMAT material type for configurable materials.
    Product cost planning:
    My question is , Can we save cost estimate for the Kmat materials?
    ( I am assuming I dont have to run CK40N for these materails , As I am not going to have accounting tab for Kmat materails. and I do not know which materails and operations to use in super Bom and Super routing)
    Please let me know If the above statement is true.
    Cost object controlling:
    Can i use cost obect controlling by production order or PCC?
    *I am assuming I will be ale to use only cost object controlling by sales order....But I have nt worked on this previously...If I have to use cost object controlling by sales order , can you guys give me a link or steps that helps me in  configuring Cost object controlling by sales order*

    Hi,
    See comments in bold
    Product cost planning:
    My question is , Can we save cost estimate for the Kmat materials?
    ( I am assuming I dont have to run CK40N for these materails , As I am not going to have accounting tab for Kmat materails. and I do not know which materails and operations to use in super Bom and Super routing)
    Please let me know If the above statement is true.
    You have goto VA02-->Costing
    Sales order costing is big topic,please check this link
    http://help.sap.com/saphelp_bw33/helpdata/en/90/ba6da4446711d189420000e829fbbd/content.htm
    Cost object controlling:
    Can i use cost obect controlling by production order or PCC?
    *I am assuming I will be ale to use only cost object controlling by sales order....But I have nt worked on this previously...If I have to use cost object controlling by sales order , can you guys give me a link or steps that helps me in configuring Cost object controlling by sales order*
    Sales order costing is big topic,please check this link
    http://help.sap.com/erp2005_ehp_01/helpdata/en/90/ba6f9f446711d189420000e829fbbd/frameset.htm
    Thanks,
    Rau

  • Is it possible to create a rotating object in Muse?

    Is it possible to create a rotating object in Muse? I have a round logo and I want it rotating.

    HI
    If you are looking for an animated logo, which rotates in 360 degree, it is not possible in Muse. You can create an animation in Edge animate and import the animation in Adobe muse.,

  • Set cursor position within table control while scrolling

    hi,
    Anybody can guide me how to set the cursor with in table control while scrolling down,normally it is going to first input filed.
    Thanks and Regards,
    palani.

    Hi Palani,
    Could you please share with me what all you have done regarding get and set cursor. I am facing similar problem where
    I have made a Z Table Control where i have given vertical and horizontal scrolling . Now when I scroll and try to select a row, then ZTABLE_CONTROL-CURRENT_LINE fetches line number not from the top, it fetches from the current top of ztablecontrol.
    It is onlyy changing the value on scrolling, if i do not scroll table control then value is coming correct.
    My requirement is whenever i select any row of ZTABLE CONTROL i need to get the curent line number from top. Please guide me what should i do.
    Early reply will be rewarded.
    Thanks.

  • A program that can rotate objects

    Is there any done program that can rotate objects from graph?
    I am not a programmer I just need to use that for mathematics.
    Any help will be appreciated.

    I'm not sure what you are asking for. You can rotate an image with [url http://java.sun.com/j2se/1.4.2/docs/api/java/awt/geom/AffineTransform.html]AffineTransform. You can look at the source for it in src.zip. You can [url http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=Algorithms&qp=forum%3A426&qt=rotate]search for algorithms.

  • 0CO_PC_01 Cost Object Controlling: Plan/Actual Data

    Hi Experts
    I have a question regarding Cost Object Controlling: Plan/Actual Data (0CO_PC_01). I know nothing about the R/3 processes and tcodes behind this datasource.
    For a given material and a given plant do I only get records with VTYPE(Value type for Reporting) 10, but I do not understand why - I need VTYPE = 70.
    I therefore hope:
    1. That somebody could provides input on why I only get VTYPE = 10 and how I get 70 instead.
    2. That somebody can tell me the tcodes behind this datasource on the R/3 side.
    Thanks and kind regards,
    Torben

    Hi Mr. V.
    Thanks a lot for the input.
    The problem is that we have got VTYPE 30 (target) for some materials, but not for specific material A and we really do not understand why. Do you know how I can verify if the variance is present for the given material A in R/3?
    Thanks and kind regards,
    Torben
    Edited by: Torben Pedersen on Apr 3, 2009 12:00 AM
    Sorry, it is VTYPE 30 i need, not 70 as stated by mistake at first.

  • Noob question, can't rotate object clockwise. Please see the pictures below.

    Hello everybody!
    I'm stuck at rotating objects as I tried to follow a tutorial.
    I think the answer is very simple, but because of my weak English, i can't even figure it out how to search for it on Google. tio
    So my question is how to rotate objects like this:
    Instead of this (That's how i can only rotate this object.):
    Thanks in advance!

    zollre,
    - before the value gives you clockwise. Basically, rotate angles are counterclockwise (with an implied + before the value).
    -20 degrees corresponds to 340 degrees (almost a full round counterclockwise).

  • Controlling Content Scrolling inside HBOX without ScrollBars

    hi,
    I want to control the scrolling of the content inside the
    HBOX through a button. Any1 having idea on how i can do it. I don't
    want to use the ScrollBars.
    Thank you

    Change the HBox's horizontalScrollPosition and
    verticalScrollPosition properties. I believe the units are in
    pixels.

Maybe you are looking for

  • Data types and data objects

    diff b/w data types and data objects

  • Integration between PM and MM

    Hello Experts, There is a scenario where the materials loaded on service order trigger a reservation with the qantity of material and the its MvT when i do migo it reserve the Mvt. ( e.g. material x on order xyz was reserved with MvT 261 but in migo

  • Can I run the admin and managed servers as different users?

    in unix, is it possible to run my admin and manged servers as different users with 7.1?

  • Baseline tiff

    Hi, When i want to use the program RSTXLDMC to create a standart text of tiff picture file, i get the following error message: TIFF format error: No baseline TIFF 6.0 file How to convert signature.tif file to baseline tiff 6.0? Is there any program i

  • Contribute and Wordpress

    Hello, I'm trying to use COntribute to edit my own wordpress blog:- blog It is working kind of ok however I cannot select a category for my post. I do get the following error when trying to select a category from the new blog entry page:- 'While exec