the color of the floor of the basketball?

I'm color blind. I need to color a background graphic to resemble a basketball floor (i.e., wood hard bright color). What are the values RGB do those of you who see the colors well suggest?

Thank you

Lynn

Try this.

I got a picture on google.  So I tried to find a color that looked like it.

Tags: NI Software

Similar Questions

  • Script to make the list of layer names.

    I wonder if someone could help me make the simple script that take the layer names and the list of their share on the A4 in canvas.

    Now I just got the screenshot of the list of Illustrator and edit it through photoshop to print, but it is too small, because each file have a approximately 25-50 layers.

    Looks like this:

    layer-list.jpg

    I tried to edit the script of John Wundes, which makes the list of the nuances, but it seems difficult for my skills.

    /////////////////////////////////////////////////////////////////
    // Render Swatch Legend v1.1 -- CS, CS2, CS3, CS4, CS5
    //>=--------------------------------------
    //
    //  This script will generate a legend of rectangles for every swatch in the main swatches palette.
    //  You can configure spacing and value display by configuring the variables at the top
    //  of the script. 
    //   update: v1.1 now tests color brightness and renders a white label if the color is dark.
    //>=--------------------------------------
    // JS code (c) copyright: John Wundes ( [email protected] ) www.wundes.com
    // copyright full text here:  http://www.wundes.com/js4ai/copyright.txt
    //
    ////////////////////////////////////////////////////////////////// 
        doc = activeDocument,
        swatches = doc.swatches,
        cols = 4,
        displayAs = "CMYKColor",  //or "RGBColor"
        rectRef=null,
        textRectRef=null,
        textRef=null,
        rgbColor=null,
        w=150;
        h=100,
        h_pad = 10,
        v_pad = 10,
        t_h_pad = 10,
        t_v_pad = 10,
        x=null,
        y=null,
        black = new GrayColor(),
        white = new GrayColor()
        ;
    
    
        black.gray = 100;
        white.gray = 0;
    
    
    activeDocument.layers[0].locked= false;
    var newGroup = doc.groupItems.add();
    newGroup.name = "NewGroup";
    newGroup.move( doc, ElementPlacement.PLACEATBEGINNING );
    
    
    for(var c=0,len=swatches.length;c<len;c++)
    {
            var swatchGroup = doc.groupItems.add();
            swatchGroup.name = swatches[c].name;
           
            x= (w+h_pad)*(c% cols);
            y=(h+v_pad)*(Math.floor((c+.01)/cols))*-1 ;
            rectRef = doc.pathItems.rectangle(y,x, w,h);
            rgbColor = swatches[c].color;
            rectRef.fillColor = rgbColor;
            textRectRef =  doc.pathItems.rectangle(y- t_v_pad,x+ t_h_pad, w-(2*t_h_pad),h-(2*t_v_pad));
            textRef = doc.textFrames.areaText(textRectRef);
            textRef.contents = swatches[c].name+ "\r" + getColorValues(swatches[c].color) ;
            textRef.textRange.fillColor = is_dark(swatches[c].color)? white : black;
            //
            rectRef.move( swatchGroup, ElementPlacement.PLACEATBEGINNING );     
            textRef.move( swatchGroup, ElementPlacement.PLACEATBEGINNING );
            swatchGroup.move( newGroup, ElementPlacement.PLACEATEND );
    }
    
    
    function getColorValues(color)
    {
            if(color.typename)
            {
                switch(color.typename)
                {
                    case "CMYKColor":
                        if(displayAs == "CMYKColor"){
                            return ([Math.floor(color.cyan),Math.floor(color.magenta),Math.floor(color.yellow),Math.floor(color.black)]);}
                        else
                        {
                            color.typename="RGBColor";
                            return  [Math.floor(color.red),Math.floor(color.green),Math.floor(color.blue)] ;
                           
                        }
                    case "RGBColor":
                       
                       if(displayAs == "CMYKColor"){
                            return rgb2cmyk(Math.floor(color.red),Math.floor(color.green),Math.floor(color.blue));
                       }else
                        {
                            return  [Math.floor(color.red),Math.floor(color.green),Math.floor(color.blue)] ;
                        }
                    case "GrayColor":
                        if(displayAs == "CMYKColor"){
                            return rgb2cmyk(Math.floor(color.gray),Math.floor(color.gray),Math.floor(color.gray));
                        }else{
                            return [Math.floor(color.gray),Math.floor(color.gray),Math.floor(color.gray)];
                        }
                    case "SpotColor":
                        return getColorValues(color.spot.color);
                }    
            }
        return "Non Standard Color Type";
    }
    function rgb2cmyk (r,g,b) {
     var computedC = 0;
     var computedM = 0;
     var computedY = 0;
     var computedK = 0;
    
    
     //remove spaces from input RGB values, convert to int
     var r = parseInt( (''+r).replace(/\s/g,''),10 ); 
     var g = parseInt( (''+g).replace(/\s/g,''),10 ); 
     var b = parseInt( (''+b).replace(/\s/g,''),10 ); 
    
    
     if ( r==null || g==null || b==null ||
         isNaN(r) || isNaN(g)|| isNaN(b) )
     {
       alert ('Please enter numeric RGB values!');
       return;
     }
     if (r<0 || g<0 || b<0 || r>255 || g>255 || b>255) {
       alert ('RGB values must be in the range 0 to 255.');
       return;
     }
    
    
     // BLACK
     if (r==0 && g==0 && b==0) {
      computedK = 1;
      return [0,0,0,1];
     }
    
    
     computedC = 1 - (r/255);
     computedM = 1 - (g/255);
     computedY = 1 - (b/255);
    
    
     var minCMY = Math.min(computedC,
                  Math.min(computedM,computedY));
     computedC = (computedC - minCMY) / (1 - minCMY) ;
     computedM = (computedM - minCMY) / (1 - minCMY) ;
     computedY = (computedY - minCMY) / (1 - minCMY) ;
     computedK = minCMY;
    
    
     return [Math.floor(computedC*100),Math.floor(computedM*100),Math.floor(computedY*100),Math.floor(computedK*100)];
    }
    
    
    function is_dark(color){
           if(color.typename)
            {
                switch(color.typename)
                {
                    case "CMYKColor":
                        return (color.black>50 || (color.cyan>50 &&  color.magenta>50)) ? true : false;
                    case "RGBColor":
                        return (color.red<100  && color.green<100 ) ? true : false;
                    case "GrayColor":
                        return color.gray > 50 ? true : false;
                    case "SpotColor":
                        return is_dark(color.spot.color);
                    
                    return false;
                }
            }
    }
    

    arop16461101,

    something like that?

    var theLayers = app.activeDocument.layers;
    var str = new Array ();
    for (i = 0; i < theLayers.length; i++) {
        str.push (theLayers[i].name)
        }
    var tF = theLayers[0].textFrames.add();
    tF.contents = str.join ("\r");
    alert("new text frame with layerlist added on layer " + theLayers[0].name);
    

    Have fun

  • Make the swatch legend Script

    I was wondering if someone could help me edit this text written by John Wundes. Its almost perfect for what I need, but my problem is the text within the sample box when it is returned to the little ones. Ideally, I'd like that it be 90% of the actual sample size. I copied and pasted here if someone could help me I would be very happy. I tried to ask John on his Blog a few times, but I got no response. Also I would like to delete the CMYK values it returns with just the name of PMS only.

    Make the legend Swatch v1.1 - CS, CS2, CS3, CS4, CS5

    //>=--------------------------------------

    //

    This script will generate a legend of the rectangles for every nuance in the main Swatches palette.

    You can configure the display space and value by configuring the variables at the top

    the script.

    Update: v1.1 now test the brightness of colors and returns a white label if the color is dark.

    //>=--------------------------------------

    / / JS code (c) all rights reserved: John Wundes ( [email protected] ) www.wundes.com

    / / copyright full text here: http://www.Wundes.com/js4ai/copyright.txt

    //

    //////////////////////////////////////////////////////////////////

    doc = activeDocument,

    color chart = doc.swatches,

    cols = 10,

    displayAs = "CMYKColor" //or "RGBColor".

    rectRef = null,

    textRectRef = null,

    textRef = null,

    rgbColor = null,

    w = 150;

    h = 150,

    h_pad = 100,

    v_pad = 100,

    t_h_pad = 100,

    t_v_pad = 100,

    x = null,

    y = null,

    Black = new GrayColor();

    White = new GrayColor()

    ;

    Etc = 100;

    White.Gray = 0;

    activeDocument.layers [0] .locked = false;

    newGroup var = doc.groupItems.add ();

    newGroup.name = "NewGroup";

    newGroup.move (doc, ElementPlacement.PLACEATBEGINNING);

    for (var c = 2, len = swatches.length; c < len; c ++)

    {

    swatchGroup var = doc.groupItems.add ();

    swatchGroup.name = color chart [c] .name;

    x = (w + h_pad) * (c % COL);

    y=(h+v_pad)*(math.floor((c+.01)/cols)) *-1;

    rectRef = doc.pathItems.rectangle (y, x, w, h);

    rgbColor = .color swatches [c];

    rectRef.fillColor = rgbColor;

    textRectRef = doc.pathItems.rectangle (t_v_pad-y, x + t_h_pad, w.-(2*t_h_pad), h.-(2*t_v_pad));

    textRef = doc.textFrames.areaText (textRectRef);

    textRef.contents = color chart [c] .name + "\r" + getColorValues (swatches [c] .color);

    textRef.textRange.fillColor = is_dark (swatches [c] .color)? White: black;

    //

    rectRef.move (swatchGroup, ElementPlacement.PLACEATBEGINNING);

    textRef.move (swatchGroup, ElementPlacement.PLACEATBEGINNING);

    swatchGroup.move (newGroup, ElementPlacement.PLACEATEND);

    }

    function getColorValues (color)

    {

    If (Color.TypeName)

    {

    Switch (Color.TypeName)

    {

    case "CMYKColor":

    If (displayAs == "CMYKColor") {}

    return ([Math.floor (color.cyan) Math.floor (color.magenta), Math.floor (color.yellow), Math.floor (co lor.black)]) ;}

    on the other

    {

    Color.TypeName = "RGBColor";

    return [Math.floor (color.red), Math.floor (color.green), Math.floor (color.blue)];

    }

    case "RGBColor":

    If (displayAs == "CMYKColor") {}

    Return rgb2cmyk (Math.floor (color.red), Math.floor (color.green), Math.floor (color.blue));

    } else

    {

    return [Math.floor (color.red), Math.floor (color.green), Math.floor (color.blue)];

    }

    case "GrayColor":

    If (displayAs == "CMYKColor") {}

    Return rgb2cmyk (Math.floor (color.gray), Math.floor (color.gray), Math.floor (color.gray));

    } else {}

    return [Math.floor (color.gray), Math.floor (color.gray), Math.floor (color.gray)];

    }

    case "SpotColor":

    Return getColorValues (color.spot.color);

    }

    }

    return 'no Standard color Type';

    }

    function rgb2cmyk (r, g, b) {}

    var computedC = 0;

    var computedM = 0;

    var computedY = 0;

    var computedK = 0;

    remove the spaces of input RGB values, convert to int

    var r = parseInt (('' + r) replace (/ \s/g, "), 10);

    var g = parseInt (('' + g) replace (/ \s/g, "), 10);

    var b = parseInt (('' + b) replace (/ \s/g, "), 10);

    If (r == null | g == null | b == null |)

    isNaN (r) | isNaN (g) | isNaN (b))

    {

    Alert ("Please enter the numeric RGB values!");

    return;

    }

    If (r < 0 | g < 0: b < 0 | r > 255 | g > 255: b > 255) {}

    Alert ("the RGB values must be in the range 0 to 255");

    return;

    }

    BLACK

    If (r == 0 & & g == 0 & & b == 0) {}

    computedK = 1;

    return [0,0,0,1];

    }

    computedC = 1 - (r/255);

    computedM = 1 - (g/255);

    computedY = 1 - (b/255);

    var minCMY = Math.min (computedC,

    Math.min (computedM, computedY));

    computedC = (computedC - minCMY) / (1 - minCMY);

    computedM = (computedM - minCMY) / (1 - minCMY);

    computedY = (computedY - minCMY) / (1 - minCMY);

    computedK = minCMY;

    return [Math.floor(computedC*100), Math.floor(computedM*100), Math.floor(computedY*100), Math.floor (computedK * 100)];

    }

    function is_dark (color) {}

    If (Color.TypeName)

    {

    Switch (Color.TypeName)

    {

    case "CMYKColor":

    return (> 50 color.black |) (color.cyan > 50 & & color.magenta > 50)) ? true: false;

    case "RGBColor":

    return (color.red < 100 & & color.green < 100)? true: false;

    case "GrayColor":

    return color.gray > 50? true: false;

    case "SpotColor":

    Return is_dark (color.spot.color);

    Returns false;

    }

    }

    }

    Natesroom1 wrote:

    1. the text is small

    2 remove the CMYK values it returns with just the name of PMS only

    Just a quick look at the code, try the following:

    1.) for the size, after this line:

    textRef = doc.textFrames.areaText(textRectRef);
    

    Add the following line, the numerical value on any size suits you:

    textRef.textRange.characterAttributes.size = 20;
    

    (2.) about removing the CMYK values for PMS colors, change this line:

    textRef.contents = swatches[c].name+ "\r" + getColorValues(swatches[c].color);
    

    To do this:

    textRef.contents = swatches[c].name;
    

    Once again... just a little wink, but maybe it will help your efforts.

  • How to rasterize a chart that contains data from the path?

    In this function, when I type = 5 (create the path object), the object of trace appears on the canvas, but the BitmapData is empty. What I am doing wrong?

    public function createRandomObject (): Object

    {

    var MAXX:Number = 700;

    var MAXY: Number = 500;

    var MINRADIUS:Number = 20;

    var MAXRADIUS:Number = 100;

    var MAXHEIGHT:Number = 100;

    var MAXWIDTH:Number = 100;

    var MINHIEGHT:Number = 20;

    var MINWIDTH:Number = 20;

    var NUMTYPES:Number = 5;

    xPos var = Math.floor (Math.random () * MAXX);

    yPos var = Math.floor (Math.random () * MAXY);

    type var = Math.floor (Math.random () * NUMTYPES) + 1;

    var color: uint = Math.floor ((Math.Random () * 0xFFFF00) + 0x0000FF);

    graph: graph of var = new Graphic();

    graphic.graphics.beginFill (color);

    type = 5;

    var width: Number = Math.floor (Math.random () * (MAXWIDTH-MINWIDTH)) + MINWIDTH;

    var height: Number = Math.floor (Math.random () * (MAXHEIGHT-MINHIEGHT)) + MINHIEGHT;

    Switch (type)

    {

    case 1: //circle

    {

    var radius: Number = Math.floor ((Math.random () *(MAXRADIUS-MINRADIUS))) + MINRADIUS;

    width = height = radius * 2;

    graphic.graphics.drawCircle (RADIUS, RADIUS, RADIUS);

    break;

    }

    case 2: //square

    {

    height = width;

    graphic.graphics.drawRect (0,0, width, height);

    break;

    }

    box 3: //rect

    {

    graphic.graphics.drawRect (0,0, width, height);

    break;

    }

    box 4: / / ellipse

    {

    graphic.graphics.drawEllipse (0,0, width, height);

    break;

    }

    case 5: / / SVG path

    {

    var pathData:String = "M 0 L 0 40 0 40 40 40 0 L L Z;

    var pathData:String = « M 247 153 L 0 400 400 800 609 800 695 800 696 801 722 873 749 802 774 827 801 801 827 827 852 802 879 873 905 801 906 800 993 800 1201 800 1601 400 1201 0 801 400 400 0 247 153 Z » ;

    path: path of var = new Path();

    Path.Data = pathData;

    Path.x = 0;

    Path.y = 0;

    Path.Width = 200;

    Path.Height = 200;

    Path.Stroke = New SolidColorStroke();

    Path.Fill = New SolidColor (0xFFFFFF);

    Path.Winding = GraphicsPathWinding.EVEN_ODD;

    path.validateNow ();

    graphic.addElement (path);

    Graphic.Width = 200;

    Graphic.Height = 200;

    width = path.width;

    height = path.height;

    }

    }

    graphic.graphics.endFill ();

    var FillColor = 0xFF000000;

    mainCanvas.addElement (graphic);

    var bitMapData:BitmapData = new BitmapData (width, height, false);

    bitMapData.draw (graphic); It's empty when type = 5 (path data)

    Graphic.x = xPos;

    Graphic.y = yPos;

    var dataObject:Object = new Object();

    dataObject.bitMapData = bitMapData;

    dataObject.XPos = xPos;

    dataObject.YPos = yPos;

    dataObject.spriteName = graphic.name;

    Returns the dataObject object;

    }

    So I thought to it. Paths use BeforeDraw() and EndDraw(), making the filling operations and outline Draw(). The problem is that these functions not called until the path is rendered on the canvas. So, I expanded my class path and too rolled the EndDraw() function. In this function, I sent an event. Then, when I catch the event I can get the DisplayObject of the track (which is now filled) and pass this object in BitmapData().

  • 1.5.1 to 1.5.4 update: tree of nonsense on the summary page

    I'm running 1.5.1 build 5440 and selected the menu option help > check updates open the wizard.

    On the last page of 'Summary', a tree is displayed that I don't understand - it seems to be nonsense. I did a screen capture, but I don't know how to join this thread.

    + colors
    -Blue
    -violet
    -Red
    -Yellow
    + sports
    -basketball
    -football
    -football
    -hockey
    + food
    -hot dogs
    -pizza
    -bananas

    I have no idea what this has to do with the summary page. Any tips?

    See you soon,.
    Christian.

    Published by: Christian Brunner on 02.04.2009 03:08 / changed old version 1.5.1 to 1.5.3

    There is no verification of updates updated to 1.5.1 to 1.5.4. You must do a full install in a new and empty directory. The tree you see here is an example of lack of sunlight and should not be exposed to you. There is a bug logged and known issue. In the meantime, follow the instructions on the update to 1.5.4 download page.

    Sue

  • Color conversion script?

    I am looking for a way to print the CMYK, RGB, HEX easily, in the text, and possibly another representation of certain colors, I thought I'd write a quick script... easy, right? Apparently not.

    Although I have never used, it seems that Photoshop has the 'SolidColor' object, which has properties for 'cmyk', 'rgb', 'gray' etc... exactly what I need, except I want to do that in Illustrator. Illustrator has the "CMYKColor', 'RGBColor" etc. objects with, from what I can tell, no way to convert any other color mode.

    Then. am I missing something obvious? Or y at - it no way to easily get representations of different a color in artificial intelligence object color mode? I know that the conversion will be different according to the profiles of boards etc., but the UI color picker has the right values that already and, apparently, Photoshop can do it without problem so I'm hoping that I'm missing just something obvious!

    I tried to change the "TypeName" of the Color object, I've seen suggested, but it made no difference (the docs say it is read only).

    The only other options I can think is to create a new document in color mode I want to convert, to create a new color from the existing (which from reading the reference sounds like it will be auto-convertir it in this color mode) read the values of the new color and close the newly created document. But that seems to be a horrible workaround. Or, set up my own conversion function, which seems so horrible (since I thought it would be easy to write quick script!)

    Any input would be appreciated!

    Your code has been very useful Silly-V, convertSampleColor(), it was exactly what I was looking for! If you or anyone is interested, now is my script. Havn't tried a lot and it could probably be cleaned up a bit, but it should work (it does for me with CS6 on OS X).

    It takes all your selected samples and print the CMYK, RGB and HEX (and name if it is a spot color) all these samples selected in a txt file. The txt file is saved with the same name and in the same folder as your Illustrator file. If your Illustrator file is unregistered, it records the txt file in your home directory.

    // Color Modes To Text
    // ===================
    
    // Prints CMYK values, RGB values and HEX value of all selected swatches to a .txt file
    // The .txt file is saved with the same file name and inc the same folder as the .ai file
    // If the .ai file hasn't been saved, the .txt file is saved in the users home directory
    
    main();
    function main()
    {
        var doc = app.activeDocument;
        var selectedSwatches = doc.swatches.getSelected();
    
        if (selectedSwatches.length > 0)
        {
            var text = "";
    
            for (var i = 0; i < selectedSwatches.length; i++)
            {
                var swatch = selectedSwatches[i]
                var color = swatch.color;
    
                // Spot
                if (color.typename == "SpotColor") {
                    text += color.spot.name + "\n";
                    color = color.spot.color;
                }
    
                // CMYK Source
                if (color.typename == "CMYKColor")
                {
                    // CMYK Values
                    text += "C=" + Math.round(color.cyan) + " M=" + Math.round(color.magenta) + " Y=" + Math.round(color.yellow) + " K=" + Math.round(color.black) + "\n";
    
                    // RGB Values
                    var rgb = convertColor("CMYK", "RGB", [Math.round(color.cyan), Math.round(color.magenta), Math.round(color.yellow), Math.round(color.black)]);
                    text += "R=" + Math.floor(rgb[0]) + " G=" + Math.floor(rgb[1]) + " B=" + Math.floor(rgb[2]) + "\n";
    
                    // HEX Values
                    text += rgbToHex(Math.floor(rgb[0]), Math.floor(rgb[1]), Math.floor(rgb[2])) + "\n";
                    text += "\n";
                }
                // RGB Source
                else if (color.typename == "RGBColor")
                {
                    // CMYK Values
                    var cmyk = convertColor("RGB", "CMYK", [Math.round(color.red), Math.round(color.green), Math.round(color.blue)]);
                    text += "C=" + Math.round(cmyk[0]) + " M=" + Math.round(cmyk[1]) + " Y=" + Math.round(cmyk[2]) + " K=" + Math.round(cmyk[3]) + "\n";
    
                    // RGB Values
                    text += "R=" + Math.floor(color.red) + " G=" + Math.floor(color.green) + " B=" + Math.floor(color.blue) + "\n";
    
                    // HEX Values
                    text += rgbToHex(Math.floor(color.red), Math.floor(color.green), Math.floor(color.blue)) + "\n";
                    text += "\n";
                }
            }
            saveTxt(text);
        }
        else {
            alert("No Swatches Selected.");
        }
    }
    
    function convertColor(src, dest, clrArr)
    {
        return app.convertSampleColor(ImageColorSpace[src], clrArr, ImageColorSpace[dest], ColorConvertPurpose.defaultpurpose);
    }
    
    function componentToHex(c)
    {
        var hex = c.toString(16);
        return hex.length == 1 ? "0" + hex : hex;
    }
    
    function rgbToHex(r, g, b)
    {
        return "#" + componentToHex(r) + componentToHex(g) + componentToHex(b);
    }
    
    function saveTxt(txt)
    {
        var name = app.activeDocument.name.replace(/\.[^\.]+$/, '');
        var path = (app.activeDocument.path != "") ? app.activeDocument.path : "~";
    
        var saveFile = new File(path + "/" + name + ".txt");
    
        if(saveFile.exists)
            saveFile.remove();
    
        saveFile.encoding = "UTF8";
        saveFile.open("e", "TEXT");
        saveFile.writeln(txt);
        saveFile.close();
    
        alert("Saved to File:\n" + saveFile.fullName)
    }
    
  • Help of color transformation

    Hello

    I have no experience with the transformation of color class, but some with the concept of hexadecimal RGB.

    We will use a small pseudo-code / hybrid actionscript:

    In the following example, which does not work, I am trying to remove red and green colors and keep blue. How can I do this?

      colour = 0xFFFFFF;
      colourTrans.rgb = colour;
              red = 0;
              green = 0;
              blue = 1;
              colourTrans.redMultiplier = red;
              colourTrans.greenMultiplier = green;
              colourTrans.blueMultiplier = blue;
              colour = colourTrans.rgb;
      // colour outputs 0, not the new blue colour
    

    Thank you.

    use:

    Class com.kglad.Color_AS2 {}

    usage example:

    /*

    import com.kglad.Color_AS2;

    import flash.geom.ColorTransform;

    Color_AS2.colorChangeF ();

    var ct:ColorTransform = mc.transform.colorTransform;

    this.onEnterFrame = function() {}

    CT. RGB = Color_AS2.colorF ();

    mc.transform.colorTransform = ct

    }

    */

    public static var Red: Object = new Object();

    public static var Green: Object = new Object();

    public static var Blue: Object = new Object();

    public static var colorValueA:Array = [0, 15, 128];

    public static var colorA: Array = [red, green, Blue];

    public static var colorChangeA:Array = [1, -1];

    public static var primeA:Array = [3, 5, 7];

    function Color_AS2() {}

    }

    public static function colorChangeF() {}

    for (var i: Number = 0; i< colora.length;="" i++)="">

    .Val colorA [i] = Math.floor (Math.random () * 256);

    colorA [i] .colorChange = 2 * Math.round (Math.random ()) - 1;

    }

    }

    public static function colorF(n:Number):Number {}

    If (! n) {}

    n = 0;

    }

    If (n % 2000 == 1) {}

    colorChangeF();

    }

    for (var i: Number = 0; i< colora.length;="" i++)="">

    colorA [i] .val += primeA [i] * .colorChange colorA [i];

    If (> 255 .val colorA [i]) {}

    .Val colorA [i] = 254;

    colorA [i] .colorChange * = - 1;

    } ElseIf (.val colorA [i]< 0)="">

    .Val colorA [i] = 1;

    colorA [i] .colorChange * = - 1;

    }

    }

    .Val colorA [0] return< 16="" |="" colora[1].val="">< 8="" |="">

    }

    }

  • Try again... Exploding ball full of balls

    I'll try to explain again what I'm trying to do.

    Image with a basketball that has been cut in half. Fill the two side with an equal number of three different color ping-pong balls (or golf balls - this is to give an idea of the size). Now ask a M80 on top of one half in the Center and put the two halves together (so that the M80 is located in the center of the basketball and buried in the ping pong balls). Then blow the M80 and photo how the ping pong balls fly out in all directions. That's what I try to do with AE. Is this possible? I use CS3 with effects of stock.

    I think it can be accomplished a ball using trajectories, but I think that there is to be a way to do it with particles or in any other way. Does anyone have any suggestions?

    As usual, thank you!

    Lloyd

    CC Particle world is as close as you can get. You will need create a custom particle. Mine is a model of 40 X 40 pixels with 3 frames and 3 circles with grain applied to give texture to the particle. They resemble type of Trix cereal.

    The second step is to add the layer of particles to your comp to any Framework 3, add a solid for the world of particles CC and set up the particle effect using a particle custom like this:

    Now, simply adjust the physics to obtain the desired explosion.

    The trick is to pick up the explosion on frame 6 so that the particles are in motion when the wrapper comes off. Just now some is layering with your wrapper that will contain these balls. You put before diapers in above, back layers, and you have as good he'll get with standard particles.

    Here are a few things to think about. CC Particle World particles react with each other. IOW, they bounce off each other. They will respond with a floor. You can create multiple instances of the explosion and several floors to get interactivity with the layers of wrapper.

    By far the best way to do this kind of thing is in a 3D application. Blender would do the job just fine, and you can export AE camera movements. The second best would be with Trapcode Particular. No matter how you decide to go this is not a simple effect with just a couple of layers. It involves a lot of manipulation, mattes, blending modes, and critical reflection.

    The explsoion looks like this:

  • Need help with image fusion

    Hello

    Before I get to my question, I want to give you a glimpse of the project I'm working on and the aspects that I need help. For a school project, a customer, 94Fifty asked us to create an advertisement that depicts their basketball and could be used in advertising online and in magazines. The 94Fifty of basketball is the world's first "smart ball." It can count how many times you dribbling, the arc of your shot, release time it takes for you shoot, etc. To use the ball, you need an Apple product that can download the application 94Fifty on the App Store, so that this project is done as a collaboration with the company 94Fifty and Apple.

    For my ad, to really capture the idea of being the first smart ball, 94Fifty ball I wanted to mix an image of the texture of the ball of 94Fifty, with the shape and details of a brain, with the slogan being, "A ball that is as smart as you." I have my design buried on, but I'm not sure how to combine the image of the brain with ball should I use layers? How can I remove the pink color of the brain and replace it with the ball while keeping the shape of the brain and the lines creased the brain? Any help and technical that you can give would be greatly appreciated.

    Here are two pictures that I'm trying to mix.

    8376271918_cf0b1b5c4f_o.jpg94fifty ball.png

    I would also try and keep the logo of 94Fifty which is on the ball in the mixed picture.

    Please do not confuse this for to ask me someone to do it for me, it's the exact opposite of what I want, I just need help with what to do.

    Here is a fairly simple method:

    First of all, level of basketball for the type to be horizontal. (Also correct the values of white light - burn at the top left and bottom top right.)

    Mask on white background of the brain and turn the image to 0% of saturation.

    Put the brain on basketball on its own layer. Make the overlay blend mode.

    Using free transform, reshape the brain is greater (rounder), like the basketball, with a visible margin around the edge of the ball.

    -Now, you have a brain in a basketball, but the brain is a bit too subtle.

    Duplicate the layer of brain as many times as you need to get the good contrast (I've duped the layer of brain three times, for a total of four layers of brain).

    You will probably find that you need to use the levels adjustment layers or curves on each layer of the brain, for finer value adjustments. Make sure that each adjustment layer affects only the layer directly below.

  • . CurrentFrame should work here? What I am doing wrong?

    On stage, I have an instance of a door with 3 images. Each image is the door of a different color. They are labeled "color1", "color1", and "Couleur3. I use this code to generate randomly

    doors of different colors.

    var min = 1;

    var max = 4;

    door1.gotoAndStop ("Color" + String (Math.Floor (Math.Random () * (max - min) + min)));

    There is another instance of this door on the stage (called "door2") I would like to change colors based on the first door when it is selected. For example, if "door1" is red,

    When you click on "door2" it turns red. If "door1" is blue, when "door2" is clicked it will turn blue.

    I tried the following code changes:

    If (door1.currentFrame == "color1") {}

    DOOR2.gotoAndStop ("color1");

    }

    But every time that I change it, I get a different error message.

    What am I doing wrong here?

    This code is inside a function that causes "door1" changes color when you click it. My goal is to change the colors of the doors.

    No currrentFrame is a string

    so you should have to do

    If (door1.currentFrame == 14) {/ / or whatever is the frame number is}

    DOOR2.gotoAndStop ("color1");

    }

    but you can use this instead

    If (door1.currentLabel == "color1") {}

    DOOR2.gotoAndStop ("color1");

    }

  • How can I add emoji to my iOS agenda?

    I want to add emoticons in my calendar subscribed basketball similar to how my calendars of football and the moon have an emoji icon in the name. I tried to add manually by changing the name and adding the emoji in basketball, but he does not appear in the calendar. Football schedules have been subscribed on my iMac but the basketball on my iPad, but I do not understand why it would make a difference. All are ESPN.

    Hello Jarom Ellsworth,

    Thank you for using communities of Apple Support.

    I see you are trying to add an emoji to basketball to your subscribed calendar. I use emoji on some of my calendars and to track certain events.

    You can add emoticons in the calendars that you create, but if it is a calendar published by a third party, you will not be able to change the content of the calendar without editing privileges granted by the creator/editor of the calendar.

    Best regards.

  • can "access my d (dvd burner) drive.

    I'm trying to burn a copy of the basketball season of my son just finished editing using pinnacle studio 11.  The first one worked fine, but now my d guard drive disappears when I try to insert a dvd.  When I go to computer it shows all my drives, including my drive d which is my dvd burner and player player, but when I opened the door of dvd insert a dvd disappears from the icon of the drive in the computer and my computer tells me that it cannot detect a dvd.   I use vista and if I restart my computer the d drive reappears until I opened the door and I can't make it back unless I restart my computer.  Thank you

    Hello

    I would first try. Maybe a little simple thing.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Here are one couple of others if it does not work.

    CD/DVD drive does not appear in Windows Vista, or you receive this error during the installation of Windows Vista after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Hope it gets you'll soon Mark <> Microsoft Partner

  • How do you get behind another object by object

    What is the standard way to do so 1 object is in front of another object, but behind the other

    for example, lets say I have a mask of a basketball and I want basketball to be visible, the basketball is in front of the rest of the background, but someoene then runs in front of the basketball, so now, how can I do for basketball is in front of all the rest but cover/behind the person who runs in front of him that blocks vision

    create a mask of this person in front of the ball and just having priority overlay on that person over the ball or is there a better and more common way to do this

    You hide this person.  You're making this the top layer.  This requires the Rotoscoping.

  • collect statistics - estimate_percent


    Hi guys,.

    My DB: 10.2.0.5.

    Recently, I have a problem with the auto_sample_size.

    When you use the sample size car with one of the table, it takes only 2 percent.

    For example, some of my references SQLs this table went slow.

    When I tried to generate the statistics with 50%, it went very well. (picking up a more optimized plan).

    I'm trying to understand (with examples) you guys (experts), on:

    1. How does oracle choose the percent when auto_sample_size is specified.

    2. a good example why a bad plan will be selected at 2%. and a better plan will be chosen with stats of 50%.

    Thank you very much.

    I can't seem to find an example on that.

    2. a good example why a bad plan may be generated when 2%. and a better plan will be generated with stats of 50%. (when the data are asymmetric)

    Can anyone help to provide a simple example to understand?

    Of course - have you ever played or watched a basketball game? Have you noticed how REALLY, REALLY big, some of the players in a team are still other players are really short?

    1. you are a tailor

    2. the coach of the basketball team wants you to uniforms for its 10 players.

    3. the coach only will you more than 5 of its 10 players for you can measure uniforms

    4. do you prefer a 20% sample or a sample of 50%?

    5. what sample size will generate a better set of uniforms ("plan")?

    When the data is really uneven (as if it were in this example), you should still a "scan to complete basketball team. Your uniforms will not go well at all if two players get you to "sample" are the shortest (or higher) on the team?

    Moral: the information more and better, you have the best decision you can make. It is not only the quantity of statistics but the quality that can make the difference.

    How this example does not work for you?

  • How to make a subpage?

    Hello

    I built 2 pages - sports and basketball. I want to do the basketball subpage to the sports page, so that it displays sports > basketball over Ariane. Any ideas? See you soon.

    Alex

    IF you do not generate applications web, you need create folders.

    You must create a folder called 'sport' and move the pages of basketball and sport within that.

    You must change the url of the "sports" to "l."index.htm"page

    Thus, the structure of your URLs will be...

    / Sports/basketball

    /Sports/index.html will be the same as /sports

Maybe you are looking for

  • Gambling problem online for loading Xbox please help

    So I used my Xbox 360 box like usual me and my brother got a gift card of $100 so we put on his account. We bought a lot of ONLINE GAMES with money but on the Xbox, the drawer was broken, so we got a new. When we got this new that I registered on my

  • CVS

    Hello, does anyone have examples of programming on CVS 1450?

  • Windows Movie Maker - error message not indexed

    When I try to import a video to Windows Movie Maker, I get the following error message: the file C:\My Documents\video\VID00023.wmv is not indexed and cannot be imported.

  • Turns off automatically

    My desktop with XP computer stops automatically when not in use.  It then starts at the login screen.   When I click on my name, he re-boots, but everything that I had worked with is lost.

  • Defragment the system drive

    Defragmentation function seems not to work on the displayed system drive. The percentage of fragmentation continues to increase. Is there some way, perhaps even with a third-party application to get this number back to 0?