THREE.MeshLine build-in?

Is this https://github.com/spite/THREE.MeshLine
part of Threejs nowadays… or must it be added “on top” of it?

Cheers

see https://threejs.org/examples/webgl_lines_fat.html

It’s not in the core but in the examples.

Uber!

I´m still looking for a good example how to animate those lines - aka making an animated ribbon out of it? There isn´t a Threejs example as well?

There is no example for this. One simple approach to animate a line is to use maxInstancedCount of the respective geometry object:

https://jsfiddle.net/f2Lommf5/10572/

Not sure this helps for your use case.

1 Like