concept follow line in category svelte

appears as: following lines, following line
Svelte and Sapper in Action

This is an excerpt from Manning's book Svelte and Sapper in Action.

Fixing this is easy. In the following two listings we have the classes Point and Line. A point is defined by x and y coordinates. A line is defined by start and end Point objects. Both points and lines can be translated by given delta x (dx) and delta y (dy) values.

<link rel='stylesheet' href='/bootstrap.min.css'>