I have this 3D production presentation and it has a couple of hoses and cables. I’d love to depict the flow of electricity, water and another substance in these hoses. I would have to be in 3D space somehow because the user can tumble and orbit around the product.
I’m thinking about something along the line of marching ants, a dashed line offsetting, arrows offsetting, or a gradient moving or something similar. Any ideas are helpful!
I’m not sure on where to start here. Would this be done with an animated texture, or moving 3D objects, or 2D canvas/SVG bezier with stroke effects or whatnot. Has anyone got any input?
Here are some reference material in different directions:
It shouldn’t be too expensive. I have a feeling that calling material.update() is note required if you just update the offset/tiling of a texture. Try it and see. Also, you can avoid allocating the Vec2 objects on every update by doing: