Vector fantasy map
Inkscape map making tutorial

Inkscape fantasy map making tutorial part 3 - Make a fading border around the coast

This post is the third part of a tutorial series that teaches how to create fantasy maps in Inkscape. This part deals with colouring the coastlines.

Here are the other sections of the tutorial.

Now onto Part Three!

Create the Coastline stroke

You may have noticed in the last tutorial that my island is plain black. Not the most attractive shade for a map! Let's set some basic colouring for the land area and the coastline.

The background colour of my island will be pure white, but I'm going to add a dark stroke around the coastline to define the shape of it. I also want to add some fade-out effects around the coastline to clearly differentiate the island from the background sea area. To achieve this, we'll need three new layers, each with a duplicate copy of the island on it. I've outlined the steps below.

  1. Create a new layer called 'Coastline Blur', and position this ABOVE the 'Island Shape' layer.
  2. Create a new layer called 'Coastline Stroke', and position this ABOVE the 'Coastline Blur' layer (Coastline Stroke will be the top layer).
  3. Create a new layer called 'Sea Blur', and position this BELOW the 'Island Shape' layer.
  4. On the 'Island Shape' layer, click the island once to select, then press Ctrl + D to duplicate.
  5. Right click on the duplicate and select 'Move to Layer'. Move the duplicated island to the 'Coastline Blur' layer.
  6. Lock and hide the 'Coastline Blur' layer for now by clicking on the Eye and Padlock symbols to the left of the layer name in the Layers panel.
  7. Repeat steps 4-6, but this time move the island copy to the 'Coastline Stroke' layer (so, duplicate the island, right click/move to layer, select 'Coastline Stroke', lock & hide the layer.)
  8. Repeat steps 4-6 again, but this time move the duplicate down to the 'Sea Blur' layer (duplicate the island, right click/move to layer, select 'Sea Blur', lock & hide).

To summarise, you should now have four identical copies of your island:-

  • a bottom copy on the 'Sea Blur' layer
  • the original on the 'Island Shape' layer
  • another copy on the 'Coastline Blur' layer
  • a top copy on the 'Coastline Stroke' layer
Layers Panel showing new layers in order
Fig 1: Layers Panel showing the new layers we just added

You might want to hide all layers then show each one individually to make sure that every layer has its own copy of the island. When you're satisfied, hide and lock all except the original 'Island Shape' layer.

Click the island on the 'Island Shape' layer and, using the Fill and Stroke panel, set its Fill colour to white (#ffffffff). Remove any stroke. Lock the layer when you've done this.

Unhide and unlock the 'Coastline Stroke' layer. Click the island shape and, using the Fill and Stroke panel, remove the fill colour. Now click on the Stroke Style tab. Make sure the stroke is a solid line (not a dashed/dotted line) and set its width to 4px. Set the Join type to 'Round' (the first icon on the left), and set the Cap type to 'Round' (the middle icon).

How to set the Stroke Style in Inkscape
Fig 2: Set the Stroke Style on the Fill and Stroke Panel

On the Stroke Paint tab of the Fill and Stroke panel, set the stroke colour to #654f45ff. This will give us a nice dark coastline that contrasts well with the pale background. Lock the layer when you're done.

Here's what I have now.

Coastline stroke added around the island shape
Fig 3: The coastline stroke has been added

Sea blur

Our next steps will add blurred effects in the sea and in the coastline areas of the island. Inkscape can slow dramatically when large blurs have to be rendered on screen, so I'm going to do each layer one at a time, and when it's complete, the layer will be locked and hidden. If you're doing something as complex as a map in Inkscape, I would always recommend that you hide anything that doesn't need to be on screen at that particular moment. Obviously, you need to sit back from time to time and look at what you have overall, but there's no point in slowing your machine to a crawl just so that you can admire the nice blur effect around the coasts! Hide anything that doesn't need to be visible.

So, let's move on to our 'Sea Blur' layer, which is positioned underneath our island. Hide the 'Island Shape' layer for a moment, and unlock 'Sea Blur'. Now zoom out a little so that your whole map is visible with a decent amount of the canvas white space around it. The more you zoom in with blurs, the slower Inkscape gets, so it's easier on your PC if you can zoom out a reasonable amount.

Click the island shape on the 'Sea Blur' layer and give it a colour of #d4b87bff. There shouldn't be a stroke, but if you have one, remove it. Underneath the box where you entered the Fill colour, there are Blur and Opacity sliders. You'll need to experiment a little with your map, but try giving the island shape a blur of around 40%. You want a blur that fades out nicely towards the border but is still quite visible around the coastlines. Experiment to see what works for you. The 'Coastline Stroke' layer should still be visible, so that allows you to see where your island begins and ends. Show the 'Island Shape' layer again, which will cover up much of the blur, but allows you to see what shows beyond the coasts.

Here's what my Sea Blur layer looks like with 40% blur.

Sea Blur effect with the island outline on top
Fig 4: The island shape blurred to 40% in the Sea Blur layer

And here's my Sea Blur layer with the 'Island Shape' layer visible. The white background of the island, which was barely distinguishable from the sea before, is now starting to pop

Sea Blur effect with the island's coloured shape on top
Fig 5: The Sea Blur layer, with the Island Shape layer turned on.

A small side note: you can just make out from the screenshots that some of the blur is encroaching on the border. I'm not concerned about that right now. When we're ready to work on the border layer, we'll move it to the top of the layer stack and it'll cover up the blur.

Inner coastline blur

We have one more blur to work on, which I'll explain in a moment. Before we start, hide and lock the 'Sea Blur' layer, so that it's not slowing things down. Make sure your Coastline Stroke layer is visible and locked.

Unlock the 'Coastline Blur' layer, and click the island shape on that layer once to select it. Remove the fill and give the shape a stroke of 30px and a stroke colour of #d0b89aff. This will give a thick stroke all the way around the coastline, half of which is inside the island and half which extends outside into the sea area (the dark coastline stroke shows the true border of the island).

30 pixel stroke applied around the island edge
Fig 6: 30px stroke applied around the coast. The dark line is the true edge of the island.

We want to use the inner part of the stroke, but not the outer, so we're going to use a clipping path to help with this. Click the island shape once to select, then duplicate it with Ctrl + D. Give the duplicate copy a fill colour of red and - most importantly - remove the stroke on this copy.

Clipping path on top of the island shape
Fig 7: Whatever's underneath the red shape will be visible when the clip is applied. Everything else will be hidden.

Inkscape's default clipping method requires you to cover up what you want to keep. Every part of an object covered with the clipping path will remain visible when the clip is applied, but anything not covered will be hidden. So, look at the red island shape. It covers up the part of the thick stroke that's inside the island border, but leaves the other half uncovered. This is exactly what we want! Click the red shape, then hold Shift and click the thick stroke (the bit of it that you can see), so that both shapes are selected. Now go to Object > Clip > Set. This will hide the parts of the stroke outside the island and leave only the bits inside. So far, so good, but clipping has another great benefit.

Island border after applying the clipping path
Fig 8: Our island border after applying the clip

Click the thick stroke to select it. On the Stroke tab of the Fill and Stroke Panel, give it a blur of around 12% (again, you may need to experiment a little with the exact value, depending on your island shape.) After applying the blur, the thick stroke will blur as expected, BUT, the best part is how the blur doesn't extend beyond the island's borders. It's constrained by the clip we set earlier, and no matter how much we blur, it won't go beyond the edges of that red shape we used for the clip. This allows us to set a very nice blurred border inside the island shape, which helps to make our coastline pop even more.

Inner blurred effect around the coastline
Fig 9: Final result showing the inner coastline blur

We're almost done for this step, but before we finish up, zoom out a little (to ease the strain on Inkscape), then turn on your Sea Blur layer, so that all layers are now visible. You can see the nice fade out effect on both the inside and outside edges of the coastline. Lock and hide the Sea Blur and the Coastline Blur layers when you're done.

Island showing all the blurred effects
Fig 10: Our work in progress so far

Remember, save, save, save! And perhaps run the Document Clean Up tool too. Then save again.

Summary

In this section, we gave our island a fill colour and a dark stroke around the edge. We used blur to create faded effects around the coastline. In Part Four, we'll improve the coastlines a little more with some ripple effects in the water.