Skip to content

Instantly share code, notes, and snippets.

@zamfi
Created September 3, 2021 23:49
Show Gist options
  • Save zamfi/1414ddbd9bdf2ea58662d100cc7ae057 to your computer and use it in GitHub Desktop.
Save zamfi/1414ddbd9bdf2ea58662d100cc7ae057 to your computer and use it in GitHub Desktop.
rect(70, 70, 200, 200);
rect(width/2 - 100, height/2 - 100, 200, 200);
var offset = 100;
rect(width/2 - offset, height/2 - offset, offset*2, offset*2);
offset = 90;
rect(width/2 - offset, height/2 - offset, offset*2, offset*2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment