always_rotate

Help Contents ZoomRotate always_rotate
ZoomRotate fly

always_rotate


automatically rotates the drawing, if :phiIncrement is not zero.

To reset the position when lost press return.

To end zoomRotate press escape.

Note that the keys will be recognized only when the plane or output window has the key focus.

to always_rotate
	make "running "true

	while :running
	[
		make "phi :phi+:phiIncrement

		if not (:phiIncrement=0)
		[
			if :phi > 360 [make "phi :phi-360]

			updateView
		]
		checkKeys
	]
end

Example:

Reference:

ZoomRotate fly