In p5.js there appears to be a problem drawing using TRIANGLE_FAN in that the stroke does not show the radial links but TRIANGLE_STRIP shows all the triabgle outlines. I think this is caused by WEBGL drawing the stroke between the vertices as they are specified.
7 сен 2024