Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
falsifian
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
falsifian
2y ago
If you want an example, I wrote a blog post about this a few years ago: https://www.falsifian.org/blog/2021/06/04/catalytic/ Alternatively, Ian Mertz's survey might be a bit more accessible tha
2.
▲
by
falsifian
4y ago
Yes, I'm using it with notmuch, and it works reasonably well. A couple of caveats: - If you want to save outgoing mail, you need to include your own mail-sending script (mine is below). This is because aerc treats the notmuch backend a
3.
▲
by
falsifian
5y ago
Sorry! It is because I was too lazy to figure anything else out. To be honest I usually used my browser's zoom functionality to make it bigger while debugging, and you can too. Changing the aspect ratio would require some code changes,
4.
▲
by
falsifian
5y ago
Yes. (This has to be the case because I'm drawing everything with triangles in WebGL.)
5.
▲
by
falsifian
5y ago
That is one of my fantasies, if I had enough time. Apply different rules to different regions of space.
6.
▲
by
falsifian
5y ago
I am grateful for the idris2-dom library by Stefan Höck: https://github.com/stefan-hoeck/idris2-dom/ . It covered most of the web APIs I used. I'm using the WebGL API pretty directly, though. So if it were mi
7.
▲
by
falsifian
5y ago
Thanks! There is a little bit of CSS. And I would have gone for no javascript, but unfortunately in this case that's the whole point.
8.
▲
by
falsifian
5y ago
This demo is actually fairly close to showing you a hypercube. The six rooms in the house form six cells of the hypercube. You can make one more cube by joining up the tops of the walls: that cell is always above you. And finally, there wou
9.
▲
by
falsifian
5y ago
Another thing maybe worth mentioning: the magnitudes matter when GL is doing interpolation, which is especially noticeable when there are textures. That is, if you scale just one of the three points of the triangle, e.g. (1, 0, 0, 1), (0, 1
10.
▲
by
falsifian
5y ago
The 4D coordinates are almost treated as ratios. (x,y,z,w) = (tx,ty,tz,tw) when t is positive, but if t is negative it's a different point. This happens to work with (Open/Web)GL. Here's my understanding of why. Say you tel