-Read all- Needs to be in turbo mode to run faster, press shift and the green flag at the same time to turn on turbo mode. Press the green flag to start. The variables start of hidden, click the bottom left button to show or hide them. The variables on the right control each part of the quadrilateral. The gradient of the rays are the r1, r2, r3 and r4. The gradient of the edges are the m1, m2, m3 and m4 and the y-intercepts for the edges are c1, c2, c3 and c4. Key binds Q - Makes the quadrilateral 1 - First edge 2 - Second edge 3 - Third Edge 4 - Fourth edge R - Just the rays E - Just the edges B - Both the rays and edges Pre-sets (Press key to change all variables) Up arrow - Trapezium Right arrow - Parallelogram Left Arrow - Tilted rhombus (like parallelogram but edges are roughly the same length) Down arrow - Completely irregular quadrilateral Space - Square but on an angle since I can't have vertical lines.
I got this idea to graph these shapes using equations from one of Matt Parkers recent videos, on his youtube channel Stand-up Maths, called Is there an equation for a triangle? Link - https://www.youtube.com/watch?v=4K-Jx914NcQ If you want to know more about the maths behind it I recommend you go and watch the video. After making the equation for a triangle I thought why stop there? So, I made the four sided version, which is a bit useless since you can already make quadrilaterals, but never with this amount of freedom.