An engine the somehow works (it is sorta glitchy sometimes though). if the resolution variable does not show up, turn off "fill triangle?" and then turn it back on. it has a very fast (well, maybe its not. There's only one triangle I guess) tri-filler that I made myself (with ideas from @thelogfather) you can use WASDQE to move around if this lags play here: https://turbowarp.org/512320180?hqpen
DISCLAIMER: This is not done and is a test at the moment. After it is done I will take away this disclaimer and I will make a game using it. That may be some time though. CREDITS: I think I got at least some code from @mathmathmath. idea for the infinity size for the sprite from @bobojoeho. @thelogfather @griffpatch @sbre2701 NEXT UPDATES: next I'm going to add rotation of the player UPDATE LOG: 4/7/2021: released and added a tri fill made by me (still needs LOTS of work though)! I also fixed a bug where the points were not connected in some circumstances. do still need to work on that bug a bit though. 4/8/2021: added WASDQE. also took out the tri filler because it was being buggy. added a new filler that works very well. it is more laggy though (I'll work on it). I also added resolution (size of the pen that draws the game). The resolution is automatically 3 if it is not filling the triangle. 4/9/2021: added velocity for movement 4/11/2021: Finally finished my 3rd try at a triangle filler with ideas from @thelogfather (the other one was laggy and didn't work that well). this new one fill at a steady 32 fps for me, but doesn't have as sharp edges. run it at resolution 1 for best output. the triangle filler will still be improved, but I will be working on rotation for now. 8/19/2021: added rotation of the triangle after fixing a bug which made the triangle not be completely filled while turning (took forever)