[{"data":1,"prerenderedAt":297},["ShallowReactive",2],{"/dict/atan":3,"/dict/atan-surround":286},{"id":4,"title":5,"body":6,"description":252,"extension":253,"meta":254,"navigation":273,"path":282,"seo":283,"stem":284,"__hash__":285},"content/dict/atan.md","NetLogo Dictionary: atan",{"type":7,"value":8,"toc":241},"minimark",[9],[10,11,16,35,58,61,64,67,182,188,191],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","atan","region",[17,18,20],"h3",{"id":19},"atan10",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#atan","doc-noteref","Reference to atan","\natan\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n1.0\n",[36,37,41],"h4",{"id":38,"className":39},"atan-x-y",[40],"section-heading",[21,42,46],{"className":43,"href":45},[44],"section-anchor","#atan-x-y",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54],"p",{},"atan ",[55,56,57],"em",{},"x y",[51,59,60],{},"Converts x and y offsets to a turtle heading in degrees (from 0 to\n360).",[51,62,63],{},"Note that this version of atan is designed to conform to the\ngeometry of the NetLogo world, where a heading of 0 is straight up,\n90 is to the right, and so on clockwise around the circle.\n(Normally in geometry an angle of 0 is right, 90 is up, and so on,\ncounterclockwise around the circle, and atan would be defined\naccordingly.)",[51,65,66],{},"When y is 0: if x is positive, it reports 90; if x is negative, it\nreports 270; if x is zero, you get an error.",[68,69,70],"pre",{},[71,72,73,79,80,79,84,79,89,93,96,79,101,105,107,79,110,79,113,79,116,119,121,79,124,128,130,79,134,137,138,79,142,79,146,150,151,79,155,150,158,79,162,79,165,79,169,173,174,176,79,179],"code",{},[28,74,78],{"className":75},[76,77],"token","command","show"," ",[28,81,14],{"className":82},[76,83],"reporter",[28,85,88],{"className":86},[76,87],"number","1",[28,90,92],{"className":91},[76,87],"-1",[94,95],"br",{},[28,97,100],{"className":98},[76,99],"variable","=>",[28,102,104],{"className":103},[76,87],"135",[94,106],{},[28,108,78],{"className":109},[76,77],[28,111,14],{"className":112},[76,83],[28,114,92],{"className":115},[76,87],[28,117,88],{"className":118},[76,87],[94,120],{},[28,122,100],{"className":123},[76,99],[28,125,127],{"className":126},[76,87],"315",[94,129],{},[28,131,133],{"className":132},[76,77],"crt",[28,135,88],{"className":136},[76,87]," [ ",[28,139,141],{"className":140},[76,77],"set",[28,143,145],{"className":144},[76,83],"heading",[28,147,149],{"className":148},[76,87],"30","  ",[28,152,154],{"className":153},[76,77],"fd",[28,156,88],{"className":157},[76,87],[28,159,161],{"className":160},[76,77],"print",[28,163,14],{"className":164},[76,83],[28,166,168],{"className":167},[76,83],"xcor",[28,170,172],{"className":171},[76,83],"ycor"," ]",[94,175],{},[28,177,100],{"className":178},[76,99],[28,180,149],{"className":181},[76,87],[51,183,184,185,187],{},"In the final example, note that the result of ",[71,186,14],{}," equals\nthe turtle’s heading.",[51,189,190],{},"If you ever need to convert a turtle heading (obtained with atan or\notherwise) to a normal mathematical angle, the following should be\nhelpful:",[68,192,193],{},[71,194,195,79,200,137,204,173,208,150,210,214,215,79,219,79,223,226,227,79,231,235],{},[28,196,199],{"className":197},[76,198],"keyword","to-report",[28,201,203],{"className":202},[76,99],"heading-to-angle",[28,205,207],{"className":206},[76,99],"h",[94,209],{},[28,211,213],{"className":212},[76,77],"report"," (",[28,216,218],{"className":217},[76,87],"90",[28,220,222],{"className":221},[76,83],"-",[28,224,207],{"className":225},[76,99],") ",[28,228,230],{"className":229},[76,83],"mod",[28,232,234],{"className":233},[76,87],"360",[28,236,238,240],{"className":237},[76,198],[94,239],{},"end",{"title":242,"searchDepth":243,"depth":244,"links":245},"",5,3,[246],{"id":19,"depth":244,"text":247,"children":248},"\natan\n\n1.0\n",[249],{"id":38,"depth":250,"text":251},4,"atan x y","Documentation for the atan primitive.","md",{"source":255,"metadataOutputPath":256,"projectConfig":257,"language":265,"inheritFrom":274,"output":273,"version":258,"layout":275,"dictionaryDisplayName":276,"dictionaryHomeDirectory":277,"indexFileURI":278,"currentItemId":14,"currentItemLabel":14,"primRoot":279,"icon":280,"assetsRoot":281},"autogen/dict/atan.md","content/dict/atan.metadata.yaml",{"version":258,"projectRoot":259,"scanRoot":260,"outputRoot":261,"defaults":262,"engine":268,"partials":269,"dedupeIdenticalDiskWrites":273},"7.0.4",".","autogen","content",{"inheritFrom":263,"language":265,"output":266,"extension":253,"title":267,"version":258},[264],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":270,"extensions":271},[259],[272,253],"mustache",true,[264],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/atan",{"title":5,"description":252},"dict/atan","3duUNW8SrXuPtElWG1JU-CJWthnMAlZmX7B7DbuYM3I",[287,292],{"title":288,"path":289,"stem":290,"description":291,"children":-1},"NetLogo 3D Dictionary: at-points-3d","/dict/at-points-3d","dict/at-points-3d","Documentation for the at-points-3d primitive.",{"title":293,"path":294,"stem":295,"description":296,"children":-1},"NetLogo Dictionary: auto-plot-status","/dict/auto-plot-status","dict/auto-plot-status","Documentation for the auto-plot-status primitive.",1777657739251]