Jump to content

Infinite animation


plazadelmar

Recommended Posts

@plazadelmar
https://mathcurve.com/courbes2d.gb/gerono/gerono.shtml
https://gamedev.stackexchange.com/questions/43691/how-can-i-move-an-object-in-an-infinity-or-figure-8-trajectory
Have Fun
Top/detail

int prim = addprim(0,"polyline");
float u;
int npt = chi("npt");
    for (int i;i<npt;i++){
    u = 6.28*float(i)/(npt-1);
    
    vector pos = set(cos(@Time+u),sin(@Time+u),
    sin((u+@Time)*2));
    addvertex(0,prim,addpoint(0,pos));
    
    }

Infi.hiplc

 

grwww0850dsssssdddf.gif

grwww0850dsssssdddff.gif

Edited by Librarian
  • Like 4
  • Thanks 1
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...