Not everybody left their jobs during the Great Resignation, and for those still on the job — from teachers to servers to office workers — the situation sucks.
Welcome back! Rust is a very powerful programming language used by tons of different companies, including Google! Let’s go ahead and see what projects Google actually uses Rust for. Now, the process…
Introduction This is a variant of a similar past problem: draw something interesting, using a sequence of joined straight line segments, without ever lifting your pen. Or in this case, with one continuous thread. As far as I can tell, the first realization of this particular idea was in 2016, when artist Petros Vrellis [1]…
Wave Function Collapse is a procedural generation algorithm which produces images by arranging a collection of tiles according to rules about which tiles may be adjacent to each other tile, and relatively how frequently each tile should appear. The algorithm maintains, for each pixel of the output image, a probability distribution of the tiles which may be placed there. It repeatedly chooses a pixel to “collapse” - choosing a tile to use for that pixel based on its distribution. WFC gets its name from quantum physics. The goal of this post is to build an intuition for how and why the WFC algorithm works.