What is the best way to draw small arrows pointing outwards of a circle all the way around it?

I made a small sample below (non-TikZ), but I'd rather do this is TikZ.

enter image description here


It is easier than comsol I hope :)

\fill[red] (0,0) circle (3mm);
\draw (0,0) circle (2cm);
\foreach \x in {1,...,20}{\draw[ultra thick,-latex] ({\x*360/20}:2cm) -- ++({\x*360/20}:1cm);}

enter image description here

  • 2
    Golfing ? \foreach~in{1,...,20}\draw[ultra thick,-latex,rotate=~*18](2,0)--(3,0); – Kpym Aug 31 '16 at 15:42
  • @Kpym haha it's been some time. I don't think I can beat that – percusse Aug 31 '16 at 19:01
  • @percusse I agree it's too simple : not very interesting ... may be the next time ;) – Kpym Aug 31 '16 at 19:19
  • 1
    @percusse oh I can do better : \foreach~in{0,18,...,342}\draw[ultra thick,-latex](~:2)--(~:3); – Kpym Aug 31 '16 at 19:23
  • @Kpym Ah, Nice. – percusse Aug 31 '16 at 19:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.