ChaosPro Home
Introduction
What's New
Palettes
Using Formulas
Layering in ChaosPro
Rendering
Fractal Parameter Windows
Windows
Menu
3D Transformations
Animations
Formula Compiler
Writing Formulas
Language Reference
Introduction
Basic Syntax
Datatypes
Constants
Variables
Expressions
Operators
Functions
Control Structures
Compiler Directives
Functions
Interface to ChaosPro
Escapetime Formulas
Quaternion Formulas
Attractor Formulas
Libraries
How it works together
Description function
this.angle
this.center
this.helpfile
this.helptopic
this.magn
this.maxiter
this.method
this.periodicity
this.title
<param>.caption
<param>.default
<param>.enabled
<param>.enum
<param>.hint
<param>.max
<param>.min
<param>.randomizable
<param>.randomizationType
<param>.randomizeMin
<param>.randomizeMax
<param>.visible
<func>.caption
<func>.default
<func>.hint
Special Features, Notes...
Compatibility
Fractal Type Reference
Tutorials
Appendix
CHAOSPRO 4.0
Release 4.0
.

Description - <name>.randomizationType

Name: <name>.randomizationType

Type: int

Description:

When searching for a new parameter set for an Attractor ChaosPro normally randomizes all parameters. Depending on the formula this might not be desirable, as then all randomizable parameters receive new values.

As an example, remember the flame formula: It consists of round about 50 transformations which can be switched on and off. You normally don't want to switch on all 50 transformations. Instead, you switch on only a few of them. Now if they are all randomizable, ChaosPro cannot know that it should only randomize a few of them and leave the others 0. Instead, it always (!) would randomize the weights of all 50 transformations and thus switch them on. This would result in a very slow flame fractal.

As such, you can define a randomization type. Currently the only supported values are "0" (default, if not specified) and "1". If "1", then ChaosPro allows you (when clicking on the search button) to randomize only 5 or 10 of them, the others are just set to the default value.


randomizationType
Meaning
0 ChaosPro will randomize each parameter which belongs to this group
1 ChaosPro will randomize some of the parameters (5 or 10, depending on what you select) which belong to this group. The remaining parameters belonging to this group will be set to the default value.


Example:

  • weightSinusoid.randomizationType=1; // Tell ChaosPro that this parameter belongs to randomization group "1", which means: Select some parameters of that group, randomize them, and set the remaining parameters of that group to the default value.