Animation made easy

  • Email
  • Sharebar
  • Email
2 replies [Last post]
Andy
Andy's picture
Offline
MathematicianTechnologistProfessional Blogger
Joined: 02/10/2010

There are three newly created animation commands (SPIN, TRAVEL and ORIENT), which make 3D animation really easy. I created these after contemplating for a long time. You may have some suggestions for me to improve or change these commands. If so, please reply to this thread.

1. SPIN: The SPIN command spins an object (or objects within a transform object) on an asix. 

Syntax: SPIN id direction cycleInterval

Description: Spin object with id as id,  in one of the six axes directions as direction,  with a loop cycleInterval. The direction is a Logo word and only in the twelve: right, rt, left, lt, tiltright, tr, tiltleft, tl, rollup, ru, rolldown, rd. The cycleInterval must be a non-zero positive number.

Example: 

2. TRAVEL: Travel an object according to a given path (a set of coordinates).

Syntax: TRAVEL id path cycleInterval

Description: Make the object id travel along a path. The path is a Logo list containing at least two coordinates. The cycleInterval specify the cycle time in seconds to travel. 

Example: 

3. ORIENT: Orient an object according to a given set of directions. This is a more complex and flexible way of changing orientation of objects than SPIN command.

Syntax: ORIENT id directions cycleInterval

Description: Make the object id orient with the given directions. The directions is a Logo list containing at least two directions. The cycleInterval specify the cycle time in seconds to orient.

Example: 

To remove these animation, you can use the following associated commands:

removespin id
rmspin id 
Remove the spin animation on object id.
removetravel id
rmtravel id 
Remove the travel animation on object id.
removeorient id
rmorient id 
Remove the orient animation on object id.

Ideas anyone?

BellaHamilton
BellaHamilton's picture
Offline
Joined: 04/01/2018
Thank you for sharing such

Thank you for sharing such useful animation commands!

I have already tried to use them, and I created animation much easy.

 

Regards,

Carol

mathskid
mathskid's picture
Offline
Joined: 09/07/2014
I really like the travel

I really like the travel command. I can see myself using it.