9 Dec
2020
9 Dec
'20
6:37 p.m.
On Wed, 9 Dec 2020, Otared Kavian wrote:
Thanks a lot ! Indeed that does the job, which shows how wonderful Metafun is !
Or, if you want to use high school algebra: \starttext \startMPcode z1 = (1cm,3cm) ; z2 = (5cm, 9cm) ; z3 = 1cm * dir(angle (z2 - z1)) shifted z2; draw z1 -- z3 ; draw z1 -- z2 withcolor red; \stopMPcode \stoptext Aditya