Principle
aim
ang
eye
foc
image
roll
rota
vertex
vol
See also
Principle
Springs can be defined on some parameters of an object, eg between the vertices of a volume,
which can simulate the elastic surfaces "soft", their torsion is controlled by angular springs between edges of these surfaces.
Dynamic animation (yes dynamic) their movements will be managed automatically by a dynamic model.
Two coefficients to adjust the reaction of the springs:
1) The stiffness (between 0 and 1)
0: very soft
1: Very steep
2) The viscosity (between 0 and -1)
0: very fluid
-1: highly viscous
Examples:
1) stiff=0.1, visc=-0.01: normal spring.
2) stiff=1, visc=-0.1: highly reactive.
spring foc
spring foc view(id)
Returns the spting of the focal of the view id.
spring foc view(id)=stiff,visc
Changes this spring.
spring aim
spring aim view(id)
Returns the spring of the aim point of the viez id.
spring aim view(id)=stiff,visc
Changes this spring.
spring image
spring image(id)
Returns the stifness,viscosity coefficients of the dynamic image id.
spring image(id)=stiff,visc
Changes these coefficients.
Note:
The image must of type dynamic and
yes dynamic must be active.
When the colors of some pixels change then come into vibration with a stiff stiffness and viscosity visc.
spring ang
spring ang vol(id)
Returns the torsion coefficients of the volume id relative to its father.
spring ang vol(id)=stiff,visc
Changes this spring.
Note:
Animation dynamic volume id undergo a torsional stiffness stiff and viscosity
visc.
spring eye
spring eye view(id)
Returns the spring of the eye of the view id.
spring eye view(id)=stiff,visc
Changes this spring.
spring rota vol
spring rota vol(id)
Returns the torsion coefficients of the volume id.
spring rota vol(id)=stiff,visc
Changes these coefficients.
Note:
AIn dynamic animation volume id undergoes a torsional stiffness stiff
and viscosity visc.
spring roll
spring roll view(id)
Returns the spring of the roll of the view id.
spring roll view(id)=stiff,visc
Changes this spring.
spring vertex vol
spring vertex(s) vol(id)
Returns the coefficients of the spring attached to the vertex s of the volume id.
spring vertex(s)vol(id)=stiff,visc
Changes these coefficients.
Notes:
1) Dynamic animation if the volume id has a mass
or if its vertex s has a mass, its motion will be that of a spring of stiffness stiff viscosity visc.
2) If multiple vertices are equipped with a property spring, they interact automatically.
3) If a vertex has no property 'spring', it will be considered fixed.
4) See demo spring.
5) The stiffness is in the range of .01 to .2
6) The viscosity is of the order of at -0.00001 - .1
8) The mass is of the order of 0.1 to 1
See also: generate spring vertex vol.
spring vol
spring vol(id)
Returns the spring property of the volume id.
spring vol(id)=stiff,visc
Changes this property.
Notes:
1) Dynamic animation and the volume id has a masse
or if the vertices have masses,
its movement will be that of a network of springs stiffness stiff viscosity visc.
2) The stiffness is in the range of .01 to .2
3) The viscosity is of the order of at -0.00001 - .1
4) The mass is of the order of 0.1 to 1
See also: