# live coding demo # this file is read by livecode.pf in the drawing loop # some shortcuts : [[ m-push ;; : ]] m-pop ;; # [[ 10. transz 0 light ]] 2. scale frame @ >float dup .13 / rotx dup .14 / roty dup .15 / rotz drop ((1. 1. 1. 1.)) >matrix color # colour + triangle using drawing arrays ((1. 0. 0. 1. 0. 0.) (1. 1. 0. 0. 1. 0.) (1. 1. 1. 1. 1. 0.)) >matrix "c3v3" triangles