Jump to content
Sign in to follow this  
Czar

smartcl.effects

Recommended Posts

Suggestion - the fxmove etc are very good - easy to use. However, there doesn't appear to be a simple rotation effect. You can go the whole rotation system using TW3RotateCSSAnimation however, if you simply want to adjust the angle a bit, like a rocking boat of swaying palm trees then you appear to have to make your own. 

 

procedure TForm1.RockBoat;
begin
  visual.boatangle := visual.boatangle +0.2;
  visual.boatimg.Angle := sin(visual.boatangle);
  TW3Dispatch.Execute( procedure begin RockBoat end, 75);
end;

2018-09-12_11-53-55.gif

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×