Cytosim PI Cytoskeleton Simulator

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

How to create an Aster
How to create objects

By default the aster creates a radial distribution of fiber, and only the radius need to be specified:

new aster NAME
{
nb_fibers = INTEGER
radius = OUTER_RADIUS, INNER_RADIUS
...
}

The configuration of the Aster can also be customized by providing points on which the fibers are attached.

Syntax:

new aster NAME
{
nb_fibers = INTEGER
anchor0 = POINT, POINT
anchor1 = POINT, POINT
...
}

Each POINT can be specified in two ways:

- as a VECTOR, to specify the position of a new point,
- as an #INDEX refereeing to an already defined point.

A point with index=0 is always added at the center of the Aster.

Example:

new aster centrosome
{
nb_fibers = 3
anchor0 = #0, 1 0 0
anchor1 = #0, 0 1 0
anchor2 = #0, 0 -1 0
}

It is also possible to add point to the Solid, before adding the anchors. The syntax is the same as for customizing a solid (How to create a Solid):

new aster centrosome
{
nb_points = 3
point0 = 0 -0.2 0, 0.2
point1 = 0 0 0, 0.2
point2 = 0 +0.2 0, 0.2
nb_fibers = 3
anchor0 = #0, 0.5 -0.2 0
anchor1 = #1, 0.5 0 0
anchor2 = #2, 0.5 +0.2 0
}