How long does it generally take for

How long does it generally take for transpilation to finish? https://tscircuit.com/zalo/XIAO_ESP32S3_SENSE I notice the auto-generated readme still says import { XIAO_ESP32S3_SENSE } from "@tsci/zalo.untitled-package-1" despite renaming the module... (I didn't see a way to name it before committing 😅 )
13 Replies
Seve
Seve4w ago
haha yea sorry our servers are dying it should take less than two minutes
zalo
zaloOP4w ago
No worries; good luck resurrecting them!
Seve
Seve4w ago
@DOPΣ i guess we don't have a refresh button for the generated readme, maybe we never had this
No description
Seve
Seve4w ago
context on servers dying: we added image generation to our backend which does 3d rendering and yea, causes lots of issues. Will be upgrading things today
zalo
zaloOP4w ago
I admire the gumption in trying to roll a custom 3D renderer 😅 For baking 3D Models to SVG's, I'd have probably used this repo: https://github.com/gkjohnson/three-edge-projection/
GitHub
GitHub - gkjohnson/three-edge-projection: Visible geometry edge pro...
Visible geometry edge projection and flattening based on three-mesh-bvh. - gkjohnson/three-edge-projection
Seve
Seve4w ago
that looks awesome
zalo
zaloOP4w ago
(I've used his BVH and CSG systems in other projects; he's probably got the fastest system for it with the spatial acceleration structures... and you get to keep the advantages of three.js 😄 )
Seve
Seve4w ago
hehe i mean we would have loved to use threejs, but the main reason we built the renderer was because threejs can't be rendered on server/in js natively which sounds weird but yea, you need a browser to use threejs your package built, no idea why it didn't build the first time because the servers were kind of ok. I'll have to look into that
zalo
zaloOP4w ago
This package is all CPU -> Vector art in JS (if vector/SVG is required), so it doesn't need any of the WebGL/WebGPU stuff. The raw BVH lib could also raytrace low-res pixel thumbnails on the CPU pretty quickly if bounces are turned down to 1.. Is the issue just with the GL contexts?
Seve
Seve4w ago
yea i believe so that's very very very interesting
DOPΣ
DOPΣ4w ago
Yeah I suggested it before, but I was unable to find any specific endpoint, I'll check it its working now
Seve
Seve4w ago
❤️

Did you find this page helpful?