Jump to content

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...