smish.dev
index
Complicated Pendulum

Deriving and simulating the equations of motion for a rocking arc with a rolling disk, a hinged pendulum and springs, using Lagrangian mechanics and building the system up one body at a time.



Chessboard Patterns

An interactive application for exploring the different chessboard patterns described in a Numberphile video.


Minimum Cost Flow

An interactive minimum cost network flow demo: adjust the supply and capacities with sliders and HiGHS (compiled to wasm) instantly re-solves the routing.


 


Sum Factorization in FEM

A description of the sum factorization trick for finite elements and the conditions for when it can be used effectively.






 


Triply-Periodic Surfaces

A reference containing information about periodic surfaces suitable for infill structure in 3D printed parts.


 



Mesh Coarsening

An algorithm for coarsening simplex meshes, to enable multigrid methods with unstructured meshes.



Visual Proof: Sum of Squares

Gauss is said to have found an elegant visual proof for summing integers. Does a similar idea work for summing perfect squares?

 


Coffee Cup Vibrations

What sound does a coffee mug make when you tap it with a spoon? In this post, we write a small 2D finite element code in Mathematica to simulate a coffee cup vibrating.