draw an ellipse rotated along the brush directionĮxercise for the reader: modify the brush so the longest part of the ellipses is at right angles to the brush direction, but the ellipses still touch at the edge. Put that into the previous script and you get: lastDrawX = 0 draw a wide ellipse rotated to align with the brush directionīs_ellipse(x, y, width*2, width, rotation, r, g, b, opacity) find how much that rotates from the horizontal First you need to find which direction the brush is travelling using bs_dir. If only I had realised that trigonometry had evil real life uses, perhaps I would have been more interested in school, instead of only cramming enough to get into an evil scientist degree pass, and then forgetting it all.įireAlpaca provides a bs_atan minion (or API function) that can calculate how much to rotate to face in the direction the brush is travelling. The solution is, unfortunately, trigonometry. It’s that sinking feeling you get when you activate a kill-bot in the lab to test some minor functionality, and you realise you forgot to put on the restraining bolt. Press Z for temporary transparency while drawing or Shift+Z to switch your brush to transparent. You can also use the transparent brush feature in Firealpaca while in the Select Brush. This brush set actually makes dark clouds and smoke looking designs. Brush pack 8 This FireAlpaca brush pack by dragon lore studios is appreciated because of its style and designs. This works pest with a brush that is close to what you want the edges to look like. Check my article on The Best 10 Hair and Fur Brush Packs for Firealpaca. The ellipses are not turning to follow the cursor. Select the tool and then select the kind of brush you would like to edit with. Local distance = bs_distance( lastDrawX - x, lastDrawY - y )īs_ellipse(x, y, width*2, width, 0, r, g, b, opacity) - ellipse twice as wide Local updateDist = width*2 - double the distance Putting the changes into the brush script from the previous session: lastDrawX = 0 local updateDist = width*2 - double the distance We will also space the ellipses further apart by doubling the distance before drawing another one. bs_ellipse(x, y, width*2, width, 0, r, g, b, opacity) Simply make the ellipse twice as wide as it is high. Instead of circles, we will get bs_ellipse to actually draw ellipses. Last lesson was intense, so a little easier this time, making some minor changes to the last script. 3 notes JMaking brush scripts, part 5 Minion makes modifications: Experimenting with control