Skip to content

Instantly share code, notes, and snippets.

@MaBecker
Created December 1, 2019 13:44
Show Gist options
  • Save MaBecker/9f5b0d040b6a12c451d72c7063982f77 to your computer and use it in GitHub Desktop.
Save MaBecker/9f5b0d040b6a12c451d72c7063982f77 to your computer and use it in GitHub Desktop.
Sample for complex paths that are not rendered as expected in 2v04 build 250
var flake1 = [114,120,126,120,126,150,150,168,144,180,126,168,126,192,114,192,114,168,96,180,90,168,114,150,114,120];
var flake2 = [114,20,126,20,126,50,150,68,144,80,126,68,126,92,114,92,114,68,96,80,90,68,114,50,114,20];
g.clear();
g.drawPoly(flake1);
g.fillPoly(flake2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment