The polygon is created after the JavaScript has loaded, so that should be expected. It's a FOUC thing.   Demo with updated syntax.   See the Pen BaJWKXQ by GreenSock (@GreenSock) on CodePen     Demo using predefined points.   See the Pen ZEveWgo by GreenSock (@GreenSock) on CodePen    
    • Like
    3