This is a [parametric] equation of mine. Sit back and enjoy! :) Feeling antsy? Hit space to draw faster! *May be buggy. Note, this is one equation. Unfortunately, I had to split it up into multiple custom blocks because otherwise Scratch would crash. A change block is the same as addition. An explanation is at the bottom of "Notes and Credits". Development Time: ~6 days
Previous Pen Equation Projects Mushroom: https://scratch.mit.edu/projects/11014628/ Acorn: https://scratch.mit.edu/projects/3069340/ -(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()- Credits: 1). The composer of the British royalty song! 2). Leonardo da Vinci for the painting of Mona Lisa! 3). Scratch of course. ;) -(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()-(*)-()- How did I make this equation?? I'm first going to start from the bottom and build upwards. One of the most interesting equations I have ever found is: abs(T)/T Now what is this equation? It measures the sign of T. So if T is 2, abs(T)/T is 1. If T is -9876, abs(T)/T is -1. It's like a switch once you think about it. A twist on this equation is substituting for T with abs(T-a)-b. Hence, we get (abs(abs(T-a)-b))/(abs(T-a)-b). How is this important? It looks confusing... It's important because, by controlling a and b, we can control the range where the equation is 1 or -1. We get that power. If we tweak the equation a little further, we get: -0.5*(abs(abs(T-a)-b))/(abs(T-a)-b) + 0.5. Now we can control the range where the equation is 0 or 1. This is important. Let's say we multiply a curve by our above equation. Hence, we are multiplying the curve by 1 or 0, so we also control the range where it shows or not. I call this combination a "fragment". The fun part now is creating several of these fragments and adding them together to make a picture. It is important to make sure only one fragment shows (is multiplied by 1) at any time, meaning all other fragments hide (are multiplied by 0). By carefully picking the curves in our fragments, we can craft any picture that we want. For example, Mona Lisa's eyes are both sin/cos curves. Her hands are mostly quadratic curves. Maybe you can guess what else I used?