public Ring6PageVm() { Randy = new ThreadSafeRandom(); DisplayFrequencySliderVm = new SliderVm(new I <float>(1.0f, 50.0f), 1, "0", "DisplayFrequency") { Title = "Display Frequency", Value = 20 }; StepSizeVm = new SliderVm(new I <float>(0.0f, 0.3f), 0.02, "0.00", "StepSize") { Title = "Step Size", Value = 0.1f }; DisplayFrequencySliderVm = new SliderVm(new I <float>(1.0f, 100.0f), 1, "0", "DisplayFrequency") { Title = "Display Frequency", Value = 50 }; NoiseLevelVm = new SliderVm(new I <float>(0.0f, 0.3f), 0.002, "0.000", "NoiseLevel") { Title = "Noise", Value = 0.02f }; Grid2DVm = new Grid2DVm <float>(Bounds, ColorSets.RedBlueSFLeg, "Ring 1"); NodeArray = NodeProcs.RandNodeArray(Bounds, Randy); UpdateUi(); }
public Ring5PageVm() { GridValsVm = new Grid2DVm <float>(Bounds, ColorSets.QuadColorUFLeg, "Ring 5 Values"); GridDeltasVm = new Grid2DVm <float>(Bounds, ColorSets.BlueUFLeg, "Ring 5 Deltas"); DisplayFrequencySliderVm = new SliderVm(new I <float>(1.0f, 50.0f), 1, "0", "DisplayFrequency") { Title = "Display Frequency", Value = 2 }; NoiseLevelVm = new SliderVm(new I <float>(0.0f, 0.5f), 0.01, "0.00", "NoiseLevel") { Title = "Noise", Value = 0.25f }; StepSizeVm = new SliderVm(new I <float>(0.0f, 0.3f), 0.01, "0.00", "StepSize") { Title = "Step Size", Value = 0.1f }; NoiseFieldDecayVm = new SliderVm(new I <float>(0.0f, 0.9f), 0.01, "0.00", "NoiseFieldDecay") { Title = "Noise field decay", Value = 0.3f }; DeltaToNoiseVm = new SliderVm(new I <float>(0.0f, 0.9f), 0.01, "0.00", "DeltaToNoise") { Title = "Delta to noiseLevel", Value = 0.2f }; NoiseFieldCplVm = new SliderVm(new I <float>(0.0f, 0.4f), 0.01, "0.00", "NoiseLevel") { Title = "Noise field cpl", Value = 0.12f }; FixedFieldCplVm = new SliderVm(new I <float>(0.0f, 4.0f), 0.002, "0.000", "FixedFieldCpl") { Title = "Fixed field cpl", Value = 0.8f }; AbsDeltaTargetVm = new SliderVm(new I <float>(0.0f, 0.4f), 0.002, "0.000", "AbsDeltaTarget") { Title = "AbsDelta Target", Value = 0.2f }; Star5Grid = Star5Procs.RandStarGrid(Bounds, DesignData.GradientGrid(Bounds), 1293); UpdateUi(); }
public Ring2PageVm() { GridValsVm = new Grid2DVm <float>(Bounds, ColorSets.QuadColorUFLeg, "Ring 2 Values"); GridDeltasVm = new Grid2DVm <float>(Bounds, ColorSets.BlueUFLeg, "Ring 2 Deltas"); DisplayFrequencySliderVm = new SliderVm(new I <float>(1.0f, 50.0f), 1, "0", "DisplayFrequency") { Title = "Display Frequency", Value = 2 }; NoiseLevelVm = new SliderVm(new I <float>(0.0f, 0.5f), 0.01, "0.00", "NoiseLevel") { Title = "Noise", Value = 0.25f }; StepSizeVm = new SliderVm(new I <float>(0.0f, 0.3f), 0.01, "0.00", "StepSize") { Title = "Step Size", Value = 0.1f }; NoiseFieldDecayVm = new SliderVm(new I <float>(0.0f, 0.9f), 0.01, "0.00", "NoiseFieldDecay") { Title = "Noise field decay", Value = 0.3f }; DeltaToNoiseVm = new SliderVm(new I <float>(0.0f, 0.9f), 0.01, "0.00", "DeltaToNoise") { Title = "Delta to noiseLevel", Value = 0.2f }; NoiseFieldCplVm = new SliderVm(new I <float>(0.0f, 0.4f), 0.01, "0.00", "NoiseFieldCpl") { Title = "Noise field cpl", Value = 0.12f }; Star2Grid = Star2Procs.RandStarGrid(Bounds, 1293); UpdateUi(); }
public RingPageVm() { StepSizeVm = new SliderVm(new I <float>(0.0f, 0.3f), 0.02, "0.00", "StepSize") { Title = "Step Size", Value = 0.1f }; DisplayFrequencySliderVm = new SliderVm(new I <float>(1.0f, 100.0f), 1, "0", "DisplayFrequency") { Title = "Display Frequency", Value = 50 }; NoiseLevelVm = new SliderVm(new I <float>(0.0f, 0.3f), 0.002, "0.000", "NoiseLevel") { Title = "Noise", Value = 0.02f }; Grid2DVm = new Grid2DVm <float>(Bounds, ColorSets.QuadColorUFLeg, "Ring 1"); StarGrid = StarProcs.RandStarGrid(Bounds, 1293, 444); UpdateUi(); }
public PairsPageVm() { GridValsVm = new Grid2DVm <float>(Bounds, ColorSets.QuadColorUFLeg, "Ring 2 Values"); GridDeltasVm = new Grid2DVm <float>(Bounds, ColorSets.BlueUFLeg, "Ring 2 Deltas"); DisplayFrequencySliderVm = new SliderVm(new I <float>(1.0f, 50.0f), 1, "0", "DisplayFrequency") { Title = "Display Frequency", Value = 2 }; NoiseLevelVm = new SliderVm(new I <float>(0.0f, 0.3f), 0.002, "0.000", "NoiseLevel") { Title = "Noise", Value = 0.03f }; StepSizeVm = new SliderVm(new I <float>(0.0f, 0.3f), 0.02, "0.00", "StepSize") { Title = "Step Size", Value = 0.1f }; FixedFieldCplVm = new SliderVm(new I <float>(0.0f, 4.0f), 0.002, "0.000", "FixedFieldCpl") { Title = "Fixed field cpl", Value = 0.8f }; //Star3Grid = Star3Procs.RandStarGrid(Bounds, // DesignData.CirculoGrid1(Bounds, new P2<double>(0.4, 0.4), 0.3), 1293); Star3Grid = Star3Procs.RandStarGrid(Bounds, DesignData.GradientGrid(Bounds), 123); UpdateUi(); }