I have an unfinished trails example in my project directory. It might be a start for you. Or, you can wait until I find the time to finish it. [Perhaps days or weeks from now due to my day job and night classes.]
--
TAZ
Use up arrow to move and side arrows to turn.
for t = 2 to 20
make object triangle t, 0,0,0, 1,1,0, 0,1,0
make object triangle t+20,0,0,0, 1,0,0, 1,1,0
next t
make object cube 1,2
sync on
do
for t = 2 to 20
if leftkey()=1 then a#=a#-5
if rightkey()=1 then a#=a#+5
a#=wrapvalue(a#)
if upkey()=1 then x#=newxvalue(x#,a#,1):z#=newzvalue(z#,a#,1)
position camera x#+10,10,z#-10:point camera x#,0,z#
position object 1,x#,0,z#:yrotate object 1,a#
position object t,x#,0,z#
position object t+20,x#,0,z#
next t
sync
loop
end