More fun making deterministic things stochastic with Marcos Fajardo, here with noise functions: https://diglib.eg.org/handle/10.2312/sr20231141
Fast Procedural Noise By Monte Carlo Sampling

@mattpharr I think there’s a typo in eq 4. The first two "and" clauses should be swapped with bottom two, no? Algorithm 1 does it the correct way around.
@ssylvan doh! Thank you. Updated version should be posted in a bit.
@mattpharr I immediately jumped to: Can a neural network be trained to do this?