Bzasenhams Line dzausiq dlaichm
ackk o DDA:
Dr
poblem uwih floatioa feint
HHadi peUt calcubttons cUea
me (ne
J Fm r t C 7kGot
Me Ay
A
C yineesat, pint
ttohuch i n e s torgai
Yacis-
m7
m (Aiheercein wW
mete han du}ernd
i n y),
Jets dariva bxosonnbama algseddhm t
clope L CmLi9
5 Modef (ottecten e
Pixel
hareare o Hod aues
2 en s c e o n
3 5 6
(2,2) C3,3) Rator
Cenvaei ocdoe to
Rateris callay
calUa
Raaieri 3cion
5
4
3
2
5 6
idh eicalbtke.
m I, &u beth will ic2omont
unceeale
A2DOA givesHoahra fcnt esulB,
Doosthuna
tdeeg pct i k
ti
Sht em
k hepoint wbo
ue hetdd
Cpext-
oe
d ey-YK om(ti)+c
da t -y4ti-fmcrti)te
die (CKtD +c -Yk
u e Subtactdld2
d-e <0 Means c s Smalle C9
di-d2 70 means d2 is Spalar(U
D e c i s t e o
Rramewe)
NOuY, d - d 2 =
mCt)+c-9k-Yk=1+m(k t)+c
c-eza 2/0mX tI)=24k t2c -J_
NusPxeblamasmeAY,cho.
A
Sues Eaunq
faicd Valuuss
Mutliply beth h e s i l e s b y Ae,
Page No.
Date
A(d-da)=42Ay (T t)-2yk +2c-
A(d -dz)-2AY(TKt) - 20zYK+20%C-Ar
244 KF209-2AxYKt242C-A
f 2AYK-20CYK+244-t24%CAT
P Axld -d):24AyZk -24TYK
B fK wrllkeep cn
chasging
Ppecte 244 Xoext 2ATYae t
Subaact _od i d hoz much edt
Valuea amer fverytme
hectlk e20yToec-2AYpext 20yKt2y
20Loeei- Ir-24r(9oec r
Nou , fnerci-r 0,
hec =fk+24yCR+I)- 7AT(=K).
fkt =Poed Pt2AY(L)
fpet-Pk z 0,
PnextP;
n e t Pt2AYRtIE)-24r4t|
Page No.
Date
cacuatoinitia Value_
N o Jats
=2AYCK-24cyKt 20yt 20*C-4r
osieb/1*pie
et calcuata ler 1
24yz-24rY - Ac
t2AY+24.¢-Ar
e haa =mrtc
P=24y-24xy t2AY+ 2Ky,-TAy
-244-24Kyt244+24y-24yKA
20y-24xU+20+ 20 -24yK42
P 2AY-AT