• npm install canvas-sketch-cli -g
  • canvas-sketch folder/file.js

Using canvas-sketch API, shaders( http://sdz.tdct.org/sdz/les-shaders-en-glsl.html ) vertex et fragment

If not using a sphere we need to calculate normals for each of the points of the LineSegments material.