P0 (20,10)
P1 (30,18)
∆x
= 10
∆y
= 8
Step = ∆x
> ∆y
= 10
Increment x = 10/10 = 1
y = 8/10 =
0,8
Step
|
x
|
y
|
x,y
|
|
|
|
(20,10)
|
1
|
21
|
10,8
|
(21,11)
|
2
|
22
|
11,6
|
(22,12)
|
3
|
23
|
12,4
|
(23,12)
|
4
|
24
|
13,2
|
(24,13)
|
5
|
25
|
14
|
(25,14)
|
6
|
26
|
14,8
|
(26,15)
|
7
|
27
|
15,6
|
(27,16)
|
8
|
28
|
16,4
|
(28,16)
|
9
|
29
|
17,2
|
(29,17)
|
10
|
30
|
18
|
(30,18)
|
Grafik