Dax Phyz logo

 

2.5D Physics Simulator

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).


Wedge.pzs
How to make an impression.

Dax Phyz wedge scene

Pong.pzs
One of the earliest video games, the 1972 classic Pong led to the start of the video game industry. Dax's version exploits Phyz Logics and soft constraints for an amusing mix of modern and antebellum gameplay. Use keyboard keys A,Z and K,M to control the paddles.

Dax Phyz Pong scene

Metaballics.pzs
A metaballic stew, cooked by chaotic cog-wheel driven pendula. Original artwork 125 times a second.

Dax Phyz metaballic stir scene

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").

Balancing hammer

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).

Dax Phyz balancing hammer scene

Babylonian.pzs
This model utilizes the continuous nature of Phyz Logics to implement the Babylonian method to compute the square root of 2.

Dax Phyz Babylonian scene

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.

Dax Phyz Gyro scene

Yoda.pzs
3.446 metaballic vertices with colour information imported from a bitmap. Replace Yoda's rods with springs (use the Edit menu) to cause a great disturbance in the force.

Dax Phyz Yoda scene

ChargeBall.pzs
Charged vertices connected by springs, exhibiting complex behaviour in their search of equilibrium under the influence of competing attractive and repulsive forces.

Dax Phyz ChargeBall scene

Magnets.pzs
Illustrating the similarities between electric and magnetic dipoles, and how several small dipoles can be combined to form a bar magnet.

Dax Phyz magnets scene

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.

Dax Phyz balloon scene

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).

Dax Phyz charge balloon scene

Rocket.pzs
Heated monatomic gas: Pressure from the force exerted by the "hot" vertices jettisons the rocket, as in kinetic theory.

Dax Phyz rocket scene

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.

Dax Phyz Carnot engine scene

SuspBridge.pzs
"Why are the towers so high?" Dax asked as we crossed the Great Belt Bridge on our way to Legoland. Watch the cable break when they're not.

Dax Phyz suspension bridge scene

SB.lzp
Measure the forces of the suspension bridge above. Start PhyzLizp, type (feval "SB.lzp") and press Control+Enter.

Dax Phyz PhyzLizp Lizp suspension bridge script

Stack128.pzs
Dax likes'em high, and usually isn't satisfied with less than 600 layers; here's a mere 128.

Dax Phyz stack scene

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.
Dax Phyz bandwagon scene

Catapult.pzs
The act of destruction is surprisingly satisfying for aspiring physicists.

Dax Phyz catapult scene

Cannon.pzs
The modern approach, equally educative.

Dax Phyz cannon scene

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).

Dax Phyz mechanical logic NOT gate scene

not_0_spring.pzs
A not-gate is also simple to implement with an actuator. In Phyz, springs can act as actuators.

Dax Phyz mechanical logic NOT gate (spring) scene

or_11.pzs
A mechanical or-gate. As usual, logic state is represented by position; left for 0 and right for 1.

Dax Phyz mechanical logic OR gate scene

and_00.pzs
A mechanical and-gate. Compare with the or-gate above.

Dax Phyz mechanical logic AND gate scene

xor_00.pzs
A mechanical xor-gate, constructed from or- and not-gates. The not-gates are implemented as actuators with amplifying buffers.

Dax Phyz mechanical logic XOR gate (exclusive-or) scene

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.

Dax Phyz mechanical logic XOR gate (alternative exclusive-or) scene

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.

Dax Phyz mechanical ms-latch (master-slave D flip-flop latch) scene

DigCount.pzs
Two flip-flops, some logic to add 1, some to display LCD-like digits and voilà - we have a 2-bit digital counter.

Dax Phyz mechanical digital counter scene

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.

Dax Phyz motor model

Superwalker.pzs
Strange creature which jumps and twists trying to pass obstacles.

Dax Phyz superwalker scene

InvPend-PL5b.pzs
An inverted pendulum, to illustrate how Phyz Logics can be used to control Dax Phyz and to create non-linear constraints. The PID controller tries to keep the inverted pendulum from tipping over by adjusting the power of the rocket motors.

Dax Phyz Inverted Pendulum

Gun.pzs
Demonstrating explosive sticks.

Dax Phyz gun scene

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).

Dax Phyz Shoot'em Up scene

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.

Dax Phyz PhyzLizp Shoot'em Up script

ElastColl.pzs
Elastic collisions. Or nearly so. The system's kinetic energy and momentum are decreasing even though friction is off, can you figure out why?

Dax Phyz ElastColl scene

Domino.pzs
The energy required to topple each domino is less than the energy transferred by each impact, causing a self-sustaining domino effect.

Dax Phyz domino scene

Ragdoll.pzs
However macabre, this 10.000+ item scene is used to regression test new Phyz versions for performance and determinism. The weight is super dense; using a spacing of 2 it weighs 1.181 verts. All in the name of ragdoll physics.

Dax Phyz ragdoll performance test scene

Convection.pzs
Forced advection. Or two mixers and some tubes, as Dax would have it. Select a vertex and try to predict its path.

Dax Phyz convection scene

Jessica Rabbit.pzs
The physical properties of this scene are similar to those focused on in the balancing hammer scene.

Dax Phyz Jessica Rabbit scene

Bomb3.pzm
This one packs some serious punch. Super-dense (spacing 1) ellipses and explosive sticks; with Breakable constraints enabled, holes are guaranteed.

Dax Phyz bomb model

Phyz.pzs
Soft-body metaballic letters on a chain with a weak link.

Dax Phyz Phyz scene

Windtunnel2.pzs
An aerofoil (or wing) in a wind tunnel demonstrates a kind of heat dependant lift. Compare with the balloon scene above.

Dax Phyz wind tunnel

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).

Dax Phyz Helicopter Cable

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.

Dax Phyz Accelerated Helicopter Cable

VirtGrav.pzs
Artificial gravity by rotation, acting on gaseous matter in an initial configuration of weightlessness.

Dax Phyz Virtual Gravity