Scenes, Models and Scripts
Everything you create in
Dax Phyz can be saved to file, copied to the clipboard, cut, duplicated, exported, pasted, loaded or imported as a
model or
scene.
To use one of the models
or scenes below, you can either save
it
as a file and use File/Open, or you can copy the text of the model
to the Windows Clipboard and use Edit/Paste.
Use the
F5 key to make the model come alive (turn physics on).
Hammer.pzs
Real or fake? The counter-intuitive
answer can be demonstrated in Phyz (this didn't convince Dax,
however, since "Phyz is only a program").
|
|
Hammer.pzs
The hammer's centre of mass is displaced from its
rotational axis, creating a torque which keeps the ruler
from rotating (this didn't convince him either).
|
|
Gyro.pzs
Imagine a disc viewed from its side. If the disc is spinning, a point on the left side
will rotate to the right side after half a revolution, shifting
momentum
causing a
gyroscopic
effect counteracting
torque
around the Z axis.
Although Dax Phyz is 2D, a spinning disc can be simulated using Phyz Logics to continuously swap the positions
of left and right vertices.
|
|
ChargeBall.pzs
Charged vertices connected by springs, exhibiting complex
behaviour in their search of equilibrium under the influence
of competing attractive and repulsive forces.
|
|
Magnets.pzs
Illustrating the similarities between electric and magnetic
dipoles, and how several small dipoles can be combined to
form a bar magnet.
|
|
Balloon.pzs
"Why am I lighter in the water?" Dax asked after a
recent swimming lesson. Dax, like balloons, floats since
there are more particles pushing on the bottom than on the
top, as in
buoyancy. Sink it by deleting a vert.
|
|
Balloon2.pzs
Same-signed
charges repel one another, a fact used to
inflate this balloon until it floats. Too much charge and it
pops in a satisfying way (turn Breakable constraints
on).
|
|
Rocket.pzs
Heated monatomic gas: Pressure from the force exerted by the
"hot" vertices jettisons the rocket, as in
kinetic theory.
|
|
Carnot.pzs
Gas is "ignited" periodically by the hot section of the
flywheel, causing the closed system to go through the states
of a
Carnot cycle.
|
|
SB.lzp Measure the
forces of the suspension bridge above. Start PhyzLizp, type (feval "SB.lzp") and press
Control+Enter.
|
|
Stack128.pzs
Dax likes'em high, and usually isn't satisfied with less
than 600 layers; here's a mere 128.
|
|
Bandwagon.pzs A chain wrapped around two rocket-propelled wheels. Because of the large "area" of contact, the band can climb over obstacles much better than standard wheels. |
|
Catapult.pzs
The act of destruction is surprisingly satisfying for
aspiring physicists.
|
|
Cannon.pzs
The modern approach, equally educative.
|
|
not_0.pzs The simplest
logic gate in Dax' mechanical computer, with a spring driver to try
it out. Select the spring and adjust its rest length from 20 to 60 to change its input from logical 0 (left) to logical 1 (right).
|
|
or_11.pzs A mechanical or-gate. As usual, logic state is represented by position; left for 0 and right for 1.
|
|
and_00.pzs A mechanical and-gate. Compare with the or-gate above.
|
|
xor_alt.pzs An alternative implementation of the xor-gate,
based the observation that A XOR B is TRUE iff A != B. The resulting device is 7 times less complex than the NOR-based version.
|
|
ms-latch.pzs A mechanical master-slave edge-triggered D
flip-flop with
clock, created by connecting two gated D latches in series, and inverting the enable input to one of them.
In total, eight NAND gates (AND followed by NOT) are used.
|
|
Motor.pzm An example of how springs can be used as meters and actuators. Two "meter" springs with k=d=0 measures distances; two "actuator" springs applies suitable forces, proportional to the meter springs. Tweak the k and d parameters of the actuators to make the motor stronger or weaker.
|
|
Superwalker.pzs Strange creature which jumps
and twists trying to pass obstacles.
|
|
Gun.pzs Demonstrating explosive sticks.
|
|
ShootEmUp.pzs
A 10-round revolving gun on wheels. With the PhyzLizp
script below running, use the arrow keys
to move the gun and Enter to
fire. Count the number of remaining verts to keep score
(lower is better).
|
|
ShootEmUp.lzp A
PhyzLizp
script to control the gun above. With Phyz running the
scene, start PhyzLizp, type (feval "ShootEmUp.lzp")
and press Control+Enter. Or
simply start ShootEmUp.exe in
this package.
|
|
Domino.pzs
The energy required to topple each domino is less than the
energy transferred by each impact, causing a self-sustaining
domino effect.
|
|
Convection.pzs
Forced
advection.
Or two mixers and some tubes, as Dax would have it. Select a vertex and try to predict
its path.
|
|
Bomb3.pzm
This one packs some serious punch. Super-dense (spacing
1) ellipses and explosive sticks; with Breakable
constraints enabled, holes are guaranteed.
|
|
HeliString.pzs
A helicopter is flying horizontally at constant speed; how does a cable suspended
beneath it hang, not neglecting air friction?
Use the rocket (at the end of the cable) to simulate a hanging weight (rocket angle -90) or a parachute (angle 0).
|
|
HeliString4c.pzs
Because of the Galilean principle of relativity
constant speed with air friction is equivalent to constant acceleration without
[as far as the shape of the cable in the HeliString scene above is concerned].
Simulating constant acceleration can be tricky, since the objects tend to fly away.
Thanks to Phyz Logics, we can repeatedly reset the test object's position.
|
|