I'm happy with the progress and the results that I'm getting.
It is the next iteration of https://troido.nl/drainage/
The time complexity is `n*log(n)` where `n` is the number of nodes (approximately `(size / nodesize)^2`)
I made a new version of Cadastre.
The old Cadastre was a messy python script most of which I wrote in a single afternoon.
The new version is a a Haskell rewrite.
It runs much faster than the python version.
Public parcels, which never actually worked in the old version ,now work properly.
See also:
https://tilde.town/~troido/cadastre/
https://tilde.town/~troido/cadastre/town.html
https://github.com/jmdejong/cadastre https://tiny.tilde.website/media/DrqFsSofMpZDIzw-mws
I made another tiny javascript game, this time a simplified clone of pong.
Play here: https://tilde.town/~troido/picopong.html
Sourcecode:
<body onload=b=p=d=2;setInterval(`s='';d^=2*(b%8<2|6<b%8)+16*(72<b|b==p);b+=d-9;for(i=80;i--;)s+=i%8?i^b?i^p?'.':'_':'o':'\\n';c.innerHTML=s`,200) onkeydown=p+=event.which%2?p<7:-(1<p)><pre id=c>
I still have to figure out what dimensions of the box to use for the most interesting gameplay.