Inverting an ellipse???

Hi,
i have some code that creates an ellipse to the size of my comp, now i just want to tweak some attributes of the ellipse, like inverting it (to create a vignette) and then bluring it.
this is the code so far:
var myComp = app.project.activeItem;
var myEllipseSize = [1920,1080];
var myFillColor = [0.0, 0.0, 0.0];
var myShapeLayer = myComp.layers.addShape();
var myShapeLayerContents = myShapeLayer.property("ADBE Root Vectors Group");
var myShapeGroup = myShapeLayerContents.addProperty("ADBE Vector Group");
var myEllipse = myShapeGroup.property("ADBE Vectors Group").addProperty("ADBE Vector Shape - Ellipse");
myEllipse.property("ADBE Vector Ellipse Size").setValue(myEllipseSize);
var myShapeFill = myShapeGroup.property("ADBE Vectors Group").addProperty("ADBE Vector Graphic - Fill");
myShapeFill.property("ADBE Vector Fill Color").setValue(myFillColor);
does anyone know how to now invert and blur this shape?
thanks,
Sam

I'd be inclined to do it with a solid and an elliptical mask, like this:
var myComp = app.project.activeItem;
var w = myComp.width;
var h = myComp.height;
var ratio = .5523;
var hTan = ratio*w/2;
var vTan = ratio*h/2;
var mySolid = myComp.layers.addSolid([0,0,0], "vignette", w, h, 1);
var newMask = mySolid.Masks.addProperty("ADBE Mask Atom");
newMask.maskMode = MaskMode.SUBTRACT;
var myProperty = newMask.property("ADBE Mask Shape");
var myShape = myProperty.value;
myShape.vertices = [[w/2,0],[0,h/2],[w/2,h],[w,h/2]];
myShape.inTangents = [[hTan,0],[0,-vTan],[-hTan,0],[0,vTan]];
myShape.outTangents = [[-hTan,0],[0,vTan],[hTan,0],[0,-vTan]];
myShape.closed = true;
myProperty.setValue(myShape);
var myBlur = mySolid.property("Effects").addProperty("Fast Blur");
myBlur.property("Blurriness").setValue(25);
myBlur.property("Repeat Edge Pixels").setValue(true);
Dan

Similar Messages

  • How to remove a stroked path from an ellipse?

    made a circle with the ellipse tool.  filled it with a color no stroke.  i have a design i drew with the pen tool and put a thick stroke on it.  i want to delete each line stroked path of the design from the circle behind it.  but using the divide objects below is not working. 
    basically i want the circle with the design cut out of it.  ill then be bringing that circle into photoshop and extruding it in 3d and going from there.  how do i cut that design out?  TIA

    coonasty,
    You may:
    1) Give the design a black stroke and Group it if it consists of multiple paths;
    2) Select everything and in the Transparance palette flyout click Make Opacity Mask with both Clip and Invert Mask unticked.
    This is fully editable.

  • Create a gradient between inner and outer ellipses

    ...or any other enclosed shapes.
    Product: Adobe Photoshop Elements 3.0
    O.S.: Windows XP, SP 3
    I've searched the product Help and this forum, but am unable to find a solution to my problem.
    I'd like to use Adobe Photoshop Elements 3.0 to create an elliptically-shaped mask for use in Adobe Premiere CS3. The idea is to create two concentric ellipses of equal eccentricity. The area outside the outer ellipse is black; the area inside the inner ellipse is transparent. The area between the two elliptical boundaries is the gradient. This creates a soft-edged cameo effect in Premiere's video.
    I'm able to make a circular cameo with the Radial gradient, but have not found a way to make an arbitrarily shaped (in this case, elliptical) one.
    * Is there a way to do this at all?
    * Do I need a more recent version of Photoshop than Elements 3.0?
    Thanks for any help.
    -Larry Byler-

    If I understand correctly, you want the mask to be an ellipse that provides a vignette effect (i. e., gradually fading from the edge).
    If you have added one of the tool sets (such as Grant Dixon's Tools) that allow you to add masks, you can do this as follows:
    -- add a mask to your layer
    -- click on the mask icon to select it
    -- used the marquee tool to draw an ellipse on the mask
    -- hit CTRL-I to invert the mask
    -- fill the selection with black
    -- open the Gaussian blur filter
    -- check the Preview box
    -- select a level of blur that gives you the degree of fade-in you want.
    If you do not have mask capability you can achieve the same effect with a clipping group.
    -- create a layer below the layer you want to mask and clip it to the other (alt-G, if I remember correctly)
    -- click on the lower layer and then follow the steps above (from the 3rd one on)

  • My Ellipsis 8 can no longer detect my gym's wifi signal. Please help!

    I used my Ellipsis 8 to watch Netflix over the open wifi signal at my gym for 2 months with no problem. One day I showed up and no signal was found. I went through all the trouble shooting steps all the way down to factory resets with no resolution. Called Verizon tech support and still nothing. They had me send them the tablet in a recovery box. One week later I have the tablet back and they said nothing was wrong with the unit. I went to the gym today and it still can not detect the signal. My Samsung phone picks up a very strong signal. No other people have reported a problem with wifi connection issues. Obviously Planet Fitness will not allow me to start messing with their router. Any suggestions would be GREATLY APPRECIATED!

    I understand the importance of ensuring you are able to get connected to wifi michaeltatham. Allow us to get to the bottom of your tablet concerns. Have you recently installed any new software or new applications when it stopped connecting to the gym wifi? Have you tried to connect another device to your gym wifi?
    Thank You,
    MichelleS_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the �Correct Answer� button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • SAP GUI logon page  dispalyed in inverted way

    Dear All
    my system sap gui 7.20 logon page is displayed in inverted way (which means logon page is displayed as reverse way)
    please guide me solve this issue, any gui seetings are there?
    regrads
    sudheer koppala

    Hello Sudhir.
    Thanks to Sven...
    Please note thet this is the RTL Layout for arabic languages.
    Please check your settings in the Menu  "Customize Local layout" ->
    ALT+F12
    Pleasse have a look at the F1 help of the Saplogon ( or start the
    file    "sapguiEN.chm", which is stored in the folder
    %ProgramFiles%\SAP\FrontEnd\SAPgui\SAPguihelp )
    Ther you find the chapter
    6.5.2 Encoding: ->
    SAP Code-page
    Setting ->  Adjust font to SAP code-page at logon
    ->
    Function
    Adjust the font and character set to SAP code page sent from the
    server. Default is ON.
    and the chapter
    6.5.4 Others: ->
    RTL/LTR Layout:
    Setting
    + Set layout according to the logon language
    Function
    + Set RTL layout when the logon language is Arabic or Hebrew.
       Default is ON.
    and the chapter
    6.14 Further Options of the Customizing Local Layout Menu  ->
    Character Set
    A submenu group lists all character sets that are currently supported.
    You have to select one of them that suits your logon language for the
    SAP system     > there you must check which character set is set
    Please change it to Unicode Westeuropean
    then the rtl layout will change to the LTR
    Regards,
    Jude

  • 200n Keyboard - Caps Lock inverted = no numbers + all files highlighted

    Factory o/s Vista Home + recovery CD
    Faults occurred sometime after installing wireless printer. Computer left unattended. Son heard lots of beeping.
    Caps lock worked but text was inverted which also resulted in no numbers. Selecting a file from a list resulted in all files above being selected.
    Many things tried, restored to previous point, keyboard checked with MS diagnostic tool OK. Eventually keyboard stopped working (same with external USB keyboard) and it was impossible to restore using Recovery disc.
    Paid to have system restored to Factory settings.
    Memory and HDD checked and refitted. On final update, no 20 of 27 - bleeping and small Filter Key window appeared and kept on appearing 10/20 times during updating. Still both problems occurred.
    Purchased new HDD and Win 7 upgrade
    Installed XP pro sp2, could not type numbers in product key
    Clean installed Win 7, Caps lock inverted and no numbers with Keyboard, USB keyboard and On-line keyboard. Again all files highlighted.
    System Trouble Shooting – No changes or updated necessary.
    System Restore – Error 0xC0003005
    In Safe Mode – removed Norton leaving MS net 4, MS Silverlight, NVDIA driver.
    Wireless mouse works.
    Filter Key window appears sometimes.
    Action Center – Richo memory stick controller incompatible, no card reader driver.
    Can access msconfig but not mskey or msreg
    Lenovo 3000 200n 0769 BWG
    TY2BWUK  s/n xxxxxxx 08/02
    Win 7 Pro build 7601 sp1    BIOS 68ET35ww (v3.03)
    Keyboard std PS/2
    Moderator Note; s/n edited for member's own protection
    Solved!
    Go to Solution.

    Hey Bellcart,
    Thanks for coming back with your solutions! I'm sure what you went through has helped other forum users too!
    Cheers,
    Cleo
    WW Social Media
    T61, T410, x240, Z500, Flex 14
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    How to send a private message? --> Check out this article.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Apple Video Adapter Blew my Inverter and HELP?

    I had purchased a few television shows from itunes and wished to watch them on my television. I went to the Apple store today and purchased an Apple Video adapter for Mini-VGA to Video Out M9109G/A. I asked if it was the correct adapter and everyone I asked stated it was. I came home, unplugged my PS2 from my video in on my television, plugged the adapter into my iMac. The video resolution adjusted to something like 800 stretched I took the SAME rca cable used for my PS2 and plugged it into the adapter. A popping noise occured and my screen went black.
    Zapped Pram, Started from Install CD 1, Took back off, plugged in adapter, pressed start button and noted that LED 3 was lit. Following the troubleshooting instructions I ordered the replacement inverter.
    Now my problems/questions are this
    1) Why did this happen? I've plugged all kinds of things into that port on the television without question. Should I never use the monitor out w/ the Apple Adapter?
    2) I don't have a backup of my data from friday, saturday, or sunday. I attempted to boot the (screen dead) imac via target mode through my pismo in order to clone the drive out, but it wouldn't appear. Is this normal w/ a 'defective inverter'. Is there any way to get my data? I have another identical model, and I know I CAN exchange the drives (leaving the sensor and the case plugged in so as to avoid any cable problems), but is this a bad idea?
    Thanks for any advice on this.
    BTW, all components line conditioned w/ UPS.
    Well..Apple Palo Alto fixed my machine in one day. I'm very impressed. Unfortunately, I couldn't de-authorize my machine (ITMS) prior to the midplane replacement so now iTunes isn't working since it thinks it is authorized or something. I'm trying here, but any suggestions would be good.
    In summary. A) Good people at Apple told me to switch drives to my other imac to backup and this worked fine. B) Repair was completely quickly and machine works.
    C) If you have this situation with authorization: 1) Open terminal, type cd /users/shared then type mv "SC Info" "old_SC Info". 2) Create a new user (I did w/ admin). 3) login to the new user account, launch itunes and try to deauthorize (you should get a message you aren't authorized) so buy a free song and authorize. Login to your original user and try itunes (shoudl work) delete the newer user and you can remove "old_SC Info" or keep it if you so choose.
    Hope my rambling is helpful to someone.

    On Mac Pro I use my second video out to connect a standard crt vga monitor. When I have it plugged in when I boot, the computer hangs with the blue screen everyone else has, never showing the mac os x loading screen. If I have it unplugged when I boot, everything starts fine but when I plug the vga monitor back in, it does not find the monitor after clicking detect displays. This was all working fine before 10.5, so it has to be an issue with the os communicating with my video card.
    I assume this all stems from the same issues you are having. There is a glitch in either the video driver or the new core for video that they have not fixed yet.
    I may eventually call on this, but right now, I dont have 2 hours to waste speaking to someone in the Philippines that is reading a script.

  • Why did my data usage skyrocket with Ellipsis Jetpack?

    My old wifi went down and the Verizon office sold me an Ellipsis Jetpack. My data usage immediately started going up although my Internet habits remained the same. I turn the Jetpack off when I'm not logged in and I changed the setting to only allow one user. I changed Facebook to not automatically start videos and I hit pause on every video that comes up on news feeds. I feel like I'm getting ripped off. I saw some discussion here earlier (can't find it now) that others are having the same problems but saw no answer from Verizon. Also, there are no diagnostics available online to see what is causing my usage to be so high and someone suggested that Verizon is blocking access to the information. Would I be better off finding a different wireless internet provider?

    Same thing happened to me.  Can't understand why.  We'll see if they charge overages.

  • Ellipsis jetpack mismatch data usage with alerts

    Ok, I have the ellipsis jetpack and for the past couple months I've had varying data usage issues...
    This month, it mysteriously used more than 2 gb of data minimum without anything to my knowledge, being connected to it.
    So I up the data and just dismiss it as the PlayStation 4 bring on and "the crew" coming out, since it may have updated content while I was sleeping for the other 9 gb.
    But this morning, I have an email saying I've used 90% of my data allowance (of 20 gb). email time is 1:52 am, yet both the website and the jetpack show the data usage as of 6:18 am today 12/13 to be 15.3 gb (website says like 15.336).
    This is frustrating to say the least, and really makes me like Verizon is trapping me into paying more money!
    I also have family guard on the device and it's currently set to not allow more than 17 gb. It's been setup that way for probably a week now.
    Also, before I upped the data cap from 10gb, I got two alert emails for each alert level, hours apart.
    The first 50% was around probably 10 am, the second was late that night, after eight, I believe. Right around that same time, I got a 75% followed by 90, and later, another each of 75 & 90.
    Imagine the frustration! Especially now that I'm paying an extra 4.99 a month to protect myself from going over the usage limit!
    I was playing a ps4 game last night online (the crew), but didn't download anything outside of that, and watched a video or two on the net, both were short videos. All worked fine, and didn't have the email alert until this morning when I woke up.
    Also: this is my first post, done from a tablet, so I'm sorry if it goes to wrong place

    SHARED DATA DETAILS
    Cycle Ends: 12/15/2014
    Total Shared Data Used
    15.366GB /20GB
    Estimate as of 12/13/2014 12:51 PM
    And yet I have an alert that says I've used 90%.. Copy/pasted below
    Fri Dec 12 2014 11:52:56 PM from 900080002020
    Verizon FamilyBase Msg: You have used about 90% of your data limit. When you reach your limit, your data use may be restricted for the rest of the cycle.
    I have a 20 GB plan. 90% of 20 GB is 18 GB.

  • Need help with inverter program

    I am very new to labview and I need a lot of help fast. I have been given this vi program, which I have attached, that operates a bunch of inverters. The program is driving the inverter which in turn drives the agitator on a washing machine. The agitator goes in forward and reverse direction as a result of a relay within the inverter being supplied voltage to make it open and close. I need to supply voltage to the relay to make it go forward, reverse, and the pause before the next cycle begins. The current program has it doing a forward reverse and then immediately starts the next cycle. If any one can take a look at this program and let me know, first of all what the heck is going on, and second how to fix my problem, that would be incredibly helpful to me. If anyone has trouble opening the file let me know, I think attaching the vi should work but it may also look for a dll file or something when trying to open. Email me if you cannot open the file and I will send you the dll file as well. Your help is greatly appreciated. Thank you very much.
    Tony
    Attachments:
    main2.vi ‏162 KB

    Hello Tony,
    you programmed it to run continously...
    After the timed while loop runs through your array of ramp values you start again at index 0 (upper shift register). Instead of this end this while loop by combining the output from the comparison with your stop2 button (end loop when stop2 OR end of arrray). Now it will work.
    Btw. why do you use "Insert to Array" when you want to concat 3 arrays (sequence frame 0)? Just use a "Build Array" and set "Concat Inputs" via mouse right-click.
    Best regards,
    GerdW
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I pull up a wifi signin page on my ellipsis 7

    When I connect to a wifi network that requires a signin page, the page will not pull up in google browser. I had a kindle and it would automatically popup so I could sign in.  the Ellipsis 7 shows that it is connected, but across top it shows a ? mark over the towers in the left hand corner.  It shows on the right that it is connected but I can't "go anywhere on the internet" until I sign in.  I only have google chrome as the browser,

    Here are a couple of other posts I found ... they might prove helpful.
    Verizon Ellipsis™ 7 Support | Verizon Wireless
    ellipsis 7 wifi
    Ellipsis 7 not able to log in to XFinity WiFi

  • I need a new inverter cable for my MacBook (5.5 years old).  Can I get it replaced cheaply, or should I buy a new laptop?

    Hi!  I have a 5.5-year-old Macbook4.1, and I've been having problems with the display.  I googled the problem and found out that I've got a wonky inverter cable.  Apparently, the part itself is relatively cheap, but the labor (which involves taking nearly the whole laptop apart) means that the repair is expensive.  The quote I got (in Germany, where I live) is 200 euros.
    My laptop has been functioning just fine besides the display problem, but since it's already so old, it seems to make sense to buy a new laptop rather than repairing this one.  However, someone told me that I should contact Apple first and see if they might cut me a deal on the repair, since I'm an existing customer and they'd want to keep me happy. I tried doing this through the Apple Support site, but I'd have to pay $50 to do that, which seems to defeat the purpose.  Going to an Apple store is also prohibitively expensive, since there aren't any very close to me.
    So my question is this.  Does anyone see any reason why I shouldn't buy a new laptop?  The one I would probably end up buying is about $550 (not a Mac), so it's more money than I'd pay for the repair, but...you know.  Sunk costs, and all that.  I'd be appreciative of any opinions!
    Sidenote: in case anyone doubts my diagnosis, here's a description of the problem.  When my screen is open, I can see a very faint picture on the display, but the screen is pretty much dark.  When I slowly tilt the screen as if to close it, the picture suddenly comes back.  So when the laptop is open at any angle more than about 45 degrees, the display is dark.

    go on give it a go! what have you got to lose;
    http://www.ifixit.com/Guide/MacBook+Core+2+Duo+Inverter+Cable+Replacement/4772

  • In lightroom 5.3, I do not see the radial filter ellipse.

    Yesterday I purchased Lightroom 5.3 and tried the radial filter.  It seemed to work fine.
    Today I can not longer see the filter's ellipse.  What am I doing wrong?

    Press "H".
    When using the Radial Filter, there are various options using the "Show Edit Pins" menu at the bottom of the image. Pressing the "H" keys toggles between "Never" (likely what you have) and "Auto" (which shows the pins and the elipse when the mouse is over the images, but hides them when you move the mouse off the image). There are other options as well, experiment with them to get to your preferred display state.
    These same display options are also in the Gradient tool and the Adjustment Brush.

  • How to attach a text in the center of the Ellipse using JXML ?

    How to attach a text in the center of the Ellipse using JXML ? Can we use labelFor="$topEllipse" ?
    <StackPane fx:controller="myfxml.ArchiveLogsController" id="Login" xmlns:fx="http://javafx.com/fxml">
    <children>
    <AnchorPane>
    <!-- Prevent AnchorPane so that it's max = pref. This causes it to center in StackPane -->
    <maxWidth><Double fx:value="-Infinity"/></maxWidth>
    <maxHeight><Double fx:value="-Infinity"/></maxHeight>
    <children>
    <Ellipse fx:id="topEllipse" centerX="100" centerY="100" radiusX="50" radiusY="10" strokeWidth="2" stroke="#FF0000" style="-fx-fill: linear-gradient(to right, white 0%, red 100%);"/>
    *<Label fx:id="ArchLogs_lb" text="My Ellipse Label" />*
    </children>
    <properties>
    <backgroundColor>
    <Color blue="1.0" green="1.0" red="1.0" />
    </backgroundColor>
    <elementLockSel>
    <Boolean fx:value="true" />
    </elementLockSel>
    </properties>
    </AnchorPane>
    </children>
    </StackPane>

    I'd suggest putting the Ellipse and the Label in a StackPane.
    I wonder why so many people call it JXML?
    It is so strange - I guess the JXML name just seems more natural to some people, though I don't know why.
    I think Greg is right and that labelFor is not what you want:
    http://docs.oracle.com/javafx/2.0/api/javafx/scene/control/Label.html
    "Labels also are useful in that they can have mnemonics which, if used, will send focus to the Control listed as the target of the labelFor property . . . A Label can act as a label for a different Control or Node. This is used for Mnemonics and Accelerator parsing. This allows setting of the target Node."

  • I'm trying to make a poster and invert part of it but the black is coming out as a beige colour instead of white.

    I can't figure out why this is happening - I've remade this document from scratch twice and each time it did this. I made a new adjustment layer with an invert mask on it, and instead of the black coming out as white, it came out as this beige colour. I tried to fix it myself, but was unable - I adjusted the colour profile, changed the colour, as well as fooled around in the menus trying to figure it out. I've inserted a screenshott of my workspace, as it was when the problem happened. Any help would be appreciated!

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

Maybe you are looking for