Normals of a Cat


using LinearAlgebra, GeometryBasics

using AbstractPlotting


x = MakieGallery.loadasset("cat.obj")
mesh(x, color = :black)
pos = map(decompose(Point3f0, x), GeometryBasics.normals(x)) do p, n
    p => p .+ (normalize(n) .* 0.05f0)
end

linesegments!(pos, color = :blue)