Field notes / Simulation

Five PGSX simulations you can touch

Spin a lantern, brew a pour-over, sink a free throw, set a double pendulum loose and make waves cancel: five PGSX simulations to try in your browser.

Four PGSX simulations side by side: three pierced brass lanterns throwing light on a wall, a basketball arcing into a hoop, a pour-over coffee bench mid-pour, and ripples spreading from two slits

The Simulation page is no longer only words. It now has things you can play with, in your browser, with nothing to install. This note is a short tour of each one: what to try, and what it shows about the work PGSX does.

Spin the light: a lantern showcase

Pick a lantern, an arrangement, a warmth and a brightness, then spin the lanterns and watch their light travel round the room. Brass throws sharp stars, rattan throws a woven glow, and paper glows all over. One rule keeps every combination real: a pierced brass trio is too heavy for one ceiling fitting, so it is never offered.

Three pierced brass lanterns in a row, throwing star-shaped spots of warm light across a dark wall and floor
Three pierced brass lanterns in a row, warm 2700 K.

That is what a product showcase is for: a customer builds what you can actually make, and sees it before they ask.

Spin the lanterns

Learn it by doing it: a pour-over trainer

Five steps, in order, against the clock. Rinse the filter, add the coffee, bloom it, pour slowly, serve. Hold to pour, and the kettle tips further the longer you hold, so a long pour floods the cone. Pick a step too early and the module tells you why, then lets you carry on. At the end you get a score out of 100 and the one thing to practise.

A pour-over coffee bench: a gooseneck kettle pouring into a ceramic cone on a glass carafe, on a scale reading 29 grams
Mid-bloom: the scale and the brew clock count as you pour.

A training module works the same way for a real procedure: your steps, your checks, your scoring.

Brew a cup

Physics you can poke: the physics lab

The physics lab has a page of its own, with three experiments. Every number it shows comes from the simulation itself, and Show the maths puts the formulas beside them when you want them.

Gravity, and a free throw

Drag out a planet and let go to send it into orbit, round a sun in a slingshot, or into it. Then switch to Hoop shot: near the ground, gravity pulls the same way everywhere, so a thrown ball follows a curve called a parabola. Drag back to aim and set the power, and the ball bounces off the rim and the backboard as it would on a court. The lab will tell you something real players know: a flat shot clips the rim, and from a free-throw line it takes about 51° or steeper to drop in clean.

A basketball's dotted flight from the free-throw line, arcing to a top of 3.82 metres and dropping through the hoop
55° at 7.29 metres a second: nothing but net.

Take a free throw

Springs and pendulums

Pull a weight on a spring and let go, and watch energy trade between motion, stretch and height. Swing a pendulum and the lab measures its period against the exact formula. Then hang one pendulum from another and add a twin started a thousandth of a degree away. Within seconds they go their separate ways. That is chaos.

Two double pendulums on a dark grid, one solid and one faint, tracing tangled coloured paths after starting almost exactly together
A double pendulum and its twin, a thousandth of a degree apart at the start.

Set a pendulum loose

Waves

A ripple tank. Drop sources in the water, or send a straight wave through one slit or two. Where crests meet crests the water rises higher; where a crest meets a trough they cancel. Turn on the maths and the lab measures where the first dark band falls, next to where the textbook puts it.

A ripple tank seen from above: straight waves meeting a wall with two slits, and the rings spreading from the slits crossing each other
A double slit: the rings from the two gaps add up and cancel out.

Make waves

What these are for

Each of these is a small demonstration of something PGSX builds to measure:

  • Product showcases that only offer what you can really make.
  • Training modules that teach by doing and explain mistakes.
  • Physics simulations for classrooms, museums and products that need explaining.

They all work with a mouse, a finger or a keyboard, read their numbers out to screen readers, hold still for anyone who prefers less motion, make no sound, and store nothing.

If you have an idea people should be able to see, try or learn, start with the Simulation page, or just get in touch.

See the Simulation page

About the author

Jacob Alan Strange (StrangeBoltz) is an independent developer building PGSX: Precision Guided Simulation eXperiences, from games and apps to utilities and simulations.

About Jacob