ⓘ 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: drawColouredPlane

drawColouredPlane(S) draws the coloured plane S in the current 2D visualization window. The set S is created by the createColouredPlane function.

Example:
         Superposition of two water waves.
         ψ ≔ "r" ↦ "sin(4⋅norm(❨2, 2❩ − r))/6"
         Φ ≔ "r" ↦ "sin(4⋅norm(❨0, 0❩ − r))/6"
         S ≔ "r" ↦ "ψ(r) + Φ(r)"
         waves ≔ createColouredPlane("hsv(90 − 270⋅S(❨x, y❩), 1, 1)", -10, 10, 0.1, -10, 10, 0.1)
         drawColouredPlane("waves")