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
Basics
Variable Scope
Predefined Variables
Predefined Variables - Escapetime
Predefined Variables - Quaternion
Predefined Variables - Attractor
e
FieldOfView
formulaWeightStart
formulaWeight
height
hiddenPixel
index
maxiter
numiter
numTrafos
pi
pixelcolor
randomrange
screenmax
trafoWeight
trafoColor
width
z
Parameters
Expressions
Operators
Functions
Control Structures
Compiler Directives
Functions
Interface to ChaosPro
Special Features, Notes...
Compatibility
Fractal Type Reference
Tutorials
Appendix
CHAOSPRO 4.0
Release 4.0
.

Parameters - formulaWeight

Name: formulaWeight

Type: real

Read/Write: Read

Context: Transformation, Coloring

Description:

The fractal type "attractor" generates sequences of pixels by randomly choosing a formula from a set of formulas. Each formula has some "weight" assigned, which indicates how often that specific formula is chosen.

This parameter together with formulaWeightStart now contains the range between 0 and 1 which is ment for this formula. So if formulaWeightStart contains 0.3 and formulaWeight contains 0.4, then this means, that this formula is chosen each time the random number which selects the formula to be used next is between 0.3 (formulaWeightStart) and 0.3+0.4 (formulaWeightStart+formulaWeight).