image

Help Contents Turtle Graphics image
home forward

image


will be called when the turtle is moved or rotated.

Definition:

to image
	if :showit
	[ 
		make "shape triangle :pos :ang
	]
end

It`s easy to overload the definition for every turtle object that you have.

For example you can make a round turtle shape for a fat cat:

to cat.turtl.image
	if :showit
	[ 
		make "shape circle :pos 10
	]
end

The example is a snip from the catdog example.

Examples:

References:

home forward