Features

From Sodawiki

(Difference between revisions)
(Sine Wave)
 
(2 intermediate revisions not shown)
Line 5: Line 5:
== Springs ==
== Springs ==
-
What holds the masses of a model together. Their physics are governed by Hooke's Law, as such, where l is the rest length of the spring and k is Hooke's constant ([[:
+
What holds the masses of a model together. Their physics are governed by Hooke's Law, as such, where l is the rest length of the spring and k is Hooke's constant ({{See_Below|Subs=K}})
http://upload.wikimedia.org/math/9/6/2/96254b97b50b39f8d6a6c1f675933ff8.png
http://upload.wikimedia.org/math/9/6/2/96254b97b50b39f8d6a6c1f675933ff8.png
Line 27: Line 27:
== Muscles ==
== Muscles ==
-
A subdivision of Springs, these expand and contract according to the Sine wave, by changing the rest length of the spring.
+
A subdivision of springs, these expand and contract according to the Sine wave, by changing the rest length of the spring. ({{See_Below|Subs=Sine Wave}})
 +
 
 +
== Bar Springs ==
 +
 
 +
Another subset of springs, these are solid and masses will bounce off of them. However, masses and other springs will not. Crossed bar springs can lead to glitchy and useful results.
 +
 
== G ==
== G ==
Line 43: Line 48:
Hooke's constant in the applet. It determines the "springiness" of springs.
Hooke's constant in the applet. It determines the "springiness" of springs.
 +
 +
== Sine Wave ==
 +
 +
This wave determines the length of muscles. It changes every step, and its amplitude/ frequency/ speed can be adjusted easily. There are four lines on it that mark off quarters of the line.
 +
 +
[[Category:Lists]]

Current revision as of 01:44, 5 June 2007

Contents

[edit] Masses

A dot found at each end of each spring or alone. They are the only things in Sodaconstructor with mass. Masses have two subtypes: Fixed and Free. Fixed masses can only be moved by the user directly. Free masses can be moved by anything.

[edit] Springs

What holds the masses of a model together. Their physics are governed by Hooke's Law, as such, where l is the rest length of the spring and k is Hooke's constant (See Below )

96254b97b50b39f8d6a6c1f675933ff8.png

For mass 1:

xv2 = xv1 + n * (x1 − x2)

yv2 = yv1 + n * (y1 − y2)

For mass 2:

xv2 = xv1 − n * (x1 − x2)

yv2 = yv1 − n * (y1 − y2)


Once created, a spring can not change restlength.

[edit] Muscles

A subdivision of springs, these expand and contract according to the Sine wave, by changing the rest length of the spring. (See Below )

[edit] Bar Springs

Another subset of springs, these are solid and masses will bounce off of them. However, masses and other springs will not. Crossed bar springs can lead to glitchy and useful results.

[edit] G

Gravity in the sodaplay applet. Every step, vertical velocity is incremented by the gravity, or decremented if reverse gravity is on.

It is between 0 and 4 in the xml file.

[edit] F

The friction coefficient. Each step, all mass speeds are multiplied by (1-f).

Its value is between 0 and 1.

[edit] K

Hooke's constant in the applet. It determines the "springiness" of springs.

[edit] Sine Wave

This wave determines the length of muscles. It changes every step, and its amplitude/ frequency/ speed can be adjusted easily. There are four lines on it that mark off quarters of the line.

Personal tools