Picotron Playground -- an experimental web-based edition of my WIP Fantasy Workstation -- is OUT NOW! It includes a code editor and terminal program for poking around some demos of the #picotron API and runtime.

https://lexaloffle.com/bbs/?tid=50923

Picotron Playground

@zep tline3d documentation is incorrect!
doc:
tline3d(src, x0, y0, x1, y1, u0, v0, u1, v1, [w0, w1])

code (works):
tline3d(src, x0, y0, x1, y1, u0, u1, v0, v1, [w0, w1])

this is inconsistent with x/y parameters ordering!

@fsouchu @zep
Oof. I smell a code bug, not a docu bug.

@fsouchu The documented order is indeed the intended one (u0, v0, u1, v1) but I might have a blind spot for why the behavior is wrong. e.g. why does this work in highway.p64?

tline3d(ss, sx, 270, sx, 50, (x+vx*z0)/z0, (y+vy*z0)/z0, (x+vx*z1)/z1, (y+vy*z1)/z1, 1.0/z0, 1.0/z1)

@zep don't get either, coords look ok - also I don't get why my version is totally broken regarding sub-pixel precision vs. "manual" texturing