Interactive 3D world for level 4.6. Hold Control or Command and drag to orbit or scroll to zoom. Touch users can drag or pinch.

Ctrl / ⌘ + drag to orbit · Ctrl / ⌘ + scroll to zoomDrag to orbit · Pinch to zoom

LESSON 4.6

Functions in Variables

A lambda is an unnamed function stored in a variable: inmut triple = (n: Int32): Int32 => n * 3; . Call it like any other function.

Goal Make the part triple 5 and 2, printing 15 and 6 .

Write a Zirk program, then run it to see the world react.
Sound unavailable in this browser