Freya Holmér
Freya Holmér

@FreyaHolmer

5 Tweets 1 reads Dec 15, 2022
@Foone @Enichan it's neat just how many things are "just" polynomials or dot products once you unravel things and examine them closer
@Foone @Enichan for example, lerp is a linear equation in disguise
the polynomial form of
lerp(a,b,t) is
(b-a)t + a
@Foone @Enichan the length of a vector v can be defined using the dot product as √(v•v)
which is also coordinate free, as in, works in any dimension! which is pretty neat!!
@Foone @Enichan cosine and sine?
well they are effectively a dot product and a wedge product in disguise, in a way. for two normalized 2D vectors a and b, with the angle θ between them, then:
cos(θ) = a • b
sin(θ) = a ∧ b
@Foone @Enichan (in 3D the wedge product gets more complicated and we usually shortcut it by using the cross product instead of getting into geometric algebra and bivectors)

Loading suggestions...