Over December I’ll be posting 100 fun insights in this thread from working on @triplex.dev in my free time for two (!) years. It’s the longest and largest side project I’ve worked on. Keep an eye out, will be a fun one! #threadapalooza #threadapalooza2024
Post
11. What helped me crack the shader was this article io7m.com/documents/ou... Super useful if you're looking to do something yourself. During the frame loop when something is selected it is given a specific layer, I then exclusively render objects that have this layer only to a texture and use...
12. That as the mask texture. Then it's just a matter of, where edges are found, draw a pixel! It works well, especially for anything that has its object obstructed by another object. Have only had great feedback about how it! One tricky thing is antialiasing. For now the line doesn't have any.
0 reposts0 likes
13. One of the headline features of Triplex is its powerful editing capabilities. This is powered by ts-morph by @dsherret.bsky.social, it’s fantastic. For a given component we analyse its JSX elements, and then we can analyze the types a JSX element takes. All exposed through a web socket API.