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 - <parametername>.default

Name: <parametername>.default

Type: Same as parameter: Either quaternion, complex, or real, or int, or bool

Description:

This attribute lets you specify a default value for the parameter. Choose it suitable, so that the formula produces a reasonable image if all parameters are set to their defaults. The data type of this attribute must conform to the data type of the parameter itself. But there is an exception to this rule: The parameter datatype array needs a string containing the filename (with path) to an image.
Not only you can specify a constant, but also you can specify an expression: So you can set the default value of a parameter according to the current screen center, for example.

Examples:

  • aspect.default=0.5;
  • sc.default=center*sin(angle);