Page 1 of 1

Simple Animation

Posted: Mon Mar 27, 2017 1:00 am
by aronb
Hi,

I am trying to make a simple animation, but using the schedule method.

I need to see the object in the view window, and also get the outputs from the Ruby module at a regular time - say 1 to 50 times a second. In this example the dot should simply move diagonally down fro the top left to the bottom right... Of course with other equations I could make the dot move in a circle, or in a line, etc.

Can someone take a look at my schematic please and see what I am doing wrong :? ?

Animation_Test.fsm
Not Working
(137.93 KiB) Downloaded 885 times


Thank you for any help or guidance you can give.

Aron

Re: Simple Animation

Posted: Mon Mar 27, 2017 5:39 am
by aronb
Hi,

I think I figured it out. :shock:

Animation_Test_ Working.fsm
Simple Timed Animation
(199.88 KiB) Downloaded 1005 times

Here is a simple timed animation system. Put whatever you want in the animate section, calculate the steps based on the position.

Of course you could also use this for a super slow oscillator too ;)

Aron