package rainbowPackage;

//import javafx.scene.paint.Paint.*;
import javafx.scene.image.PixelReader;
import javafx.scene.image.PixelWriter;
import javafx.scene.paint.Color;
import java.awt.Dimension;

public class RainbowSoft2D //RainbowSoft2D Houses A Series Of RainbowVideo.java Videos Or RainbowColorCodeSchemes.java For Frames

//FOR RainbowColorCodeSchemes.java! To Use RainbowSoftColorCodes And Access RainbowPattern2D.java Classes. This Class RainbowSoft2D Deals With Color Coding On 1 Layers To Make A Frame For RainbowVideo.java Which Accesses
{//This Class
	public double[] rgb = {0,0,0}, argb = {0,0,0,1};
	public Color fxColor = Color.BEIGE, tempColor = Color.OLIVE;//returnImmediatlyColor = fxColor.LAVENDER;
	public Color[] fxColorArray = { Color.PINK, Color.SKYBLUE };
	public ArrayReverser arrayReverser = new ArrayReverser();
	public ColorArrayReverser colorArrayReverser = new ColorArrayReverser();
	//public ColorSlider tempColorSlider = new ColorSlider();
	public TransparencySlider tempTransparencySlider = new TransparencySlider(), transparencySlider = new TransparencySlider();
	public double colorBeingChecked = 0, opacityBeingChecked = 1;
	public ColorFader tempColorFader = new ColorFader();
	public ColorTooSimilar colorTooSimilarFunction = new ColorTooSimilar();
	public RainbowSoftColorCodesSets rainbowSoftColorCodesSets;
	public double ColorBeingChecked = 0, OpacityBeingChecked = 1, sliderValue = 0, originalFormulaValue = 0, numberOfTransitions = 0, coreVariableStill = 0, coreTranisitionVariable = 0;
	public RainbowSoftColor rainbowSoftColor = new RainbowSoftColor( new double[]{0,0,0,1} );
	public RainbowPattern2D pattern2D = new RainbowPattern2D( new double[]{0,0,0,1} );
	//public boolean someTargetColorHit = true, someTargetColorInTheCenterHit = false, greenBlueGreenUsed = false, otherBrowserColorHit = false, makePixelTransparent = false, aColorBarHit = false, aWheelDiamondHit = false, wheelTipsHit = false;
	static final int maxIndexOfHorizontalColorBars = 17, maxIndexOfVerticalColorBars = 3;
	int colorBarIndex = 0, colorBarCheck = 0, colorBarDistance = 0, eightColorDiamondsIndexStill = 0, eightColorDiamondsIndexMoving = 0, eightColorDiamondsIndex = 0;
	boolean returnImmediately = false, laterReversed = false, someTargetColorHit = true, reversalOfBackgroundEffectsSlave = true, browserHit = false;

	public RainbowSoft2D( Color FXColor )//Creates Class And Sets Color With JavaFX Color Class //
	{
		fxColor = FXColor;
		rainbowSoftColor = new RainbowSoftColor( FXColor );
		rgb = new double[] { FXColor.getRed() * 255, FXColor.getGreen() * 255, FXColor.getBlue() * 255 };
		argb = new double[] { FXColor.getRed() * 255, FXColor.getGreen() * 255, FXColor.getBlue() * 255, FXColor.getOpacity() };
	}
	public RainbowSoft2D( double[] ARGB )//Creates Class And Sets Color With ARGB //
	{
		for  (int z = 0; z <= 2; z++)
		{
			rgb[z] = ColorValueFitter(ARGB[z]);
			argb[z] = ColorValueFitter(ARGB[z]);
		}
		if ( ARGB.length == 3 )
		{
			argb = new double[4];
			for  (int z = 0; z <= 2; z++)
				argb[z] = ColorValueFitter(rgb[z]);
			ARGB[3] = 1;
		}
		else
			argb[3] = OpacityValueFitter(ARGB[3]);
		rainbowSoftColor = new RainbowSoftColor( argb );
		fxColor = rainbowSoftColor.ToFXColor();
	}
	public RainbowSoft2D()//Creates Class And Sets Color To Opake Black //
	{
		rgb = new double[]{0,0,0};
		argb = new double[]{0,0,0,1};
		rainbowSoftColor = new RainbowSoftColor( rgb );
		fxColor = rainbowSoftColor.ToFXColor();
	}
	public Color ToFXColor()//Returns Color In JavaFX
	{
		fxColor = rainbowSoftColor.ToFXColor();
		//return VibrantColors.Red.ToFXColor();//TESTING ONLY
		return fxColor;
		//return fxColor;
	}
	public Color ToFXColor( double[] ARGB )//Changes Class To ARGB Value And Returns Color In JavaFX //
	{
		for  (int z = 0; z <= 2; z++)
		{
			rgb[z] = ColorValueFitter(ARGB[z]);
			argb[z] = ColorValueFitter(ARGB[z]);
		}
		if ( ARGB.length == 3 )
		{
			argb = new double[4];
			for  (int z = 0; z <= 2; z++)
				argb[z] = ColorValueFitter(rgb[z]);
			ARGB[3] = 1;
		}
		else
			argb[3] = OpacityValueFitter(ARGB[3]);
		rainbowSoftColor = new RainbowSoftColor( argb );
		fxColor = rainbowSoftColor.ToFXColor();
		return fxColor;
	}

	public Color RainbowClock(double ColorsFactor, double LocationOfStillMovement, double LocationOfColorMovement, int x, int y, double RepeatFactor, boolean Reversed, double BrightnessMultiplyer, int Gradations, double OpacityBefore, double OpacityAfter, boolean Adjusted, PixelReader BrowserPR, PixelWriter BrowserPW, Dimension Dim, String TypeOfDisplay, Color InitialColorContrastingChoice, Color ColorTooSimilarReplacementColor, double ColorDifference, boolean InvertBasisFromBackground, boolean ReversalOfBackgroundEffectsMaster, boolean NextStepColorTooSimilarEffect )//Basic Example Of How Colors Change Then Go Through Final String Based Choice ReProcessing. Figure This Function Entirely Before Moving On If Analyzing RainbowSoft2D.
	{
		pattern2D = new RainbowPattern2D( VibrantColors.HalfGrey.ToFXColor() );
		Dimension HalfedDim = new Dimension();
		HalfedDim.width = (int)Math.round( Dim.width / 2. );//Check Into If This Is Right
		HalfedDim.height = (int)Math.round( Dim.height / 2. );//Check Into If This Is Right
		someTargetColorHit = true; browserHit = true;
		laterReversed = Reversed; reversalOfBackgroundEffectsSlave = ReversalOfBackgroundEffectsMaster;
		rainbowSoftColor = new RainbowSoftColor( DisplayTypeDeterminer ( TypeOfDisplay, VibrantColors.Black.ToFXColor(), VibrantColors.Black.ToFXColor(), BrowserPR.getColor( x, y ), laterReversed, reversalOfBackgroundEffectsSlave ) );//DisplayTypeDeterminer ( TypeOfDisplay, VibrantColors.Black.ToFXColor(), VibrantColors.Black.ToFXColor(), BrowserPR.getColor( x, y ), laterReversed, reversalOfBackgroundEffectsSlave ) );   //DisplayTypeDeterminer ( TypeOfDisplay, VibrantColors.Black.ToFXColor(), BrowserPR.getColor( x, y ), laterReversed )
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();
		//browserHit = false;//UnComment For No Browser Fade In As Well As Use Just Below transparencySlider.
		if ( returnImmediately )
			//if ( browserHit )
			//{ //transparencySlider.set( new double[]{ 255. * BrowserPR.getColor( x, y ).getRed(), 255. * BrowserPR.getColor( x, y ).getGreen(), 255. * BrowserPR.getColor( x, y ).getBlue(), tempTransparencySlider.OpacityValueFitterCapper( 1.5 * LocationOfColorMovement / RepeatFactor ) } );//new double[]{ 255. * VibrantColors.Magenta.ToFXColor().getRed(), 255. * VibrantColors.Magenta.ToFXColor().getGreen(), 255. * VibrantColors.Magenta.ToFXColor().getBlue(), 1. - LocationOfColorMovement / RepeatFactor }
			//return //transparencySlider.ToFXColor(); }
			//else
			return fxColor;
		if ( laterReversed != Reversed )
		{
			//transparencySlider.TransparencySliderFunction( RepeatFactor, LocationOfColorMovement, VibrantColors.Magenta.ToFXColor(), VibrantColors.ClearMagenta.ToFXColor() );
			//transparencySlider.set( VibrantColors.Magenta.ToFXColor() );
			/*if ( LocationOfColorMovement / RepeatFactor < 0.5)//UnComment Below To NextColorDecide To Get Text Fade In Back And Fourth
				transparencySlider.set( new double[]{ 255. * BrowserPR.getColor( x, y ).getRed(), 255. * BrowserPR.getColor( x, y ).getGreen(), 255. * BrowserPR.getColor( x, y ).getBlue(), tempTransparencySlider.OpacityValueFitterCapper ( 1 - 6 * LocationOfColorMovement / RepeatFactor ) } );//1. - LocationOfColorMovement / RepeatFactor } );//new double[]{ 255. * VibrantColors.Magenta.ToFXColor().getRed(), 255. * VibrantColors.Magenta.ToFXColor().getGreen(), 255. * VibrantColors.Magenta.ToFXColor().getBlue(), 1. - LocationOfColorMovement / RepeatFactor }
			else
				transparencySlider.set( new double[]{ 255. * BrowserPR.getColor( x, y ).getRed(), 255. * BrowserPR.getColor( x, y ).getGreen(), 255. * BrowserPR.getColor( x, y ).getBlue(), tempTransparencySlider.OpacityValueFitterCapper ( 2 * LocationOfColorMovement / RepeatFactor - 1 ) } );
			BrowserPW.setColor( x, y, transparencySlider.ToFXColor() );// */
			pattern2D.RainbowClockVaryated( ColorsFactor, LocationOfStillMovement, LocationOfColorMovement,  x - HalfedDim.width, y - HalfedDim.height, RepeatFactor, VibrantColorCombos.RainbowFXcolorsReverse, laterReversed );//Simple Double Slider 1 Rotation Rainbow Clock
			//System.out.println( "arrayReverser.Length(): " + arrayReverser.Length() );
			//tempTransparencySlider.CombineColors( pattern2D.ToFXColor(), transparencySlider.ToFXColor() );
			return NextColorDecide ( VibrantColors.Black.ToFXColor(), VibrantColors.Black.ToFXColor(), pattern2D.ToFXColor() /*tempTransparencySlider.ToFXColor()*/, InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else
		{
			//System.out.println( "laterReversed != Reversed: " + ( laterReversed != Reversed ) );
			pattern2D.RainbowClockVaryated( ColorsFactor, LocationOfStillMovement, LocationOfColorMovement,  x - HalfedDim.width, y - HalfedDim.height, RepeatFactor, VibrantColorCombos.RainbowFXcolorsReverseNoPink, laterReversed );//Simple Double Slider 1 Rotation Rainbow Clock Reversed
			return NextColorDecide ( VibrantColors.Black.ToFXColor(), VibrantColors.Black.ToFXColor(), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, laterReversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
	}

	public Color Buddhism(double ColorsFactor, double LocationOfStillMovement, double LocationOfColorMovement, double SliderInterval, double FullSliderRunThrough, int x, int y, double RepeatFactor, double LengthOfColorBar, double SpiralFactor, double NumberOfSpirals, double SuckInExponentialness, double SuckInDivisor, double HalfSreenDiagionalLength, boolean Reversed, double BrightnessMultiplyer, int Gradations, double OpacityBefore, double OpacityAfter, boolean Adjusted, PixelReader BasisPR, PixelReader BackgroundBasisPR, PixelReader BrowserPR, Dimension Dim, String TypeOfDisplay, Color InitialColorContrastingChoice, Color ColorTooSimilarReplacementColor, double ColorDifference, boolean InvertBasisFromBackground, boolean ReversalOfBackgroundEffectsMaster, boolean NextStepColorTooSimilarEffect )
	{//SliderInterval May Not Be Needed
		pattern2D = new RainbowPattern2D( VibrantColors.HalfGrey.ToFXColor() );
		Dimension HalfedDim = new Dimension();
		HalfedDim.width = (int)Math.round( Dim.width / 2. );//Check Into If This Is Right
		HalfedDim.height = (int)Math.round( Dim.height / 2. );//Check Into If This Is Right
		double radialDistance = Math.pow(Math.pow(HalfedDim.width + 1, 2) + Math.pow(HalfedDim.height + 1, 2), 0.5), rainbowIntervalVariable = 0;
		double fullAngle = Math.PI * radialDistance;
		double colorDisplacement = 0;
		double chrysanthemumRadius = 60;
		double radialVariableDistance = 0;//Comment Out For  Ghetto Many Rainbow Clocks
		double angleVariableStill = 0;//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals
		double radiusVariableStill = 0;//radialVariableDistance + colorDisplacement + angle;//Remove + angle And Add xSlider To Make Rainbow Clock
		double angleVariableTransitioning = 0;//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals
		double radiusVariableTransitioning = 0;//radialVariableDistance + colorDisplacement + angle;//Remove + angle And Add xSlider To Make Rainbow Clock
		int outerRingRadius = 293, outerRingThickness = 72, middleRingRadius = 88, middleRingThickness = 20, innerRingRadius = 66, innerRingThickness = 18;//outerRingThickness = 65;

		boolean someTargetColorInTheCenterHit = false, greenBlueGreenUsed = false, otherBrowserColorHit = false,	makePixelTransparent = false, aWheelDiamondHit = false,	wheelTipsHit = false;
		//aColorBarHit = false;
		//System.out.println("x: " + x + " y: " + y + " BasisPR.getColor( x, y ): " + BasisPR.getColor( x, y ) );
		int transparentNum = 0;

		Color BrowserPRcolor = BrowserPR.getColor( x, y );

		someTargetColorHit = true;
		laterReversed = Reversed; reversalOfBackgroundEffectsSlave = ReversalOfBackgroundEffectsMaster;
		rainbowSoftColor = new RainbowSoftColor( DisplayTypeDeterminer ( TypeOfDisplay, BasisPR.getColor( x, y ), BackgroundBasisPR.getColor( x, y ), BrowserPRcolor, Reversed, reversalOfBackgroundEffectsSlave ) );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();
		if ( returnImmediately )
			return fxColor;

		//System.out.println("Got To Buddhism Basis Pixel If-Tree. x: " + x + " y: " + y + " fxColor: " + fxColor );

		for ( colorBarIndex = 0; colorBarIndex <= maxIndexOfHorizontalColorBars; colorBarIndex++)
		{
			//System.out.println("x: " + x + " y: " + y + " BasisPR.getColor( x, y ): " + BasisPR.getColor( x, y ) + " Color: " + rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor() );
			//tempTransparencySlider = rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex);
			//System.out.println("x: " + x + " y: " + y + " BasisPR.getColor( x, y ): " + BasisPR.getColor( x, y ));
			//System.out.println("colorBarIndex: " + colorBarIndex);
			//System.out.println("rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex): " + rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex) );
			//System.out.println("rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToARGBcolorNum(): " + rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToARGBcolorNum());
			//System.out.println( fxColor == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor() );
			if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor().getBlue() )//Left Side Bars
			{
				//System.out.println("x: " + x + " y: " + y + " fxColor: " + fxColor + " Color: " + rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor() );
				colorBarDistance = 0;
				for ( colorBarCheck = x; colorBarCheck >= 0; colorBarCheck--)
				{
					if ( BackgroundBasisPR.getColor( colorBarCheck, y ).getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor().getOpacity() &&
							BackgroundBasisPR.getColor( colorBarCheck, y ).getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor().getRed() &&
							BackgroundBasisPR.getColor( colorBarCheck, y ).getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor().getGreen() &&
							BackgroundBasisPR.getColor( colorBarCheck, y ).getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackBlue(colorBarIndex).ToFXColor().getBlue() )
						colorBarDistance++;
					else
						break;
				}
				if ( colorBarIndex == 17 )
					colorBarDistance = colorBarDistance + 8;//For Cool Flippy Single Bar Color Changing Effect Square LengthOfColorBar
				coreVariableStill = colorBarDistance - LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfStillMovement / FullSliderRunThrough;
				coreTranisitionVariable = colorBarDistance - LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfColorMovement / FullSliderRunThrough;
				//coreVariableStill = colorBarDistance - LengthOfColorBar * LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfStillMovement / FullSliderRunThrough;
				//coreTranisitionVariable = colorBarDistance - LengthOfColorBar * LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfColorMovement / FullSliderRunThrough;
				while ( coreVariableStill < 0 )//For Cool Seizure Effect Don't Divide Above By LengthOfColorBar
					coreVariableStill = coreVariableStill + LengthOfColorBar;
				while ( coreVariableStill > LengthOfColorBar )
					coreVariableStill = coreVariableStill - LengthOfColorBar;
				while ( coreTranisitionVariable < 0 )
					coreTranisitionVariable = coreTranisitionVariable + LengthOfColorBar;
				while ( coreTranisitionVariable > LengthOfColorBar )
					coreTranisitionVariable = coreTranisitionVariable - LengthOfColorBar;
				if ( !laterReversed )
					pattern2D.SimpleRainbow( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				else
					pattern2D.SimpleRainbowReverse( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
				//rainbowSoftColor = new RainbowSoftColor(  VibrantColors.Red.ToFXColor() );//TESTING ONLY
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
			else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackRed(colorBarIndex).ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackRed(colorBarIndex).ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackRed(colorBarIndex).ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackRed(colorBarIndex).ToFXColor().getBlue() )//Right Side Bars
			{
				colorBarDistance = 0;
				for ( colorBarCheck = x; colorBarCheck <= Dim.width; colorBarCheck++)
				{
					if ( BackgroundBasisPR.getColor( colorBarCheck, y ).getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackRed(colorBarIndex).ToFXColor().getOpacity() &&
							BackgroundBasisPR.getColor( colorBarCheck, y ).getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackRed(colorBarIndex).ToFXColor().getRed() &&
							BackgroundBasisPR.getColor( colorBarCheck, y ).getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackRed(colorBarIndex).ToFXColor().getGreen() &&
							BackgroundBasisPR.getColor( colorBarCheck, y ).getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackRed(colorBarIndex).ToFXColor().getBlue() )
						colorBarDistance++;
					else
						break;
				}
				if ( colorBarIndex == 17 )
					colorBarDistance = colorBarDistance + 8;
				coreVariableStill = colorBarDistance + LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfStillMovement / FullSliderRunThrough;
				coreTranisitionVariable = colorBarDistance + LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfColorMovement / FullSliderRunThrough ;
				//coreVariableStill = colorBarDistance + LengthOfColorBar * LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfStillMovement / FullSliderRunThrough;
				//coreTranisitionVariable = colorBarDistance + LengthOfColorBar * LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfColorMovement / FullSliderRunThrough;
				while ( coreVariableStill < 0 )
					coreVariableStill = coreVariableStill + LengthOfColorBar;
				while ( coreVariableStill > LengthOfColorBar )
					coreVariableStill = coreVariableStill - LengthOfColorBar;
				while ( coreTranisitionVariable < 0 )
					coreTranisitionVariable = coreTranisitionVariable + LengthOfColorBar;
				while ( coreTranisitionVariable > LengthOfColorBar )
					coreTranisitionVariable = coreTranisitionVariable - LengthOfColorBar;
				if ( !laterReversed )
					pattern2D.SimpleRainbow( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				else
					pattern2D.SimpleRainbowReverse( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
		}
		//System.out.println("Got Past blackRed");
		for ( colorBarIndex = 0; colorBarIndex <= maxIndexOfVerticalColorBars; colorBarIndex++)
		{
			if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackGreen(colorBarIndex).ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackGreen(colorBarIndex).ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackGreen(colorBarIndex).ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackGreen(colorBarIndex).ToFXColor().getBlue() )//Top Side Bars
			{
				colorBarDistance = 0;
				for ( colorBarCheck = y; colorBarCheck >= 0; colorBarCheck--)
				{
					if ( BackgroundBasisPR.getColor( x, colorBarCheck ).getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackGreen(colorBarIndex).ToFXColor().getOpacity() &&
							BackgroundBasisPR.getColor( x, colorBarCheck ).getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackGreen(colorBarIndex).ToFXColor().getRed() &&
							BackgroundBasisPR.getColor( x, colorBarCheck ).getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackGreen(colorBarIndex).ToFXColor().getGreen() &&
							BackgroundBasisPR.getColor( x, colorBarCheck ).getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackGreen(colorBarIndex).ToFXColor().getBlue() )
						colorBarDistance++;
					else
						break;
				}
				coreVariableStill = colorBarDistance - LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfStillMovement / FullSliderRunThrough;
				coreTranisitionVariable = colorBarDistance - LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfColorMovement / FullSliderRunThrough;
				//coreVariableStill = colorBarDistance - LengthOfColorBar * LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfStillMovement / FullSliderRunThrough;
				//coreTranisitionVariable = colorBarDistance - LengthOfColorBar * LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfColorMovement / FullSliderRunThrough;
				while ( coreVariableStill < 0 )
					coreVariableStill = coreVariableStill + LengthOfColorBar;
				while ( coreVariableStill > LengthOfColorBar )
					coreVariableStill = coreVariableStill - LengthOfColorBar;
				while ( coreTranisitionVariable < 0 )
					coreTranisitionVariable = coreTranisitionVariable + LengthOfColorBar;
				while ( coreTranisitionVariable > LengthOfColorBar )
					coreTranisitionVariable = coreTranisitionVariable - LengthOfColorBar;
				if ( !laterReversed )
					pattern2D.SimpleRainbow( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				else
					pattern2D.SimpleRainbowReverse( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
			else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackPurple(colorBarIndex).ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackPurple(colorBarIndex).ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackPurple(colorBarIndex).ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackPurple(colorBarIndex).ToFXColor().getBlue() )//Bottom Bars
			{
				colorBarDistance = 0;
				for ( colorBarCheck = y; colorBarCheck <= Dim.height; colorBarCheck++)
				{
					if ( BackgroundBasisPR.getColor( x, colorBarCheck ).getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackPurple(colorBarIndex).ToFXColor().getOpacity() &&
							BackgroundBasisPR.getColor( x, colorBarCheck ).getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackPurple(colorBarIndex).ToFXColor().getRed() &&
							BackgroundBasisPR.getColor( x, colorBarCheck ).getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackPurple(colorBarIndex).ToFXColor().getGreen() &&
							BackgroundBasisPR.getColor( x, colorBarCheck ).getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.blackPurple(colorBarIndex).ToFXColor().getBlue() )
						colorBarDistance++;
					else
						break;
				}
				coreVariableStill = colorBarDistance + LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfStillMovement / FullSliderRunThrough;
				coreTranisitionVariable = colorBarDistance + LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfColorMovement / FullSliderRunThrough ;
				//coreVariableStill = colorBarDistance + LengthOfColorBar * LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfStillMovement / FullSliderRunThrough;
				//coreTranisitionVariable = colorBarDistance + LengthOfColorBar * LengthOfColorBar * Math.pow( colorBarIndex + 1, SuckInExponentialness ) / SuckInDivisor * LocationOfColorMovement / FullSliderRunThrough;
				while ( coreVariableStill < 0 )
					coreVariableStill = coreVariableStill + LengthOfColorBar;
				while ( coreVariableStill > LengthOfColorBar )
					coreVariableStill = coreVariableStill - LengthOfColorBar;
				while ( coreTranisitionVariable < 0 )
					coreTranisitionVariable = coreTranisitionVariable + LengthOfColorBar;
				while ( coreTranisitionVariable > LengthOfColorBar )
					coreTranisitionVariable = coreTranisitionVariable - LengthOfColorBar;
				if ( !laterReversed )
					pattern2D.SimpleRainbow( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				else
					pattern2D.SimpleRainbowReverse( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
		}
		//System.out.println("Got Past blackPurple");
		if ( fxColor.getOpacity() == VibrantColors.OxylBlue.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.OxylBlue.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.OxylBlue.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.OxylBlue.ToFXColor().getBlue() )
		{
			/*coreVariableStill = ( ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) + Math.PI ) * radialDistance ) / 2 + LocationOfStillMovement;
				coreTranisitionVariable = ( ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) + Math.PI ) * radialDistance ) / 2 + LocationOfColorMovement;
				if (coreVariableStill < 0)
					coreVariableStill = coreVariableStill + fullAngle;
				else if (coreVariableStill > fullAngle)
					coreVariableStill = coreVariableStill - fullAngle;
				if (coreTranisitionVariable < 0)
					coreTranisitionVariable = coreTranisitionVariable + fullAngle;
				else if (coreTranisitionVariable > fullAngle)
					coreTranisitionVariable = coreTranisitionVariable - fullAngle;
				rainbowIntervalVariable = fullAngle;*/
			pattern2D.RainbowClockGradated( ColorsFactor / ( 16. * RepeatFactor ), coreVariableStill, coreTranisitionVariable, x - HalfedDim.width, y - HalfedDim.height, RepeatFactor / ( 16. * ColorsFactor ), laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelDiamonds().ToFXColor().getOpacity() &&
				fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelDiamonds().ToFXColor().getRed() &&
				fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelDiamonds().ToFXColor().getGreen() &&
				fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelDiamonds().ToFXColor().getBlue() )
		{
			if ( ( y - HalfedDim.height ) < - HalfedDim.height / 10)
			{
				if ( ( x - HalfedDim.width ) < HalfedDim.height / 10 && ( x - HalfedDim.width ) > - HalfedDim.height / 10 ) 
					eightColorDiamondsIndexStill = 0;
				else if ( ( x - HalfedDim.width ) + ( y - HalfedDim.height ) < HalfedDim.height / 10 && ( x - HalfedDim.width ) + ( y - HalfedDim.height ) > - HalfedDim.height / 10 )
					eightColorDiamondsIndexStill = 1;
				else if ( ( x - HalfedDim.width ) - ( y - HalfedDim.height ) < HalfedDim.height / 10 && ( x - HalfedDim.width ) - ( y - HalfedDim.height ) > - HalfedDim.height / 10 )
					eightColorDiamondsIndexStill = 7;
			}
			else if ( ( y - HalfedDim.height ) > HalfedDim.height / 10)
			{
				if ( ( x - HalfedDim.width ) < HalfedDim.height / 10 && ( x - HalfedDim.width ) > - HalfedDim.height / 10)
					eightColorDiamondsIndexStill = 4;
				else
					if ( ( x - HalfedDim.width ) - ( y - HalfedDim.height ) < HalfedDim.height / 10 && ( x - HalfedDim.width ) - ( y - HalfedDim.height ) > - HalfedDim.height / 10 )	
						eightColorDiamondsIndexStill = 3;
					else
						if ( ( x - HalfedDim.width ) + ( y - HalfedDim.height ) < HalfedDim.height / 10 && ( x - HalfedDim.width ) + ( y - HalfedDim.height ) > - HalfedDim.height / 10 )
							eightColorDiamondsIndexStill = 5;
			}
			else
				if ( x - HalfedDim.width > 0 )
					eightColorDiamondsIndexStill = 2;
				else
					if ( x - HalfedDim.width < 0 )
						eightColorDiamondsIndexStill = 6;
			eightColorDiamondsIndexMoving = eightColorDiamondsIndexStill;
			eightColorDiamondsIndexStill = (int)Math.ceil( eightColorDiamondsIndexStill - 8 * LocationOfStillMovement / fullAngle );
			eightColorDiamondsIndexMoving = (int)Math.ceil( eightColorDiamondsIndexMoving - 8 * LocationOfColorMovement / fullAngle );
			while ( eightColorDiamondsIndexStill < 0 )
				eightColorDiamondsIndexStill = eightColorDiamondsIndexStill + 8;
			while ( eightColorDiamondsIndexStill > 7 )
				eightColorDiamondsIndexStill = eightColorDiamondsIndexStill - 8;
			while ( eightColorDiamondsIndexMoving < 0 )
				eightColorDiamondsIndexMoving = eightColorDiamondsIndexMoving + 8;
			while ( eightColorDiamondsIndexMoving > 7 )
				eightColorDiamondsIndexMoving = eightColorDiamondsIndexMoving - 8;
			eightColorDiamondsIndex = ( eightColorDiamondsIndexStill + eightColorDiamondsIndexMoving ) / 2;//CHECK ME MAY BE - Instead Of +
			while ( eightColorDiamondsIndex < 0 )
				eightColorDiamondsIndex = eightColorDiamondsIndex + 8;
			while ( eightColorDiamondsIndex > 7 )
				eightColorDiamondsIndex = eightColorDiamondsIndex - 8;
			if ( BrowserPRcolor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
					BrowserPRcolor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
					BrowserPRcolor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
					BrowserPRcolor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )//shitBrownNum )
			{
				/*rainbowSoftColor = new RainbowSoftColor( rainbowSoftColorCodesSets.buddhismSchemeSet.wheelDiamondsArray( 7 - eightColorDiamondsIndex).ToFXColor() );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();// */
				return fxColor;
				//pw.setArgb( x, y, magentaNum );
			}
			else
			{
				/*rainbowSoftColor = new RainbowSoftColor( rainbowSoftColorCodesSets.buddhismSchemeSet.wheelDiamondsArray(eightColorDiamondsIndex).ToFXColor() );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();// */
				return fxColor;
				//pw.setArgb( x, y, wheelDiamondsArrayNum[eightColorDiamondsIndex] );
			}
		}
		else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelRods().ToFXColor().getOpacity() &&
				fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelRods().ToFXColor().getRed() &&
				fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelRods().ToFXColor().getGreen() &&
				fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelRods().ToFXColor().getBlue() )
		{
			/*coreVariableStill = ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) * radialDistance ) + LocationOfStillMovement / 16;
				coreTranisitionVariable = ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) * radialDistance ) + LocationOfColorMovement / 16;
				while ( coreVariableStill < 0 )
					coreVariableStill = coreVariableStill + fullAngle / 8;
				while ( coreVariableStill > fullAngle / 8)
					coreVariableStill = coreVariableStill - fullAngle / 8;
				while ( coreTranisitionVariable < 0 )
					coreTranisitionVariable = coreTranisitionVariable + fullAngle / 8;
				while ( coreTranisitionVariable > fullAngle / 8)
					coreTranisitionVariable = coreTranisitionVariable - fullAngle / 8;
				rainbowIntervalVariable = fullAngle / 8;// */
			pattern2D.RainbowClockGradated( ColorsFactor / ( RepeatFactor * 16 ), coreVariableStill / 16, coreTranisitionVariable / 16, x - HalfedDim.width, y - HalfedDim.height, RepeatFactor / 16, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			//CHECK FOR FIX FROM FwaFlagLogoSplash
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelEnds().ToFXColor().getOpacity() &&
				fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelEnds().ToFXColor().getRed() &&
				fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelEnds().ToFXColor().getGreen() &&
				fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelEnds().ToFXColor().getBlue() )
		{
			/*coreVariableStill = ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) * radialDistance ) - LocationOfStillMovement / 16;
				coreTranisitionVariable = ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) * radialDistance ) - LocationOfColorMovement / 16;
				while ( coreVariableStill < 0 )
					coreVariableStill = coreVariableStill + fullAngle / 8;
				while ( coreVariableStill > fullAngle / 8)
					coreVariableStill = coreVariableStill - fullAngle / 8;
				while ( coreTranisitionVariable < 0 )
					coreTranisitionVariable = coreTranisitionVariable + fullAngle / 8;
				while ( coreTranisitionVariable > fullAngle / 8)
					coreTranisitionVariable = coreTranisitionVariable - fullAngle / 8;
				rainbowIntervalVariable =  fullAngle / 8;//*/
			pattern2D.RainbowClockGradated( ColorsFactor / ( RepeatFactor * 16 ), - coreVariableStill / 16, - coreTranisitionVariable / 16, x - HalfedDim.width, y - HalfedDim.height, RepeatFactor / 16, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );

		}
		else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelOuterRing().ToFXColor().getOpacity() &&
				fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelOuterRing().ToFXColor().getRed() &&
				fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelOuterRing().ToFXColor().getGreen() &&
				fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelOuterRing().ToFXColor().getBlue() )
		{
			/*coreVariableStill = outerRingRadius - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5) + outerRingThickness * LocationOfStillMovement / fullAngle;
				coreTranisitionVariable = outerRingRadius - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5) + outerRingThickness * LocationOfColorMovement / fullAngle;
				while ( coreVariableStill < outerRingThickness )
					coreVariableStill = coreVariableStill + outerRingThickness;
				while ( coreVariableStill > outerRingThickness )
					coreVariableStill = coreVariableStill - outerRingThickness;
				while ( coreTranisitionVariable < outerRingThickness )
					coreTranisitionVariable = coreTranisitionVariable + outerRingThickness;
				while ( coreTranisitionVariable > outerRingThickness )
					coreTranisitionVariable = coreTranisitionVariable - outerRingThickness;
				rainbowIntervalVariable = outerRingThickness;// */
			pattern2D.RainbowDiskGradated( outerRingThickness * ColorsFactor / RepeatFactor, outerRingThickness * coreVariableStill / FullSliderRunThrough, outerRingThickness * coreTranisitionVariable / FullSliderRunThrough, x - HalfedDim.width, y - HalfedDim.height, outerRingThickness, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelMiddleRing().ToFXColor().getOpacity() &&
				fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelMiddleRing().ToFXColor().getRed() &&
				fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelMiddleRing().ToFXColor().getGreen() &&
				fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelMiddleRing().ToFXColor().getBlue() )
		{
			/*coreVariableStill = middleRingRadius - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5) + 2 * middleRingThickness * LocationOfStillMovement / fullAngle;
				coreTranisitionVariable = middleRingRadius - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5) + 2 * middleRingThickness * LocationOfColorMovement / fullAngle;
				while ( coreVariableStill < middleRingThickness )
					coreVariableStill = coreVariableStill + middleRingThickness;
				while ( coreVariableStill > middleRingThickness )
					coreVariableStill = coreVariableStill - middleRingThickness;
				while ( coreTranisitionVariable < middleRingThickness )
					coreTranisitionVariable = coreTranisitionVariable + middleRingThickness;
				while ( coreTranisitionVariable > middleRingThickness )
					coreTranisitionVariable = coreTranisitionVariable - middleRingThickness;
				rainbowIntervalVariable = middleRingThickness;// */
			pattern2D.RainbowDiskGradated( middleRingThickness * ColorsFactor / RepeatFactor, middleRingThickness * coreVariableStill / FullSliderRunThrough, middleRingThickness * coreTranisitionVariable / FullSliderRunThrough, x - HalfedDim.width, y - HalfedDim.height, middleRingThickness, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );

		}
		else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelInnerRing().ToFXColor().getOpacity() &&
				fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelInnerRing().ToFXColor().getRed() &&
				fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelInnerRing().ToFXColor().getGreen() &&
				fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelInnerRing().ToFXColor().getBlue() )
		{
			/*coreVariableStill = innerRingRadius - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5) + 4 * innerRingThickness * LocationOfStillMovement / fullAngle;
				coreTranisitionVariable = innerRingRadius - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5) + 4 * innerRingThickness * LocationOfColorMovement / fullAngle;
				while ( coreVariableStill < innerRingThickness )
					coreVariableStill = coreVariableStill + innerRingThickness;
				while ( coreVariableStill > innerRingThickness )
					coreVariableStill = coreVariableStill - innerRingThickness;
				while ( coreTranisitionVariable < innerRingThickness )
					coreTranisitionVariable = coreTranisitionVariable + innerRingThickness;
				while ( coreTranisitionVariable > innerRingThickness )
					coreTranisitionVariable = coreTranisitionVariable - innerRingThickness;
				rainbowIntervalVariable = innerRingThickness;// */
			pattern2D.RainbowDiskGradated( innerRingThickness * ColorsFactor / RepeatFactor, innerRingThickness * coreVariableStill / FullSliderRunThrough, innerRingThickness * coreTranisitionVariable / FullSliderRunThrough, x - HalfedDim.width, y - HalfedDim.height, innerRingThickness, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );

		}
		else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelTips().ToFXColor().getOpacity() &&
				fxColor.getRed() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelTips().ToFXColor().getRed() &&
				fxColor.getGreen() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelTips().ToFXColor().getGreen() &&
				fxColor.getBlue() == rainbowSoftColorCodesSets.buddhismSchemeSet.wheelTips().ToFXColor().getBlue() )
		{
			wheelTipsHit = true;
			if ( ( coreVariableStill + coreTranisitionVariable ) / 2 <= fullAngle - 8.468 * SliderInterval )//CHECK ME FOR WORKING PROPERLY MAY NEED '-'
			{
				if ( BrowserPRcolor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
						BrowserPRcolor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
						BrowserPRcolor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
						BrowserPRcolor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )//shitBrownNum )
					rainbowSoftColor = new RainbowSoftColor( VibrantColors.Red.ToFXColor() );
				else
					rainbowSoftColor = new RainbowSoftColor( VibrantColors.Green.ToFXColor() );
				/*rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();// */
				return fxColor;
			}
			else
			{
				if ( BrowserPRcolor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
						BrowserPRcolor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
						BrowserPRcolor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
						BrowserPRcolor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )//shitBrownNum )
					rainbowSoftColor = new RainbowSoftColor( VibrantColors.Green.ToFXColor() );
				else
					rainbowSoftColor = new RainbowSoftColor( VibrantColors.Red.ToFXColor() );
				/*rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();// */
				return fxColor;
			}
		}
		else
			if ( Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y  - HalfedDim.height + 1, 2), 0.5) <= 47 )// 47 Will Cause Problems If Resized
			{
				radialVariableDistance = Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5);//Comment Out For  Ghetto Many Rainbow Clocks
				angleVariableStill =  chrysanthemumRadius * ( ( - Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height) ) + Math.PI ) - 6 * Math.PI * LocationOfStillMovement / ( fullAngle / 10 ) );//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals
				radiusVariableStill = chrysanthemumRadius * ( radialVariableDistance * 24.6 + colorDisplacement + angleVariableStill);//radialVariableDistance + colorDisplacement + angle;//Remove + angle And Add xSlider To Make Rainbow Clock
				angleVariableTransitioning =  chrysanthemumRadius * ( ( - Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height) ) + Math.PI ) - 6 * Math.PI * LocationOfColorMovement / ( fullAngle / 10 ) );//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals
				radiusVariableTransitioning = chrysanthemumRadius * ( radialVariableDistance * 24.6 + colorDisplacement + angleVariableTransitioning);//radialVariableDistance + colorDisplacement + angle;//Remove + angle And Add xSlider To Make Rainbow Clock
				while ( radiusVariableStill < colorDisplacement)//For Rainbow Ring
					radiusVariableStill = radiusVariableStill + 2 * Math.PI * chrysanthemumRadius - colorDisplacement;//BAD COMMENT: For Rainbow Ring Take Out - 38
				while ( radiusVariableStill > 2 * Math.PI * chrysanthemumRadius )
					radiusVariableStill = radiusVariableStill - 2 * Math.PI * chrysanthemumRadius - colorDisplacement;
				while ( radiusVariableTransitioning < colorDisplacement)//For Rainbow Ring
					radiusVariableTransitioning = radiusVariableTransitioning + 2 * Math.PI * chrysanthemumRadius - colorDisplacement;//BAD COMMENT: For Rainbow Ring Take Out - 38
				while ( radiusVariableTransitioning > 2 * Math.PI * chrysanthemumRadius )
					radiusVariableTransitioning = radiusVariableTransitioning - 2 * Math.PI * chrysanthemumRadius - colorDisplacement;
				rainbowIntervalVariable = 2 * Math.PI * chrysanthemumRadius;
				coreVariableStill = radiusVariableStill;
				coreTranisitionVariable = radiusVariableTransitioning;// */
				if ( !laterReversed )
					pattern2D.SimpleRainbow( 2 * Math.PI * chrysanthemumRadius * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, 2 * Math.PI * chrysanthemumRadius, 2 * Math.PI * chrysanthemumRadius * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				else
					pattern2D.SimpleRainbowReverse( LengthOfColorBar * ColorsFactor / RepeatFactor, coreVariableStill, coreTranisitionVariable, colorBarDistance, LengthOfColorBar * RepeatFactor / ColorsFactor, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
			else
				someTargetColorInTheCenterHit = false;
		//End Of Basis Image Switch System
		/*if (otherBrowserColorHit == true)
			return ( BrowserPRcolor );
		else
			if (makePixelTransparent == true)
				return ( fxColor.TRANSPARENT );*/
		//if ( aWheelDiamondHit == true )	
		//else if ( wheelTipsHit == true)
		//else
		//{
		someTargetColorHit = false;
		if ( laterReversed != Reversed )
		{
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			/*
					// tempColor = fxColor;
					fxColor = NextColorDecide ( fxColor, pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
					if ( ! ( fxColor.getOpacity() == InitialColorContrastingChoice.getOpacity() &&
							fxColor.getRed() == InitialColorContrastingChoice.getRed() &&
							fxColor.getGreen() == InitialColorContrastingChoice.getGreen() &&
							fxColor.getBlue() == InitialColorContrastingChoice.getBlue() )
							&& ! ( fxColor.getOpacity() == ColorTooSimilarReplacementColor.getOpacity() &&
							fxColor.getRed() == ColorTooSimilarReplacementColor.getRed() &&
							fxColor.getGreen() == ColorTooSimilarReplacementColor.getGreen() &&
							fxColor.getBlue() == ColorTooSimilarReplacementColor.getBlue() )
							&& InvertBasisFromBackground )
						{
							fxColor = fxColor.invert();
							rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * fxColor.getRed(), 255 * fxColor.getGreen(), 255 * fxColor.getBlue(), fxColor.getOpacity() } );
							rgb = rainbowSoftColor.rgb;
							argb = rainbowSoftColor.argb;
							fxColor = rainbowSoftColor.ToFXColor();
							return fxColor;
						}
						else
							if ( !rainbowSoftColor.ColorTooSimilarFunction( InitialColorContrastingChoice, fxColor, ColorDifference ) )//BrowserPR.getColor( x, y ) , 
							{
								rainbowSoftColor = new RainbowSoftColor( InitialColorContrastingChoice );
								rgb = rainbowSoftColor.rgb;
								argb = rainbowSoftColor.argb;
								fxColor = rainbowSoftColor.ToFXColor();
								return fxColor;
							}
							else
							{
								rainbowSoftColor = new RainbowSoftColor( ColorTooSimilarReplacementColor );
								rgb = rainbowSoftColor.rgb;
								argb = rainbowSoftColor.argb;
								fxColor = rainbowSoftColor.ToFXColor();
								return fxColor;
							}// */
		}
		else if ( !someTargetColorHit )
		{
			/*rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * BasisPR.getColor( x, y ).getRed(), 255 * BasisPR.getColor( x, y ).getGreen(), 255 * BasisPR.getColor( x, y ).getBlue(), BasisPR.getColor( x, y ).getOpacity() } );
			rgb = rainbowSoftColor.rgb;
			argb = rainbowSoftColor.argb;
			fxColor = rainbowSoftColor.ToFXColor();// */
			return fxColor;
		}
		//}
		//System.out.println("Got Past Buddhism Basis Pixel If-Tree");
		///pattern2D.SimpleRainbow(ColorsFactor / SliderInterval, coreVariable, coreTranisitionVariable, LengthOfColorBar, RepeatFactor / SliderInterval);
		/*rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * BasisPR.getColor( x, y ).getRed(), 255 * BasisPR.getColor( x, y ).getGreen(), 255 * BasisPR.getColor( x, y ).getBlue(), BasisPR.getColor( x, y ).getOpacity() } );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();// */
		return fxColor;
	}


	public Color MagiElite(double ColorsFactor, double LocationOfStillMovement, double LocationOfColorMovement, double FullSliderRunThrough, int x, int y, double RepeatFactor, double SpiralFactor, double ShrunkenFactor, double NumberOfSpirals, double HalfSreenDiagionalLength, boolean Reversed, double BrightnessMultiplyer, int Gradations, double OpacityBefore, double OpacityAfter, boolean Adjusted, PixelReader BasisPR, PixelReader BackgroundBasisPR, PixelReader BrowserPR, Dimension Dim, String TypeOfDisplay, Color InitialColorContrastingChoice, Color ColorTooSimilarReplacementColor, double ColorDifference, boolean InvertBasisFromBackground, boolean ReversalOfBackgroundEffectsMaster, boolean NextStepColorTooSimilarEffect )
	{
		pattern2D = new RainbowPattern2D( VibrantColors.HalfGrey.ToFXColor() );
		final double chrysanthemumRadius = 0.055555555555555 * Dim.height, chrysanthemumInnerRadius = 0.0083333333333333 * Dim.height, chrysanthemumYDisplacement = 0.0231481481481481 * Dim.height, chrysanthemumNumberOfPedals = 16;

		boolean someTargetColorInTheCenterHit = false, greenBlueGreenUsed = false;
		Dimension HalfedDim = new Dimension();
		HalfedDim.width = HalfedDim.width = (int)Math.round( Dim.width / 2. );//Check Into If This Is Right
		HalfedDim.height = (int)Math.round( Dim.height / 2. );//Check Into If This Is Right

		someTargetColorHit = true;
		laterReversed = Reversed; reversalOfBackgroundEffectsSlave = ReversalOfBackgroundEffectsMaster;
		rainbowSoftColor = new RainbowSoftColor( DisplayTypeDeterminer ( TypeOfDisplay, BasisPR.getColor( x, y ), BackgroundBasisPR.getColor( x, y ), BrowserPR.getColor( x, y ), laterReversed, reversalOfBackgroundEffectsSlave ) );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();
		if ( returnImmediately )
			return fxColor;

		if ( Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y  - HalfedDim.height + chrysanthemumYDisplacement, 2), 0.5) <= chrysanthemumRadius + 4 )
		{//902 //1019
			someTargetColorInTheCenterHit = true;
			if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.magiEliteSchemeSet.black6().ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.magiEliteSchemeSet.black6().ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.magiEliteSchemeSet.black6().ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.magiEliteSchemeSet.black6().ToFXColor().getBlue() )
			{
				/*coreVariable = chrysanthemumRadius - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height + chrysanthemumYDisplacement, 2), 0.5) + 6 * 0.175979734764 * chrysanthemumRadius * xSlider / ( fullAngle / 10 ) ;
				while ( coreVariable < 0.175979734764 * chrysanthemumRadius)
					coreVariable = coreVariable + 0.175979734764 * chrysanthemumRadius;
				while ( coreVariable > 0.175979734764 * chrysanthemumRadius)
					coreVariable = coreVariable - 0.175979734764 * chrysanthemumRadius;
				colorIntervalVariable = 0.175979734764 * chrysanthemumRadius / ( numberOfColorsInTheRainbow - 1 );// */
				//rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * fxColor.getRed(), 255 * fxColor.getGreen(), 255 * fxColor.getBlue(), fxColor.getOpacity() } );
				pattern2D.RainbowDiskGradated(0.175979734764 * chrysanthemumRadius * ColorsFactor / RepeatFactor, 0.175979734764 * chrysanthemumRadius * LocationOfStillMovement / FullSliderRunThrough, 0.175979734764 * chrysanthemumRadius * LocationOfColorMovement / FullSliderRunThrough,  x - HalfedDim.width, y - HalfedDim.height + chrysanthemumYDisplacement, 0.175979734764 * chrysanthemumRadius, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );//Figure Out What To Use Instead Of ColorsFactor
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
			else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white1().ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white1().ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white1().ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white1().ToFXColor().getBlue() )
			{
				/*radialVariableDistance = Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height + chrysanthemumYDisplacement, 2), 0.5);//Comment Out For  Ghetto Many Rainbow Clocks
					angleVariable =  chrysanthemumRadius * ( ( - Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height + chrysanthemumYDisplacement) ) + Math.PI ) - 6 * Math.PI * xSlider / ( fullAngle / 10 ) );//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals
					radiusVariable = chrysanthemumRadius * ( radialVariableDistance * 24.6 + colorDisplacement + angleVariable);//radialVariableDistance + colorDisplacement + angle;//Remove + angle And Add xSlider To Make Rainbow Clock
					while ( radiusVariable < colorDisplacement)//For Rainbow Ring
						radiusVariable = radiusVariable + 2 * Math.PI * chrysanthemumRadius - colorDisplacement;//BAD COMMENT: For Rainbow Ring Take Out - 38
					while ( radiusVariable > 2 * Math.PI * chrysanthemumRadius )
						radiusVariable = radiusVariable - 2 * Math.PI * chrysanthemumRadius - colorDisplacement;
					colorIntervalVariable = 2 * Math.PI * chrysanthemumRadius / ( numberOfColorsInTheRainbow - 1 );
					coreVariable = radiusVariable;// */
				pattern2D.RainbowSpiralGradated( ( 2 * chrysanthemumRadius ) * ColorsFactor / RepeatFactor, ( 2 * chrysanthemumRadius ) * LocationOfStillMovement / FullSliderRunThrough, ( 2 * chrysanthemumRadius ) * LocationOfColorMovement / FullSliderRunThrough, ( x - HalfedDim.width ) / 3., ( y - HalfedDim.height + chrysanthemumYDisplacement ) / 3., 2 * chrysanthemumRadius, SpiralFactor, NumberOfSpirals, 2 * chrysanthemumRadius, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
			else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white2().ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white2().ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white2().ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white2().ToFXColor().getBlue() )
			{
				/*coreVariable = x - 902 - chrysanthemumRadius * 2 * xSlider / ( fullAngle / 10 );
						while (coreVariable < 0)
							coreVariable = coreVariable + chrysanthemumRadius * 2;
						while (coreVariable > chrysanthemumRadius * 2)
							coreVariable = coreVariable - chrysanthemumRadius * 2;
						colorIntervalVariable = chrysanthemumRadius * 2 / (numberOfColorsInTheRainbow - 1 );// */
				if ( !laterReversed )
					pattern2D.SimpleRainbow( ( 2 * chrysanthemumRadius ) * ColorsFactor / RepeatFactor, - 2 * chrysanthemumRadius * LocationOfStillMovement / FullSliderRunThrough, - 2 * chrysanthemumRadius * LocationOfColorMovement / FullSliderRunThrough, x - 0.469791666666666 * Dim.width, 2 * chrysanthemumRadius, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				else
					pattern2D.SimpleRainbowReverse( ( 2 * chrysanthemumRadius ) * ColorsFactor / RepeatFactor, - 2 * chrysanthemumRadius * LocationOfStillMovement / FullSliderRunThrough, - 2 * chrysanthemumRadius * LocationOfColorMovement / FullSliderRunThrough, x - 0.469791666666666 * Dim.width, 2 * chrysanthemumRadius, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
			else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white3().ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white3().ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white3().ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white3().ToFXColor().getBlue() )
			{
				/*angleVariable = - chrysanthemumRadius *  2 * Math.PI * ( ( Math.atan2( (x - HalfedDim.width) , ( y - HalfedDim.height + chrysanthemumYDisplacement ) ) + Math.PI ) + xSlider / ( ( chrysanthemumNumberOfPedals - 1 ) * fullAngle / 10 ) ) ;
							while (angleVariable < 0)
								angleVariable = angleVariable + chrysanthemumRadius / ( chrysanthemumNumberOfPedals - 1);
							while (angleVariable > chrysanthemumRadius / (chrysanthemumNumberOfPedals - 1) )
								angleVariable = angleVariable - chrysanthemumRadius / ( chrysanthemumNumberOfPedals - 1);
							coreVariable = angleVariable;
							colorIntervalVariable = chrysanthemumRadius / ( ( numberOfClockHandsForRainbow - 1 ) * ( chrysanthemumNumberOfPedals - 1) );// */
				pattern2D.RainbowCheapFractalGradated( ( 2 * chrysanthemumRadius ) * ColorsFactor / RepeatFactor, ( 2 * chrysanthemumRadius ) * LocationOfStillMovement / FullSliderRunThrough, ( 2 * chrysanthemumRadius ) * LocationOfColorMovement / FullSliderRunThrough, x - HalfedDim.width, y - HalfedDim.height + chrysanthemumYDisplacement, 2 * chrysanthemumRadius, 2 * chrysanthemumRadius, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
			else if ( fxColor.getOpacity() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white4().ToFXColor().getOpacity() &&
					fxColor.getRed() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white4().ToFXColor().getRed() &&
					fxColor.getGreen() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white4().ToFXColor().getGreen() &&
					fxColor.getBlue() == rainbowSoftColorCodesSets.magiEliteSchemeSet.white4().ToFXColor().getBlue() )
			{
				/*radialVariableDistance = Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height + chrysanthemumYDisplacement, 2), 0.5);//Comment Out For  Ghetto Many Rainbow Clocks
								angleVariable = ( ( - Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height + chrysanthemumYDisplacement) ) + Math.PI ) - 6 * Math.PI * xSlider / ( fullAngle / 10 ) ) * 10 * chrysanthemumRadius;//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals
								radiusVariable = ( radialVariableDistance * 24.6 + colorDisplacement + angleVariable ) / ( 2 * chrysanthemumRadius);//radialVariableDistance + colorDisplacement + angle;//Remove + angle And Add xSlider To Make Rainbow Clock
								while ( radiusVariable < colorDisplacement)//For Rainbow Ring
									radiusVariable = radiusVariable + 2 * chrysanthemumRadius * Math.PI - colorDisplacement;//BAD COMMENT: For Rainbow Ring Take Out - 38
								while ( radiusVariable > 2 * chrysanthemumRadius * Math.PI )
									radiusVariable = 2 * chrysanthemumRadius * Math.PI - colorDisplacement;
								colorIntervalVariable = 2 * chrysanthemumRadius * Math.PI / ( numberOfColorsInTheRainbow - 1 );
								coreVariable = radiusVariable;// / ( Dim.height / 64); // */
				pattern2D.RainbowSpiralGradated( ( 2 * chrysanthemumRadius ) * ColorsFactor / RepeatFactor, ( 2 * chrysanthemumRadius ) * LocationOfStillMovement / FullSliderRunThrough, ( 2 * chrysanthemumRadius ) * LocationOfColorMovement / FullSliderRunThrough, x - HalfedDim.width, y - HalfedDim.height + chrysanthemumYDisplacement, 2 * chrysanthemumRadius, ShrunkenFactor, NumberOfSpirals, HalfSreenDiagionalLength, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			}
			else
				if ( fxColor.getOpacity() == VibrantColors.SimpleBlue.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.SimpleBlue.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.SimpleBlue.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.SimpleBlue.ToFXColor().getBlue() )
				{//951 To 969
					/*coreVariable = chrysanthemumInnerRadius - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height + chrysanthemumYDisplacement, 2), 0.5) + 88 * chrysanthemumInnerRadius * xSlider / ( fullAngle / 10 ) ;
									while ( coreVariable < chrysanthemumInnerRadius)
										coreVariable = coreVariable + chrysanthemumInnerRadius;
									while ( coreVariable > chrysanthemumInnerRadius)
										coreVariable = coreVariable - chrysanthemumInnerRadius;
									colorIntervalVariable = chrysanthemumInnerRadius / ( numberOfColorsInTheRainbow - 1 );// */
					pattern2D.RainbowDiskGradated( chrysanthemumInnerRadius * ColorsFactor / RepeatFactor, 88 * chrysanthemumInnerRadius * LocationOfStillMovement / ( FullSliderRunThrough / 10 ), 88 * chrysanthemumInnerRadius * LocationOfColorMovement / ( FullSliderRunThrough / 10 ), x - HalfedDim.width, y - HalfedDim.height + chrysanthemumYDisplacement, chrysanthemumInnerRadius, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
					return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
				}
				else
					someTargetColorInTheCenterHit = false;
		}//if ( someTargetColorInTheCenterHit == false )
		else if ( fxColor.getOpacity() == VibrantColors.OxylBlue.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.OxylBlue.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.OxylBlue.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.OxylBlue.ToFXColor().getBlue() )
		{	/*angleVariable = Math.atan2( (x - HalfedDim.width) , (y - Dim.height * 4 / 3 + 1 ) );// For Rising Sun + 1
				aVariable = ( angleVariable * Math.tan( angleVariable ) )  * radialDistance / 4.46783504 + xSlider;// + Or - xSlider Determines Which Direction It Moves //For Infinite Number Theorem Good a = ( angle * Math.tan( angle ) + Math.PI )  * radialDistance / 4.46783504 - xSlider;  //a = ( angle Math.tan( angle ) + Math.PI )  * radialDistance / 4.46783504 - xSlider;//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals //Use This: "a = ( - angle + Math.PI ) * radialDistance;" Line For Rainbow Clock //a = ( - angle * Math.tan( angle ) + Math.PI ) * radialDistance - xSlider; For Infinite Number Theorem //a = ( - angle * Math.cos( angle ) * Math.sin( angle ) * Math.pow(radialVariableDistance, 2) + Math.PI ) * radialDistance - xSlider;
				//aVariable = ( angleVariable * %/% Math.cos( angle ) * Math.sin( angle ) * Math.pow(radialVariableDistance, 1) %\% Math.tan( angleVariable ) %/%+ Math.PI%\% )  * radialDistance / 4.46783504 + xSlider;// + Or - xSlider Determines Which Direction It Moves //For Infinite Number Theorem Good a = ( angle * %/%Math.cos( angle ) * Math.sin( angle ) * Math.pow(radialVariableDistance, 1)%\% Math.tan( angle ) + Math.PI )  * radialDistance / 4.46783504 - xSlider;  //a = ( angle %/%Math.cos( angle ) * Math.sin( angle ) * Math.pow(radialVariableDistance, 1)%\% Math.tan( angle ) + Math.PI )  * radialDistance / 4.46783504 - xSlider;//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals //Use This: "a = ( - angle + Math.PI ) * radialDistance;" Line For Rainbow Clock //a = ( - angle * Math.tan( angle ) + Math.PI ) * radialDistance - xSlider; For Infinite Number Theorem //a = ( - angle * Math.cos( angle ) * Math.sin( angle ) * Math.pow(radialVariableDistance, 2) + Math.PI ) * radialDistance - xSlider;
				radiusVariable = aVariable * 10;
				// %*%/%//For Old Infinite Number Theorem Use Above
				//radius = a * 10;//For Rainbow Spiral And Clock
				//}
				while ( radiusVariable < colorDisplacementVariable)//For Rainbow Ring
					radiusVariable = radiusVariable + fullAngle - colorDisplacementVariable;//BAD COMMENT: For Rainbow Ring Take Out - 38
				while ( radiusVariable > fullAngle )//radius > fullAngle For Non Infinite Number Theorem
					radiusVariable = radiusVariable - fullAngle - colorDisplacementVariable; //radius = radius - fullAngle; For Non Infinite Number Theorem //For Rainbow Clock Comment Out To Here. Here --
				colorIntervalVariable = colorIntervalForWholeScreen;
				coreVariable = radiusVariable;// */
			pattern2D.RainbowStrobeGradated( FullSliderRunThrough * ColorsFactor / RepeatFactor, LocationOfStillMovement, LocationOfColorMovement, x, y, FullSliderRunThrough, Dim, HalfedDim, HalfSreenDiagionalLength, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.SkyBlue.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.SkyBlue.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.SkyBlue.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.SkyBlue.ToFXColor().getBlue() )
		{
			/*radialVariableDistance = Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5);//Comment Out For  Ghetto Many Rainbow Clocks
					angleVariable = ( ( - Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) + Math.PI ) - 6 * Math.PI * xSlider / ( fullAngle / 10 ) ) * radialDistance;//Use For Rainbow Spiral Multiply radialDistance By 10 To Increase The Number Of Spirals
					radiusVariable = radialVariableDistance * 24.6 + colorDisplacement + angleVariable;//radialVariableDistance + colorDisplacement + angle;//fxColor. angle And Add xSlider To Make Rainbow Clock
					while ( radiusVariable < colorDisplacement)//For Rainbow Ring
						radiusVariable = radiusVariable + fullAngle - colorDisplacement;//BAD COMMENT: For Rainbow Ring Take Out - 38
					while ( radiusVariable > fullAngle )
						radiusVariable = radiusVariable - fullAngle - colorDisplacement;
					colorIntervalVariable = fullAngle / ( numberOfColorsInTheRainbow - 1 );
					coreVariable = radiusVariable;// */
			pattern2D.RainbowSpiralGradated( FullSliderRunThrough * ColorsFactor / RepeatFactor, LocationOfStillMovement, LocationOfColorMovement, x - HalfedDim.width, y - HalfedDim.height, FullSliderRunThrough, SpiralFactor, NumberOfSpirals, HalfSreenDiagionalLength, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
		{
			/*coreVariable = HalfedDim.height - Math.pow(Math.pow(x - HalfedDim.width, 2) + Math.pow( y - HalfedDim.height, 2), 0.5) + 6 * 0.175979734764 * xSlider * HalfedDim.height / ( fullAngle / 10 ) ;
						while ( coreVariable < 0.175979734764 * HalfedDim.height)
							coreVariable = coreVariable + 0.175979734764 * HalfedDim.height;
						while ( coreVariable > 0.175979734764 * HalfedDim.height)
							coreVariable = coreVariable - 0.175979734764 * HalfedDim.height;
						colorIntervalVariable = 0.175979734764 * HalfedDim.height / ( numberOfColorsInTheRainbow - 1 );// */
			pattern2D.RainbowDiskGradated( - 0.1759797347638206 * HalfedDim.height * ColorsFactor / RepeatFactor, 0.175979734764 * HalfedDim.height * LocationOfStillMovement / FullSliderRunThrough, 0.175979734764 * HalfedDim.height * LocationOfColorMovement / FullSliderRunThrough + 0.0545 * HalfedDim.height, x - HalfedDim.width,  y - HalfedDim.height, 0.1759797347638206 * HalfedDim.height, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );//Figure Out What To Use Instead Of ColorsFactor
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.NeonGreen.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.NeonGreen.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.NeonGreen.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.NeonGreen.ToFXColor().getBlue() )
		{
			/*angleVariable = radialDistance * ( ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) + Math.PI ) + 2 * Math.PI * xSlider / ( fullAngle / 10 ) );
							while (angleVariable < 0)
								angleVariable = angleVariable + fullAngle * 2;
							while (angleVariable > fullAngle * 2)
								angleVariable = angleVariable - fullAngle * 2;
							coreVariable = angleVariable;
							colorIntervalVariable = ( 2 * fullAngle ) / ( numberOfClockHandsForRainbow - 1 );// */
			//angle = 0;//Testing Purposes Only.
			pattern2D.RainbowClockGradated( 2. * Math.PI * ColorsFactor / RepeatFactor, 2. * Math.PI * LocationOfStillMovement / FullSliderRunThrough, 2. * Math.PI * LocationOfColorMovement / FullSliderRunThrough, x - HalfedDim.width,  y - HalfedDim.height, 2 * Math.PI, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.HalfGrey.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.HalfGrey.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.HalfGrey.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.HalfGrey.ToFXColor().getBlue() )
		{
			/*angleVariable = - radialDistance * ( ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) + Math.PI ) - 2 * Math.PI * xSlider / ( fullAngle / 10 ) );
								while (angleVariable < 0)
									angleVariable = angleVariable + fullAngle * 2;
								while (angleVariable > fullAngle * 2)
									angleVariable = angleVariable - fullAngle * 2;
								coreVariable = angleVariable;
								colorIntervalVariable = ( 2 * fullAngle ) / ( numberOfClockHandsForRainbow - 1 );// */
			//angle = 0;//Testing Purposes Only.
			pattern2D.RainbowClockGradated( -2. * Math.PI * ColorsFactor / RepeatFactor, -2. * Math.PI * LocationOfStillMovement / FullSliderRunThrough, -2. * Math.PI * LocationOfColorMovement / FullSliderRunThrough, x - HalfedDim.width,  y - HalfedDim.height, 2 * Math.PI, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.DarkPink.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.DarkPink.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.DarkPink.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.DarkPink.ToFXColor().getBlue() )//neonGreenNum)
		{
			/*angleVariable = - radialDistance * ( ( Math.atan2( (x - HalfedDim.width) , (y - HalfedDim.height ) ) + Math.PI ) + 2 * Math.PI * xSlider / ( (numberOfClockHandsForOrderOfMagi - 1) * fullAngle / 10 ) );
									while (angleVariable < 0)
										angleVariable = angleVariable + fullAngle * 2 / ( numberOfClockHandsForOrderOfMagi - 1);
									while (angleVariable > fullAngle * 2 / ( numberOfClockHandsForOrderOfMagi - 1) )
										angleVariable = angleVariable - fullAngle * 2 / ( numberOfClockHandsForOrderOfMagi - 1);
									coreVariable = angleVariable;
									colorIntervalVariable = ( 2 * fullAngle ) / ( ( numberOfColorsForOrderOfMagi - 1 ) * ( numberOfClockHandsForOrderOfMagi - 1) );
									//angle = 0;//Testing Purposes Only.
									if ( BrowserPR.getColor( x, y ) == magenta.ToFXColor() )//shitBrownNum )//BrowserPR.getArgb(x, y) == magentaNum )// == magecoreVariable// == webBlackNum
										if ( coreVariable < colorIntervalVariable  + colorDisplacement)//For Normal Rainbow Use This Instead Of The Others
											color.ColorSliderFunction(colorIntervalVariable, coreVariable - colorDisplacement, blue, green);
										else
											color.ColorSliderFunction(colorIntervalVariable, coreVariable - colorIntervalVariable - colorDisplacement, green, blue);
									else//
										if ( coreVariable < colorIntervalVariable  + colorDisplacement)//For Normal Rainbow Use This Instead Of The Others
											color.ColorSliderFunction(colorIntervalVariable, coreVariable - colorDisplacement, green, blue);
										else
											color.ColorSliderFunction(colorIntervalVariable, coreVariable - colorIntervalVariable - colorDisplacement, blue, green);//*
									pw.setArgb( x, y, (int)(255 * 16777216 + (int)color.RGB[0] * 65536 + (int)color.RGB[1] * 256 + (int)color.RGB[2]));//setArgb // */
			greenBlueGreenUsed = true;
			if ( !laterReversed )
				pattern2D.RainbowClockGradated( 2. * Math.PI * ColorsFactor / ( 15. * RepeatFactor ), 2. * Math.PI * LocationOfStillMovement / ( 15. * FullSliderRunThrough ), 2. * Math.PI * LocationOfColorMovement / ( 15. * FullSliderRunThrough ), x - HalfedDim.width,  y - HalfedDim.height, 2. * Math.PI / ( 15. ), VibrantColorCombos.GreenBlueGreenFXcolors, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			else
				pattern2D.RainbowClockGradated( 2. * Math.PI * ColorsFactor / ( 15. * RepeatFactor ), 2. * Math.PI * LocationOfStillMovement / ( 15. * FullSliderRunThrough ), 2. * Math.PI * LocationOfColorMovement / ( 15. * FullSliderRunThrough ), x - HalfedDim.width,  y - HalfedDim.height, 2. * Math.PI / ( 15. ), VibrantColorCombos.GreenBlueGreenFXcolorsReverse, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			//pattern2D.RainbowClockGradated( 2 * Math.PI * ColorsFactor / RepeatFactor, 2. * Math.PI * LocationOfStillMovement / FullSliderRunThrough, 2. * Math.PI * LocationOfColorMovement / FullSliderRunThrough, x - HalfedDim.width,  y - HalfedDim.height, 2 * Math.PI, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Pink.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Pink.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Pink.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Pink.ToFXColor().getBlue() )
		{//304 + 244 = 548 // 656 //Need Correction For Screen Size !!
			/*coreVariable = x - 656 - 628 * xSlider / ( fullAngle / 10 );
										while (coreVariable < 0)
											coreVariable = coreVariable + 628;
										while (coreVariable > 628)
											coreVariable = coreVariable - 628;
										colorIntervalVariable =  628 / (numberOfColorsInTheRainbow - 1 );// */
			if ( !laterReversed )
				pattern2D.SimpleRainbow( 0.3270833333333333 * Dim.width * ColorsFactor / RepeatFactor, - 0.3270833333333333 * Dim.width * LocationOfStillMovement / FullSliderRunThrough, - 0.3270833333333333 * Dim.width * LocationOfColorMovement / FullSliderRunThrough, x - 0.341666666666666 * Dim.width, 0.3270833333333333 * Dim.width, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			else
				pattern2D.SimpleRainbowReverse( 0.3270833333333333 * Dim.width * ColorsFactor / RepeatFactor, - 0.3270833333333333 * Dim.width * LocationOfStillMovement / FullSliderRunThrough, - 0.3270833333333333 * Dim.width * LocationOfColorMovement / FullSliderRunThrough, x - 0.341666666666666 * Dim.width, 0.3270833333333333 * Dim.width, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else
		{
			someTargetColorHit = false;
			if ( laterReversed != Reversed )
				//{
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
			/*
											// tempColor = fxColor;
											fxColor = NextColorDecide ( fxColor, pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
											if ( ! ( fxColor.getOpacity() == InitialColorContrastingChoice.getOpacity() &&
													fxColor.getRed() == InitialColorContrastingChoice.getRed() &&
													fxColor.getGreen() == InitialColorContrastingChoice.getGreen() &&
													fxColor.getBlue() == InitialColorContrastingChoice.getBlue() )
													&& ! ( fxColor.getOpacity() == ColorTooSimilarReplacementColor.getOpacity() &&
													fxColor.getRed() == ColorTooSimilarReplacementColor.getRed() &&
													fxColor.getGreen() == ColorTooSimilarReplacementColor.getGreen() &&
													fxColor.getBlue() == ColorTooSimilarReplacementColor.getBlue() )
													&& InvertBasisFromBackground )
												{
													fxColor = fxColor.invert();
													rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * fxColor.getRed(), 255 * fxColor.getGreen(), 255 * fxColor.getBlue(), fxColor.getOpacity() } );
													rgb = rainbowSoftColor.rgb;
													argb = rainbowSoftColor.argb;
													fxColor = rainbowSoftColor.ToFXColor();
													return fxColor;
												}
												else
													if ( !rainbowSoftColor.ColorTooSimilarFunction( InitialColorContrastingChoice, fxColor, ColorDifference ) )//BrowserPR.getColor( x, y ) , 
													{
														rainbowSoftColor = new RainbowSoftColor( InitialColorContrastingChoice );
														rgb = rainbowSoftColor.rgb;
														argb = rainbowSoftColor.argb;
														fxColor = rainbowSoftColor.ToFXColor();
														return fxColor;
													}
													else
													{
														rainbowSoftColor = new RainbowSoftColor( ColorTooSimilarReplacementColor );
														rgb = rainbowSoftColor.rgb;
														argb = rainbowSoftColor.argb;
														fxColor = rainbowSoftColor.ToFXColor();
														return fxColor;
													}// */
			//}
			else
			{
				/*rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * BasisPR.getColor( x, y ).getRed(), 255 * BasisPR.getColor( x, y ).getGreen(), 255 * BasisPR.getColor( x, y ).getBlue(), BasisPR.getColor( x, y ).getOpacity() } );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();// */
				return fxColor;
			}
		}
		//End Of Basis Image Switch System
		/*if ( greenBlueGreenUsed == false )
			if ( someTargetColorHit == true)//numberOfClockHandsForOrderOfMagi  //greenBlueGreenUsed
			{
				//	if ( coreVariable >= colorDisplacementVariable && coreVariable < (numberOfColorsInTheRainbow - 1) * colorIntervalVariable  + colorDisplacement)//For Purple Outside Ring
				//{//Retain Below If Else And Use New Variable Names And Equate Them With If Switch Below New Variable Name Comment Above // Make html Text Flip shitBrownNum Color!
				if ( BrowserPR.getColor( x, y ) == VibrantColors.Magenta.ToFXColor() )//shitBrownNum )//BrowserPR.getArgb(x, y) == magentaNum )// == magecoreVariable// == webBlackNum
					if ( coreVariable < colorIntervalVariable  + colorDisplacement)//For Normal Rainbow Use This Instead Of The Others
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - colorDisplacement, purple, blue);
					else if ( coreVariable < ( 2 * colorIntervalVariable  + colorDisplacement) )
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - colorIntervalVariable - colorDisplacement, blue, teal);
					else if ( coreVariable < ( 3 * colorIntervalVariable  + colorDisplacement) )		
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - 2 * colorIntervalVariable - colorDisplacement, teal, pink);
					else if ( coreVariable < ( 4 * colorIntervalVariable  + colorDisplacement) )
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - 3 * colorIntervalVariable - colorDisplacement, pink, yellow);
					else if ( coreVariable < ( 5 * colorIntervalVariable  + colorDisplacement) )
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - 4 * colorIntervalVariable - colorDisplacement, yellow, orange);
					else
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - 5 * colorIntervalVariable - colorDisplacement, orange, red);
				else//
					if ( coreVariable < colorIntervalVariable  + colorDisplacement)//For Normal Rainbow Use This Instead Of The Others
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - colorDisplacement, red, orange);
					else if ( coreVariable < ( 2 * colorIntervalVariable  + colorDisplacement) )
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - colorIntervalVariable - colorDisplacement, orange, yellow);
					else if ( coreVariable < ( 3 * colorIntervalVariable  + colorDisplacement) )		
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - 2 * colorIntervalVariable - colorDisplacement, yellow, green);
					else if ( coreVariable < ( 4 * colorIntervalVariable  + colorDisplacement) )
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - 3 * colorIntervalVariable - colorDisplacement, green, teal);
					else if ( coreVariable < ( 5 * colorIntervalVariable  + colorDisplacement) )
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - 4 * colorIntervalVariable - colorDisplacement, teal, blue);
					else
						color.ColorSliderFunction(colorIntervalVariable, coreVariable - 5 * colorIntervalVariable - colorDisplacement, blue, purple);//
				pw.setArgb( x, y, (int)(255 * 16777216 + (int)color.RGB[0] * 65536 + (int)color.RGB[1] * 256 + (int)color.RGB[2]));//setArgb
			}
			else
				if ( BrowserPR.getColor( x, y ) != VibrantColors.Magenta.ToFXColor() )//shitBrownNum )
					pw.setArgb( x, y, BasisPR.getColor( x, y ) );
				else
					pw.setArgb( x, y, neonGreen.ToFXColor());//shitBrownNum);//pr.getColor( x, y ) );// */

		//pattern2D.SimpleRainbow(ColorsFactor, LocationOfStillMovement, LocationOfColorMovement, x, RepeatFactor);
		//rainbowSoftColor.RainbowSoftColorRainbowFunction(Math.abs( ColorsFactor ), sliderValue);//1st Square In SimpleDiagnosticsClass.java
		/*rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * BasisPR.getColor( x, y ).getRed(), 255 * BasisPR.getColor( x, y ).getGreen(), 255 * BasisPR.getColor( x, y ).getBlue(), BasisPR.getColor( x, y ).getOpacity() } );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();// */
		return fxColor;//*/
	}


	public Color FwaLogoSplash(double ColorsFactor, double LocationOfStillMovement, double LocationOfColorMovement, double FullSliderRunThrough, int x, int y, double RepeatFactor, double HalfSreenDiagionalLength, double XScaleFactor, double YScaleFactor, boolean Reversed, double BrightnessMultiplyer, int Gradations, double OpacityBefore, double OpacityAfter, boolean Adjusted, PixelReader BasisPR, PixelReader BackgroundBasisPR, PixelReader BrowserPR, Dimension Dim, String TypeOfDisplay, Color InitialColorContrastingChoice, Color ColorTooSimilarReplacementColor, double ColorDifference, boolean InvertBasisFromBackground, boolean ReversalOfBackgroundEffectsMaster, boolean NextStepColorTooSimilarEffect )
	{
		pattern2D = new RainbowPattern2D( VibrantColors.HalfGrey.ToFXColor() );
		double ringSize = 0.175979734764;//50 833 = 783  47 1835 = 1788

		Dimension HalfedDim = new Dimension();
		HalfedDim.width = (int)Math.round( Dim.width / 2. );//Check Into If This Is Right
		HalfedDim.height = (int)Math.round( Dim.height / 2. );//Check Into If This Is Right

		someTargetColorHit = true;
		laterReversed = Reversed; reversalOfBackgroundEffectsSlave = ReversalOfBackgroundEffectsMaster;
		rainbowSoftColor = new RainbowSoftColor( DisplayTypeDeterminer ( TypeOfDisplay, BasisPR.getColor( x, y ), BackgroundBasisPR.getColor( x, y ), BrowserPR.getColor( x, y ), laterReversed, reversalOfBackgroundEffectsSlave ) );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();
		if ( returnImmediately )
			return fxColor;

		/*if ( tertiaryXslider < videoSequenceLoopQuantity / 3. )
		{



		}
		else if ( tertiaryXslider < 2. * videoSequenceLoopQuantity / 3. )
		{
			pattern2D.RainbowRingVaryated( ringSize * Dim.height / 2., 0, ( tertiaryXslider + 6. * ringSize * Dim.height ) * ringSize * Dim.height / ( 2. * videoSequenceLoopQuantity ),  ( x - Dim.width / 2. ) * Dim.height / 1788., ( y - Dim.height / 2. + 1. ) * Dim.height / 783., ringSize * Dim.height / 2., (1. - ringSize ) * Dim.height / 2. - .5, Dim.height / 2., VibrantColorCombos.RainbowFXcolorsWNeonGreenCenterReverse, false );
		}
		else
		{

		}// */


		if ( fxColor.getOpacity() == VibrantColors.White.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.White.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.White.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.White.ToFXColor().getBlue() )
		{
			pattern2D.RainbowStrobeGradated( FullSliderRunThrough * ColorsFactor / RepeatFactor, LocationOfStillMovement, LocationOfColorMovement, x, y, FullSliderRunThrough, Dim, HalfedDim, HalfSreenDiagionalLength, VibrantColorCombos.RainbowFXcolorsReverseNoPink, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Maroon.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Maroon.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Maroon.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Maroon.ToFXColor().getBlue() )
		{//304 + 244 = 548 // 656 //Need Correction For Screen Size !!
			if ( !laterReversed )
				pattern2D.SimpleCustomColor( 1880. * XScaleFactor * ColorsFactor / RepeatFactor, - 1880. * XScaleFactor * LocationOfStillMovement / FullSliderRunThrough, - 1880. * XScaleFactor * LocationOfColorMovement / FullSliderRunThrough, x - 1880. * XScaleFactor , 1880. * XScaleFactor , BrightnessMultiplyer, Gradations, VibrantColorCombos.RainbowFXcolorsReverseNoPink, OpacityBefore, OpacityAfter, Adjusted );
			else
				pattern2D.SimpleCustomColor( 1880. * XScaleFactor * ColorsFactor / RepeatFactor, - 1880. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1880. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 1880. * XScaleFactor , 1880. * XScaleFactor , BrightnessMultiplyer, Gradations, VibrantColorCombos.RainbowFXcolorsWPinkCenter, OpacityBefore, OpacityAfter, Adjusted );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Lime.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Lime.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Lime.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Lime.ToFXColor().getBlue() )
		{//219 - 197 = 22 1040 / 783 = 0.7528846153846154 : - 16.56346153846154
			pattern2D.RainbowRingGradated( ringSize * Dim.height / 2. * ColorsFactor / RepeatFactor, ringSize * HalfedDim.height * LocationOfStillMovement / FullSliderRunThrough, ringSize * HalfedDim.height * LocationOfColorMovement / FullSliderRunThrough + 29.22094508301405, ( x - ( Dim.width / 2. + 11. ) * XScaleFactor) * Dim.height / 1788., ( y - Dim.height / 2. + ( 1. - 8. ) ) * Dim.height / 783., ringSize * Dim.height / 2., (1. - ringSize ) * Dim.height / 2. - .5, Dim.height / 2., VibrantColorCombos.RainbowFXcolorsReverseNoPink, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );//Figure Out What To Use Instead Of ColorsFactor
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Black.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Black.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Black.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Black.ToFXColor().getBlue() )
		{//304 + 244 = 548 // 656 //Need Correction For Screen Size !!
			if ( !laterReversed )//243 1679
				pattern2D.SimpleCustomColor( 1436. * XScaleFactor * ColorsFactor / RepeatFactor, - 1436. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1436. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 222. * XScaleFactor, 1436. * XScaleFactor , BrightnessMultiplyer, Gradations, VibrantColorCombos.BlackWhiteFX,  OpacityBefore, OpacityAfter, Adjusted );
			else
				pattern2D.SimpleCustomColor( 1436. * XScaleFactor * ColorsFactor / RepeatFactor, - 1436. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1436. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 222. * XScaleFactor, 1436. * XScaleFactor , BrightnessMultiplyer, Gradations, VibrantColorCombos.WhiteBlackFX, OpacityBefore, OpacityAfter, Adjusted );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
		{//304 + 244 = 548 // 656 //Need Correction For Screen Size !!
			if ( !laterReversed )//400 1525
				pattern2D.SimpleCustomColor( 1125. * XScaleFactor * ColorsFactor / RepeatFactor, - 1125. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1125. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 381. * XScaleFactor, 1125. * XScaleFactor, BrightnessMultiplyer, Gradations, VibrantColorCombos.BlackWhiteFX,  OpacityBefore, OpacityAfter, Adjusted );
			else//10 23
				pattern2D.SimpleCustomColor( 1125. * XScaleFactor * ColorsFactor / RepeatFactor, - 1125. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1125. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 381. * XScaleFactor, 1125. * XScaleFactor, BrightnessMultiplyer, Gradations, VibrantColorCombos.WhiteBlackFX, OpacityBefore, OpacityAfter, Adjusted );
			tempTransparencySlider.TransparencySliderFunction(1., .5, pattern2D.ToFXColor(), VibrantColors.Magenta.ToFXColor() );
			pattern2D.set( tempTransparencySlider.ToFXColor() );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), tempTransparencySlider.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Teal.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Teal.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Teal.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Teal.ToFXColor().getBlue() )
		{
			tempTransparencySlider.TransparencySliderFunction(ColorsFactor / RepeatFactor, LocationOfStillMovement / FullSliderRunThrough, VibrantColors.Green.ToFXColor(), VibrantColors.Pink.ToFXColor() );
			pattern2D.set( tempTransparencySlider.ToFXColor() );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else
		{
			someTargetColorHit = false;
			if ( laterReversed != Reversed )
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}

		rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * BasisPR.getColor( x, y ).getRed(), 255 * BasisPR.getColor( x, y ).getGreen(), 255 * BasisPR.getColor( x, y ).getBlue(), BasisPR.getColor( x, y ).getOpacity() } );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();
		return fxColor;
	}


	public Color FwaFlagLogoSplash(double ColorsFactor, double LocationOfStillMovement, double LocationOfColorMovement, double FullSliderRunThrough, int x, int y, double RepeatFactor, double HalfSreenDiagionalLength, double XScaleFactor, double YScaleFactor, boolean Reversed, double BrightnessMultiplyer, int Gradations, double OpacityBefore, double OpacityAfter, boolean Adjusted, PixelReader BasisPR, PixelReader BackgroundBasisPR, PixelReader BrowserPR, Dimension Dim, String TypeOfDisplay, Color InitialColorContrastingChoice, Color ColorTooSimilarReplacementColor, double ColorDifference, boolean InvertBasisFromBackground, boolean ReversalOfBackgroundEffectsMaster, boolean NextStepColorTooSimilarEffect )
	{
		pattern2D = new RainbowPattern2D( VibrantColors.HalfGrey.ToFXColor() );
		double ringSize = 0.175979734764;//50 833 = 783  47 1835 = 1788

		Dimension HalfedDim = new Dimension();
		HalfedDim.width = (int)Math.round( Dim.width / 2. );//Check Into If This Is Right
		HalfedDim.height = (int)Math.round( Dim.height / 2. );//Check Into If This Is Right

		someTargetColorHit = true;
		laterReversed = Reversed; reversalOfBackgroundEffectsSlave = ReversalOfBackgroundEffectsMaster;
		rainbowSoftColor = new RainbowSoftColor( DisplayTypeDeterminer ( TypeOfDisplay, BasisPR.getColor( x, y ), BackgroundBasisPR.getColor( x, y ), BrowserPR.getColor( x, y ), laterReversed, reversalOfBackgroundEffectsSlave ) );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();
		if ( returnImmediately )
			return fxColor;

		/*if ( tertiaryXslider < videoSequenceLoopQuantity / 3. )
		{



		}
		else if ( tertiaryXslider < 2. * videoSequenceLoopQuantity / 3. )
		{
			pattern2D.RainbowRingVaryated( ringSize * Dim.height / 2., 0, ( tertiaryXslider + 6. * ringSize * Dim.height ) * ringSize * Dim.height / ( 2. * videoSequenceLoopQuantity ),  ( x - Dim.width / 2. ) * Dim.height / 1788., ( y - Dim.height / 2. + 1. ) * Dim.height / 783., ringSize * Dim.height / 2., (1. - ringSize ) * Dim.height / 2. - .5, Dim.height / 2., VibrantColorCombos.RainbowFXcolorsWNeonGreenCenterReverse, false );
		}
		else
		{

		}// */


		if ( fxColor.getOpacity() == VibrantColors.White.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.White.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.White.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.White.ToFXColor().getBlue() )
		{
			pattern2D.RainbowStrobeGradated( FullSliderRunThrough * ColorsFactor / RepeatFactor, LocationOfStillMovement, LocationOfColorMovement, x, y, FullSliderRunThrough, Dim, HalfedDim, HalfSreenDiagionalLength, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Maroon.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Maroon.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Maroon.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Maroon.ToFXColor().getBlue() )
		{//304 + 244 = 548 // 656 //Need Correction For Screen Size !!
			if ( !laterReversed )
				pattern2D.SimpleRainbow( 1880. * XScaleFactor * ColorsFactor / RepeatFactor, - 1880. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1880. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 1880. * XScaleFactor , 1880. * XScaleFactor , BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			else
				pattern2D.SimpleRainbowReverse( 1880. * XScaleFactor * ColorsFactor / RepeatFactor, - 1880. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1880. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 1880. * XScaleFactor , 1880. * XScaleFactor , BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Lime.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Lime.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Lime.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Lime.ToFXColor().getBlue() )
		{//219 - 197 = 22 1040 / 783 = 0.7528846153846154 : - 16.56346153846154
			pattern2D.RainbowRingGradated( ringSize * Dim.height / 2. * ColorsFactor / RepeatFactor, ringSize * HalfedDim.height * LocationOfStillMovement / FullSliderRunThrough, ringSize * HalfedDim.height * LocationOfColorMovement / FullSliderRunThrough + 29.22094508301405, ( x - Dim.width / 2. + 11.) * Dim.height / 3576., ( y - Dim.height / 2. + 1. - 8. ) * Dim.height / 1566., ringSize * Dim.height / 2., 0, 99999/*(1. - ringSize ) * Dim.height / 2. - .5, Dim.height / 2. */, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );//Figure Out What To Use Instead Of ColorsFactor
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Black.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Black.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Black.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Black.ToFXColor().getBlue() )
		{//304 + 244 = 548 // 656 //Need Correction For Screen Size !!
			if ( !laterReversed )//243 1679
				pattern2D.SimpleCustomColor( 1436. * XScaleFactor  * ColorsFactor / RepeatFactor, - 1436. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1436. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 222., 1436. * XScaleFactor , BrightnessMultiplyer, Gradations, VibrantColorCombos.BlackWhiteFX,  OpacityBefore, OpacityAfter, Adjusted );
			else
				pattern2D.SimpleCustomColor( 1436. * XScaleFactor  * ColorsFactor / RepeatFactor, - 1436. * XScaleFactor  * LocationOfStillMovement / FullSliderRunThrough, - 1436. * XScaleFactor  * LocationOfColorMovement / FullSliderRunThrough, x - 222., 1436. * XScaleFactor , BrightnessMultiplyer, Gradations, VibrantColorCombos.WhiteBlackFX, OpacityBefore, OpacityAfter, Adjusted );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
		{//304 + 244 = 548 // 656 //Need Correction For Screen Size !!
			if ( !laterReversed )//400 1525 //Math.PI / 2., 0, Math.PI * ( tertiaryXslider / videoSequenceLoopQuantity ) / 2., x - HalfedDim.width, y - HalfedDim.height, Math.PI / 2., false
				pattern2D.RainbowClockGradated( Math.PI / 2., Math.PI * ( LocationOfStillMovement / FullSliderRunThrough ) / 2., - Math.PI * ( - LocationOfColorMovement / FullSliderRunThrough ) / 2., x - HalfedDim.width, y - HalfedDim.height, Math.PI / 2., VibrantColorCombos.RainbowFXcolors, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			else//10 23
				pattern2D.RainbowClockGradated( Math.PI / 2., Math.PI * ( LocationOfStillMovement / FullSliderRunThrough ) / 2., - Math.PI * ( - LocationOfColorMovement / FullSliderRunThrough ) / 2., x - HalfedDim.width, y - HalfedDim.height, Math.PI / 2., VibrantColorCombos.RainbowFXcolorsReverse, !laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}
		else if ( fxColor.getOpacity() == VibrantColors.Teal.ToFXColor().getOpacity() &&
				fxColor.getRed() == VibrantColors.Teal.ToFXColor().getRed() &&
				fxColor.getGreen() == VibrantColors.Teal.ToFXColor().getGreen() &&
				fxColor.getBlue() == VibrantColors.Teal.ToFXColor().getBlue() )
		{
			if ( !laterReversed )
				tempTransparencySlider.TransparencySliderFunction(ColorsFactor / RepeatFactor, LocationOfStillMovement / FullSliderRunThrough, VibrantColors.Green.ToFXColor(), VibrantColors.Pink.ToFXColor() );
			else
				tempTransparencySlider.TransparencySliderFunction(ColorsFactor / RepeatFactor, LocationOfStillMovement / FullSliderRunThrough, VibrantColors.White.ToFXColor(), VibrantColors.NeonGreen.ToFXColor() );
			pattern2D.set( tempTransparencySlider.ToFXColor() );
			rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
			return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );

			/*
					//System.out.println( "After x: " + x +  " y: " + y + " Don't Use ColorFader Again" );
					//System.exit(0);
					if ( x == 648 && y == 788 )
					{
						tempColorFader = new ColorFader();
						tempColorFader.ColorFaderFunction( FullSliderRunThrough, LocationOfStillMovement / FullSliderRunThrough, VibrantColors.Green.ToFXColor(), VibrantColors.Pink.ToFXColor() );
					}
					pattern2D.set( tempColorFader.fxColor );
					rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
					return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );// */
		}
		else
		{
			someTargetColorHit = false;
			if ( laterReversed != Reversed )
				return NextColorDecide ( fxColor, BackgroundBasisPR.getColor( x, y ), pattern2D.ToFXColor(), InitialColorContrastingChoice, ColorTooSimilarReplacementColor, ColorDifference, Reversed, NextStepColorTooSimilarEffect, InvertBasisFromBackground );
		}

		/*rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * BasisPR.getColor( x, y ).getRed(), 255 * BasisPR.getColor( x, y ).getGreen(), 255 * BasisPR.getColor( x, y ).getBlue(), BasisPR.getColor( x, y ).getOpacity() } );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();// */
		return fxColor;
	}


	public Color RainbowVideoTest(double ColorsFactor, double LocationOfStillMovement, double LocationOfColorMovement, double FullSliderRunThrough, int x, int y, double RepeatFactor, double SpiralFactor, double NumberOfSpirals, double HalfSreenDiagionalLength, boolean Reversed, double BrightnessMultiplyer, int Gradations, double OpacityBefore, double OpacityAfter, boolean Adjusted, PixelReader BasisPR, PixelReader BackgroundBasisPR, PixelReader BrowserPR, Dimension Dim, String TypeOfDisplay, Color InitialColorContrastingChoice, Color ColorTooSimilarReplacementColor, double ColorDifference, boolean InvertBasisFromBackground, boolean ReversalOfBackgroundEffectsMaster, boolean NextStepColorTooSimilarEffect )
	{
		pattern2D = new RainbowPattern2D( VibrantColors.HalfGrey.ToFXColor() );
		pattern2D.RainbowDoubleExponentiator( FullSliderRunThrough * - ColorsFactor / RepeatFactor, LocationOfStillMovement, LocationOfColorMovement, x, y, FullSliderRunThrough, Dim, 4., -1, laterReversed, BrightnessMultiplyer, Gradations, OpacityBefore, OpacityAfter, Adjusted );
		rainbowSoftColor = new RainbowSoftColor( pattern2D.ToFXColor() );
		//rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * fxColor.getRed(), 255 * fxColor.getGreen(), 255 * fxColor.getBlue(), fxColor.getOpacity() } );
		rgb = rainbowSoftColor.rgb;
		argb = rainbowSoftColor.argb;
		fxColor = rainbowSoftColor.ToFXColor();
		return fxColor;
	}

	public Color DisplayTypeDeterminer ( String TypeOfDisplay, Color BasisColor, Color BrowserColor, boolean Reversed )//Maybe Make Separate Class File After Finishing DisplayTypeDeterminer But Use This Internal One For Now //[]Make Seperate RainbowSoft2D Class For Getting With Individual FXColors Input The Following; ?Custom (Color)? Or Naitive Color (White And Transparent) No Color Too Similar (Black And Transparent) Too Similar Choice Color And Choice Difference Also With Native FullScreen Functionality For "FullDisplay" , "FullDisplayNoTextShownAtAll" , "FullDisplayBasisText" , "FullDisplayBasisBackround" , "FullDisplayBasisOnly" , "NoDisplay" , "TextDisplayOnly" , "BackgroundDisplayOnly" , "BasisTextDisplayOnly" , "BasisBackroundDisplayOnly"
	{//"FullDisplay", "FullDisplayNoTextShownAtAll", "FullDisplayBasisText", "FullDisplayBasisBackround", "FullDisplayBasisOnly", "BasisBackroundDisplayOnly", "TextDisplayAndBrowser", "TextDisplayOnly", "BasisTextDisplayOnly", "BasisTextDisplayOnWhite", "BasisTextDisplayOnBlack", "NoDisplay", "BlackScreen"
		if ( TypeOfDisplay == "FullDisplay" )
		{
			if ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
					BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
					BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
					BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
			{ returnImmediately = false;
			laterReversed = !Reversed;
			return BasisColor; }
			else if ( BrowserColor.getOpacity() == VibrantColors.OxylBlue0FF.ToFXColor().getOpacity() && 
					BrowserColor.getRed() == VibrantColors.OxylBlue0FF.ToFXColor().getRed() && 
					BrowserColor.getGreen() == VibrantColors.OxylBlue0FF.ToFXColor().getGreen() && 
					BrowserColor.getBlue() == VibrantColors.OxylBlue0FF.ToFXColor().getBlue() )
			{ returnImmediately = true; return VibrantColors.OxylBlue0FF.ToFXColor(); }
			else if ( BrowserColor.getOpacity() > 0.// && 
					//BrowserColor.getRed() != VibrantColors.White.ToFXColor().getRed() && 
					//BrowserColor.getGreen() != VibrantColors.White.ToFXColor().getGreen() && 
					//BrowserColor.getBlue() != VibrantColors.White.ToFXColor().getBlue() 
					)
			{ browserHit = true; returnImmediately = true; return BrowserColor; }
			else { returnImmediately = false;
			laterReversed = Reversed;
			return BasisColor; }
		}
		else if ( ( TypeOfDisplay ==  "FullDisplayBasisBackround" || TypeOfDisplay == "TextDisplayAndBrowser" || TypeOfDisplay == "TextDisplayAndBrowserBlackShowingBackground" || TypeOfDisplay == "TextDisplayOnly"  || TypeOfDisplay == "TextDisplayOnlyWhiteShowingBackground" ) && ( ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
				BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
				BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
				BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() ) ||
				( BrowserColor.getOpacity() == VibrantColors.OxylBlue0FF.ToFXColor().getOpacity() && 
				BrowserColor.getRed() == VibrantColors.OxylBlue0FF.ToFXColor().getRed() && 
				BrowserColor.getGreen() == VibrantColors.OxylBlue0FF.ToFXColor().getGreen() && 
				BrowserColor.getBlue() == VibrantColors.OxylBlue0FF.ToFXColor().getBlue() ) )  )
			if ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
			BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
			BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
			BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
			{ returnImmediately = false;
			laterReversed = !Reversed;
			return BasisColor; }
			else
			{ returnImmediately = true; return VibrantColors.OxylBlue0FF.ToFXColor(); }
		else if ( TypeOfDisplay == "FullDisplayNoTextShownAtAll" )
		{ returnImmediately = false;
		laterReversed = Reversed;
		return BasisColor; }
		else if ( TypeOfDisplay == "FullDisplayBasisBackround" )
		{ returnImmediately = true;
		return BasisColor; }
		else if ( TypeOfDisplay == "TextDisplayAndBrowser" || TypeOfDisplay == "TextDisplayAndBrowserBlackShowingBackground" && BrowserColor.getOpacity() > 0.// && 
				//BrowserColor.getRed() != VibrantColors.White.ToFXColor().getRed() && 
				//BrowserColor.getGreen() != VibrantColors.White.ToFXColor().getGreen() && 
				//BrowserColor.getBlue() != VibrantColors.White.ToFXColor().getBlue() )
				)
		{ browserHit = true; returnImmediately = true;
		return BrowserColor; }
		else if ( TypeOfDisplay == "TextDisplayOnly" || TypeOfDisplay == "TextDisplayOnlyWhiteShowingBackground" || TypeOfDisplay == "TextDisplayAndBrowser" || TypeOfDisplay == "TextDisplayAndBrowserBlackShowingBackground" || TypeOfDisplay == "BlackScreen" )
		{ returnImmediately = true;
		if ( TypeOfDisplay == "TextDisplayAndBrowser" || TypeOfDisplay == "TextDisplayOnlyWhiteShowingBackground" )
			return VibrantColors.White.ToFXColor();
		else
			return VibrantColors.Black.ToFXColor(); }
		else if ( TypeOfDisplay == "NoDisplay" )
		{ returnImmediately = true;
		return fxColor.TRANSPARENT; }
		else if ( ( TypeOfDisplay == "FullDisplayBasisText" || TypeOfDisplay == "FullDisplayBasisOnly" || TypeOfDisplay == "BasisTextDisplayOnly" || TypeOfDisplay == "BasisTextDisplayOnWhite" || TypeOfDisplay == "BasisTextDisplayOnBlack" ) && 
				( ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
				BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
				BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
				BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() ) ||
						( BrowserColor.getOpacity() == VibrantColors.OxylBlue0FF.ToFXColor().getOpacity() && 
						BrowserColor.getRed() == VibrantColors.OxylBlue0FF.ToFXColor().getRed() && 
						BrowserColor.getGreen() == VibrantColors.OxylBlue0FF.ToFXColor().getGreen() && 
						BrowserColor.getBlue() == VibrantColors.OxylBlue0FF.ToFXColor().getBlue() ) ) )
			if ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
			BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
			BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
			BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
			{ returnImmediately = true; return VibrantColors.Magenta.ToFXColor(); }
			else
			{ returnImmediately = true; return VibrantColors.OxylBlue0FF.ToFXColor(); }
		else if ( TypeOfDisplay == "FullDisplayBasisText" )
		{ returnImmediately = false;
		laterReversed = Reversed;
		return BasisColor; }
		else if ( TypeOfDisplay == "BasisTextDisplayOnBlack" )
		{ returnImmediately = true;
		return VibrantColors.Black.ToFXColor(); }
		else if ( TypeOfDisplay == "BasisTextDisplayOnWhite" )
		{ returnImmediately = true;
		return VibrantColors.White.ToFXColor(); }
		else if ( TypeOfDisplay == "BasisTextDisplayOnly" )
		{ returnImmediately = true;
		return fxColor.TRANSPARENT; }
		else if ( TypeOfDisplay == "FullDisplayBasisOnly" || TypeOfDisplay == "BasisBackroundDisplayOnly" )
		{ returnImmediately = true;
		return BasisColor; }
		returnImmediately = false;
		return VibrantColors.ShitBrown.ToFXColor();
	}

	public Color DisplayTypeDeterminer ( String TypeOfDisplay, Color BasisColor, Color BackgroundBasisColor, Color BrowserColor, boolean Reversed, boolean ReversalOfBackgroundEffectsMaster )//Maybe Make Separate Class File After Finishing DisplayTypeDeterminer But Use This Internal One For Now //[]Make Seperate RainbowSoft2D Class For Getting With Individual FXColors Input The Following; ?Custom (Color)? Or Naitive Color (White And Transparent) No Color Too Similar (Black And Transparent) Too Similar Choice Color And Choice Difference Also With Native FullScreen Functionality For "FullDisplay" , "FullDisplayNoTextShownAtAll" , "FullDisplayBasisText" , "FullDisplayBasisBackround" , "FullDisplayBasisOnly" , "NoDisplay" , "TextDisplayOnly" , "BackgroundDisplayOnly" , "BasisTextDisplayOnly" , "BasisBackroundDisplayOnly"
	{//"FullDisplay", "BackgroundToBasisFullDisplay", "FullDisplayNoTextShownAtAll", "FullDisplayBasisText", "FullDisplayBackgroundToBasisNoTextShownAtAll", "BackgroundToBasisFullDisplayBasisText", "FullDisplayBasisBackround", "FullDisplayBackroundToBasis", "FullDisplayBasisOnly", "FullDisplayBackroundToBasisOnly", "BasisBackroundDisplayOnly", "BackroundToBasisOnly", "TextDisplayOnly", "BasisTextDisplayOnly", "BasisTextDisplayOnWhite", "BasisTextDisplayOnBlack", "NoDisplay", "BlackScreen"

		if ( TypeOfDisplay == "FullDisplay" || TypeOfDisplay == "BackgroundToBasisFullDisplay" )
		{
			if ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
					BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
					BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
					BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
			{ returnImmediately = false;
			laterReversed = !Reversed;
			if (ReversalOfBackgroundEffectsMaster)
				return BackgroundBasisColor;
			else
			{
				reversalOfBackgroundEffectsSlave = false;
				return BasisColor;
			}
			}
			else if ( BrowserColor.getOpacity() == VibrantColors.OxylBlue0FF.ToFXColor().getOpacity() && 
					BrowserColor.getRed() == VibrantColors.OxylBlue0FF.ToFXColor().getRed() && 
					BrowserColor.getGreen() == VibrantColors.OxylBlue0FF.ToFXColor().getGreen() && 
					BrowserColor.getBlue() == VibrantColors.OxylBlue0FF.ToFXColor().getBlue() )
			{ returnImmediately = true; return VibrantColors.OxylBlue0FF.ToFXColor(); }
			else if ( BrowserColor.getOpacity() > 0. &&
					BrowserColor.getRed() != VibrantColors.White.ToFXColor().getRed() && 
					BrowserColor.getGreen() != VibrantColors.White.ToFXColor().getGreen() && 
					BrowserColor.getBlue() != VibrantColors.White.ToFXColor().getBlue() 
					)
			{ browserHit = true; returnImmediately = true; return BrowserColor; }
			else { laterReversed = Reversed; returnImmediately = false;
			if ( TypeOfDisplay != "BackgroundToBasisFullDisplay" )
				return BasisColor;
			else
			{
				reversalOfBackgroundEffectsSlave = false;
				return BackgroundBasisColor;
			}
			}
		}
		else if ( TypeOfDisplay == "FullDisplayNoTextShownAtAll" )
		{ returnImmediately = false;
		reversalOfBackgroundEffectsSlave = false;
		laterReversed = Reversed;
		return BasisColor; }
		else if ( TypeOfDisplay == "FullDisplayBackgroundToBasisNoTextShownAtAll" )
		{ returnImmediately = false;
		laterReversed = Reversed;
		return BackgroundBasisColor; }
		else if ( ( TypeOfDisplay == "FullDisplayBasisBackround" || TypeOfDisplay == "FullDisplayBackroundToBasis" || TypeOfDisplay == "FullDisplayBackroundToBasisOnly" || TypeOfDisplay == "TextDisplayAndBrowser" || TypeOfDisplay == "TextDisplayAndBrowserBlackShowingBackground" || TypeOfDisplay == "TextDisplayOnly" || TypeOfDisplay == "TextDisplayOnlyWhiteShowingBackground" )
				&& ( ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
				BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
				BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
				BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
						|| ( BrowserColor.getOpacity() == VibrantColors.OxylBlue0FF.ToFXColor().getOpacity() && 
						BrowserColor.getRed() == VibrantColors.OxylBlue0FF.ToFXColor().getRed() && 
						BrowserColor.getGreen() == VibrantColors.OxylBlue0FF.ToFXColor().getGreen() && 
						BrowserColor.getBlue() == VibrantColors.OxylBlue0FF.ToFXColor().getBlue() ) )  )
			if ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
			BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
			BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
			BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
			{ returnImmediately = false;
			laterReversed = !Reversed;
			if (ReversalOfBackgroundEffectsMaster || TypeOfDisplay == "FullDisplayBackroundToBasis" )
				return BackgroundBasisColor;
			else
			{	reversalOfBackgroundEffectsSlave = false;
			return BasisColor; }
			}
			else
			{ returnImmediately = true; return VibrantColors.OxylBlue0FF.ToFXColor(); }
		else if ( TypeOfDisplay == "FullDisplayBasisBackround" )
		{ 
			returnImmediately = true;
			return BasisColor; }
		else if ( TypeOfDisplay == "FullDisplayBackroundToBasisOnly" )
		{ returnImmediately = true;
		return BackgroundBasisColor; }
		else if ( TypeOfDisplay == "TextDisplayAndBrowser" || TypeOfDisplay == "TextDisplayAndBrowserBlackShowingBackground"  && BrowserColor.getOpacity() > 0.// && 
				//BrowserColor.getRed() != VibrantColors.White.ToFXColor().getRed() && 
				//BrowserColor.getGreen() != VibrantColors.White.ToFXColor().getGreen() && 
				//BrowserColor.getBlue() != VibrantColors.White.ToFXColor().getBlue() ) 
				)
		{ browserHit = true; returnImmediately = true;
		return BrowserColor; }
		else if ( TypeOfDisplay == "TextDisplayOnly" || TypeOfDisplay == "TextDisplayOnlyWhiteShowingBackground" || TypeOfDisplay == "TextDisplayAndBrowser" || TypeOfDisplay == "TextDisplayAndBrowserBlackShowingBackground" || TypeOfDisplay == "BlackScreen" )
		{ returnImmediately = true;
		if ( TypeOfDisplay == "TextDisplayAndBrowser" || TypeOfDisplay == "TextDisplayOnlyWhiteShowingBackground" )
			return VibrantColors.White.ToFXColor();
		else
			return VibrantColors.Black.ToFXColor(); }
		else if ( TypeOfDisplay == "NoDisplay" )
		{ returnImmediately = true;
		return fxColor.TRANSPARENT; }
		else if ( ( TypeOfDisplay == "FullDisplayBasisText" || TypeOfDisplay == "FullDisplayBasisOnly" || TypeOfDisplay == "BackgroundToBasisFullDisplayBasisText" || TypeOfDisplay == "BasisTextDisplayOnly" || TypeOfDisplay == "BasisTextDisplayOnWhite" || TypeOfDisplay == "BasisTextDisplayOnBlack" ) && 
				( ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
				BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
				BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
				BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() ) 
						|| ( BrowserColor.getOpacity() == VibrantColors.OxylBlue0FF.ToFXColor().getOpacity() && 
						BrowserColor.getRed() == VibrantColors.OxylBlue0FF.ToFXColor().getRed() && 
						BrowserColor.getGreen() == VibrantColors.OxylBlue0FF.ToFXColor().getGreen() && 
						BrowserColor.getBlue() == VibrantColors.OxylBlue0FF.ToFXColor().getBlue() ) ) )
			if ( BrowserColor.getOpacity() == VibrantColors.Magenta.ToFXColor().getOpacity() && 
			BrowserColor.getRed() == VibrantColors.Magenta.ToFXColor().getRed() && 
			BrowserColor.getGreen() == VibrantColors.Magenta.ToFXColor().getGreen() && 
			BrowserColor.getBlue() == VibrantColors.Magenta.ToFXColor().getBlue() )
			{ returnImmediately = true; return VibrantColors.Magenta.ToFXColor(); }
			else
			{ returnImmediately = true; return VibrantColors.OxylBlue0FF.ToFXColor(); }
		else if ( TypeOfDisplay == "FullDisplayBasisText" )
		{ returnImmediately = false;
		reversalOfBackgroundEffectsSlave = false;
		laterReversed = Reversed;
		return BasisColor; }
		else if ( TypeOfDisplay == "BasisTextDisplayOnBlack" )
		{ returnImmediately = true;
		return VibrantColors.Black.ToFXColor(); }
		else if ( TypeOfDisplay == "BasisTextDisplayOnWhite" )
		{ returnImmediately = true;
		return VibrantColors.White.ToFXColor(); }
		else if ( TypeOfDisplay == "BasisTextDisplayOnly" )
		{ returnImmediately = true;
		return fxColor.TRANSPARENT; }
		else if ( TypeOfDisplay == "FullDisplayBasisOnly" || TypeOfDisplay == "BasisBackroundDisplayOnly" )
		{ returnImmediately = true;
		return BasisColor; }
		else if ( TypeOfDisplay == "BackgroundToBasisFullDisplayBasisText" || TypeOfDisplay == "BackroundToBasisOnly" )
		{ returnImmediately = true;
		return BackgroundBasisColor; }
		returnImmediately = false;
		return VibrantColors.ShitBrown.ToFXColor();
	}

	public Color NextColorDecide ( Color BasisColor, Color BackgroundBasisColor, Color PatternColor, Color InitialColorContrastingChoice, Color ColorTooSimilarReplacementColor, double ColorDifference, boolean Reversed, boolean NextStepColorTooSimilarEffect, boolean InvertBasisFromBackground )
	{
		if ( someTargetColorHit )
		{
			if ( BasisColor.getOpacity() == BackgroundBasisColor.getOpacity() && 
					BasisColor.getRed() == BackgroundBasisColor.getRed() && 
					BasisColor.getGreen() == BackgroundBasisColor.getGreen() && 
					BasisColor.getBlue() == BackgroundBasisColor.getBlue() )
			{
				rainbowSoftColor = new RainbowSoftColor( PatternColor );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();
				return fxColor;
			}
			else if ( laterReversed == Reversed )
			{
				rainbowSoftColor = new RainbowSoftColor( BasisColor );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();
				return fxColor;
			}
			else if ( !NextStepColorTooSimilarEffect )//!NextStepColorTooSimilarEffect For ShortCutting To Show Full Basis Below & Putting Browser Picture Over Anything And Stuff Like That Like An Emergency Auxiliary To Show Pixels. reversalOfBackgroundEffectsSlave Does Not Work When !NextStepColorTooSimilarEffect,
			{
				rainbowSoftColor = new RainbowSoftColor( PatternColor );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();
				return fxColor;
			}
			else if ( !rainbowSoftColor.ColorTooSimilarFunction( BasisColor, PatternColor, ColorDifference ) && reversalOfBackgroundEffectsSlave )
			{
				rainbowSoftColor = new RainbowSoftColor( PatternColor );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();
				return fxColor;
			}
			else if( InvertBasisFromBackground  && reversalOfBackgroundEffectsSlave )
			{
				rainbowSoftColor = new RainbowSoftColor( PatternColor );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();
				fxColor = fxColor.invert();//32 Bit Support Necessary To Maintain Cubical Cellular Modularity To Get This Reprocessed Through NextColorDecide Jump Past This then And Goto Next else
				rainbowSoftColor = new RainbowSoftColor( new double[] { 255 * fxColor.getRed(), 255 * fxColor.getGreen(), 255 * fxColor.getBlue(), fxColor.getOpacity() } );
				rgb = rainbowSoftColor.rgb;
				argb = rainbowSoftColor.argb;
				fxColor = rainbowSoftColor.ToFXColor();
				return fxColor;
			}
			else
			{
				rainbowSoftColor.RainbowSoftColorFunction(2, 1, BasisColor, PatternColor );
				if ( !colorTooSimilarFunction.ColorTooSimilarFunction( InitialColorContrastingChoice, rainbowSoftColor.ToFXColor(), ColorDifference ) )
				{
					rainbowSoftColor = new RainbowSoftColor( InitialColorContrastingChoice );
					rgb = rainbowSoftColor.rgb;
					argb = rainbowSoftColor.argb;
					fxColor = rainbowSoftColor.ToFXColor();
					return fxColor;
				}
				else
				{
					rainbowSoftColor = new RainbowSoftColor( ColorTooSimilarReplacementColor );
					rgb = rainbowSoftColor.rgb;
					argb = rainbowSoftColor.argb;
					fxColor = rainbowSoftColor.ToFXColor();
					return fxColor;
				}
			}
		}
		else
		{
			rainbowSoftColor = new RainbowSoftColor( BackgroundBasisColor );
			rgb = rainbowSoftColor.rgb;
			argb = rainbowSoftColor.argb;
			fxColor = rainbowSoftColor.ToFXColor();
			return fxColor;
		}
	}

	public Color[] CustomColorsReverser ( Color[] FXcolorArray )//Reverses Custom Colors By Flipping Around Colors Like Rainbow Reversal Without Changing Any Colors Like Green In Rainbow To Pink In Reversed //
	{
		fxColorArray = new Color[FXcolorArray.length];
		for (int c = 0; c < FXcolorArray.length; c++)
			fxColorArray[c] = FXcolorArray[ FXcolorArray.length - c - 1 ];
		return fxColorArray;
	}
	public double ColorValueFitter ( double ColorToBeChecked )//30th Square DiagnosticsClass.java
	{
		colorBeingChecked = ColorToBeChecked;
		while ( colorBeingChecked < -4080 )
			colorBeingChecked = colorBeingChecked + 4080;
		while ( colorBeingChecked < 0 )
			colorBeingChecked = colorBeingChecked + 255;
		while ( colorBeingChecked > 4080 )
			colorBeingChecked = colorBeingChecked - 4080;
		while ( colorBeingChecked > 255 )
			colorBeingChecked = colorBeingChecked - 255;
		return Math.round(colorBeingChecked);
	}
	public double OpacityValueFitter ( double OpacityToBeChecked )//31st Square DiagnosticsClass.java
	{
		opacityBeingChecked = OpacityToBeChecked;
		while ( opacityBeingChecked < -16 )
			opacityBeingChecked = opacityBeingChecked + 16;
		while ( opacityBeingChecked < 0 )
			opacityBeingChecked = opacityBeingChecked + 1;
		while ( opacityBeingChecked > 1 )
			opacityBeingChecked = opacityBeingChecked - 1;
		while ( opacityBeingChecked > 16 )
			opacityBeingChecked = opacityBeingChecked - 16;
		return opacityBeingChecked;
	}
	public void set(double[] ARGB) { argb = ARGB; rgb[0] = ARGB[0]; rgb[1] = ARGB[1]; rgb[2] = ARGB[2]; fxColor = Color.rgb( (int)(ColorValueFitter(ARGB[0])), (int)(ColorValueFitter(ARGB[1])), (int)(ColorValueFitter(ARGB[2])), (int)(OpacityValueFitter(ARGB[3])) ); rainbowSoftColor = new RainbowSoftColor( ARGB ); }//Assigns Colors With ARGB //29th Square In SimpleDiagnosticsClass.java
	public void set(Color FXColor) { fxColor = FXColor; argb = new double[] { FXColor.getRed() * 255, FXColor.getGreen() * 255, FXColor.getBlue() * 255, FXColor.getOpacity() }; rainbowSoftColor = new RainbowSoftColor( argb ); }//Assigns Colors With FXColor //30th Square In SimpleDiagnosticsClass.java
	public Object get() { return fxColor; }//Returns Always Happen With Variable Output With ARGB Functionality //31st Square In SimpleDiagnosticsClass.java
}