ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: drawColouredSurfParamCurves

drawColouredSurfParamCurves(S) plots the surface parameter curves S in the current 3D visualization window. S is created by the createSurfParamCurves function.

Examples: surf ≔ createSurfParamCurves("❨x, y, sin(sqrt(x^2 + y^2)), hsv(x^2 + y^2, 1, 1)❩", "x, y", -10, 10, -10, 10)
          drawColouredSurfParamCurves("surf")

          // Superposition of water waves (without attenuation...)
          ψ ≔ "r" ↦ "sin(4⋅norm(❨2, 2❩ − r))/6"
          Φ ≔ "r" ↦ "sin(4⋅norm(❨0, 0❩ − r))/6"
          S ≔ "r" ↦ "ψ(r) + Φ(r)"
          set ≔ createSurfParamCurves("❨x, y, S(❨x, y❩), hsv(90 − 270⋅S(❨x, y❩), 1, 1)❩", "x, y", -10, 10, -10, 10)
          drawAxes3(1)
          drawColouredSurfParamCurves("set")