I want to generate a grid that can change color, line thickness, and density as shown in the following figure. How can I use Babylon to achieve this?
You may use Grid material - Grid Material | Babylon.js Documentation
Other alternative - to use Node material like Babylon.js Node Material Editor
3 Likes
Thank you for your answer, but the grid material cannot change the width of the lines. Did I not find a relevant method?
Cool template That looks perfect to me. 90% of the job is already done
What about the MeshLine created by Roland?
BabylonJS MeshLine - a port of THREE.MeshLine - Demos and projects - Babylon.js
2 Likes
… and if you need a trail animation for some reason:
That’s great. That’s the answer I need. Thank you!