Get mean heading of neighboring turtles
to-report mean-heading [ headings ]
let mean-x mean map sin headings
let mean-y mean map cos headings
report atan mean-x mean-y
end
from that answer gets me part way there but I want is each of the headings to be weighted on size of the turtles.
something like
sum [heading * size] of turtles / sum [size] of turtles
But that would, you know, actually work.