News for hackers. Stuff that matters.
Re: by ge96 on Wednesday November 19, 2025 @11:46AM (#45981735)
Oh one question I have, when I messed around with ThreeJS line width was a problem, these curves look pretty nice/thick on mac, maybe that was updated recently. (lines as in orbit path)

ThreeJS is awesome btw, I exported a GDB file I think from a CAD program and imported it into ThreeJS/able to animate each part pretty cool.

Re: by thomasikzelf on Wednesday November 19, 2025 @12:28PM (#45982227)
You might be using the webgl lines (LINE_STRIP), those are always thin. The other way is to build a mesh that looks like a line (which Three.js also has functions for). select the line type here to see the difference: https://threejs.org/examples/?q=lines#webgl_lines_fat
Re: by ge96 on Wednesday November 19, 2025 @01:17PM (#45982896)
oh yeah those look great
Re: by jgchaos on Wednesday November 19, 2025 @01:15PM (#45982848)
I'm using https://threejs.org/docs/#Line2 which does support variable thickness - you can change this via the Trail Thickness slider. I think older versions did have some issues with line width.