The line segment tool (shortcut /) is the most simple of the line tools allowing you to draw straight lines. Select the tool, click hold and drag on the canvas to draw a line. If you hold shift as you draw the line will be constrained to 45 degree angles. By default the colour is a stroke on the path that you have drawn. There is a menu above the canvas where you can increase the stroke or change the stroke colour. You can even add a fill if you like.
The next tool down is the Arc tool. It allows you to draw simple arcs and maintain tight control about how they appear. Click hold and draw on the canvas to see an Arc. Again if you hold down shift it will be constrained. Further options for the tool can be seen by double clicking the icon in the tool bar. This brings up the following menu.
You can set the X and Y axis, open or close the arc and flip the arc to all four corners. The contact slope slider bar lets you set the arc precisely.
This tool lets you draw spirals and modify how those spirals can appear. This can be really useful for drawing organic shapes and backgrounds. The options allow you to specify the shape of your spiral.
This is the radius from the centre point of the spiral to the edge
This is the amount each segment of your spiral will decay. The closer to 100% it is the more circular it will be (100% is a circle). The closer to 5% the straighter the line.
This is the number of segments in the spiral. The larger the number the more circles there will be. Each circle has 4 segments.
This is the orientation of the spiral
There is a good tutorial on spirals over at Veerle’s Blog.
This is a simple tool that lets you draw rectangular grids. Double click the icon in the toolbar to bring up the options.
You can specify the default size here and set the horizontal and vertical dividers.
Finally you can draw polar grids with the Polar Grid Tool. Double click the option to bring up the Tool options.
Set the default size first. The concentric dividers are the number of circles that will be on the polar grid. The radial dividers are the lines that will come out from the centre.
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Build your own Vim statusline
Statuslines in Vim are not hard to create. Making your own means one less dependency in your life.
Custom Vim Bindings in tmux 2.4
tmux 2.4 made a significant change to key bindings. Here is how to support custom keybindings for versions before and after tmux 2.4
Using template files in Vim
Vim templates or skeletons, allow you to specify a template to be used for new files with a certain extension.