AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: drawColouredLines3

drawColouredLines3(S) plots the point set S in the current 3D visualization window and connects the points. Each vector in S needs to be a four-dimensional vector (SIC!), where the forth component is the colour code of the pixel.

Compare: drawColouredSet3, and drawLines3.

Examples: Draw a coloured circular helix
          helix ≔ createImage("❨3⋅cos(t), 3⋅sin(t), t/2, hsv(10⋅t, 1, 1)❩", "t", [-30, 30, 0.01])
          drawColouredLines3("helix")