This function takes a description of a flat polygon in x, y and z coordinates, and draws it in three dimensions.

polygon3d(x, y = NULL, z = NULL, fill = TRUE, plot = TRUE,
coords = 1:2, random = TRUE, ...)

## Arguments

x, y, z Vertices of the polygon in a form accepted by xyz.coords. logical; should the polygon be filled? logical; should the polygon be displayed? Which two coordinates (x = 1, y = 2, z = 3) describe the polygon. Should a random triangulation be used? Other parameters to pass to lines3d or shade3d if plot = TRUE.

## Details

The function triangulates the two dimensional polygon described by coords, then applies the triangulation to all three coordinates. No check is made that the polygon is actually all in one plane, but the results may be somewhat unpredictable (especially if random = TRUE) if it is not.

Polygons need not be simple; use NA to indicate separate closed pieces. For fill = FALSE there are no other restrictions on the pieces, but for fill = TRUE the resulting two-dimensional polygon needs to be one that triangulate can handle.

## Value

If plot = TRUE, the id number of the lines (for fill = FALSE) or triangles (for fill = TRUE) that have been plotted.

If plot = FALSE, then for fill = FALSE, a vector of indices into the XYZ matrix that could be used to draw the polygon. For fill = TRUE, a triangular mesh object representing the triangulation.

## Author

Duncan Murdoch

extrude3d for a solid extrusion of a polygon, triangulate for the triangulation.

## Examples

theta <- seq(0, 4*pi, len = 50)
r <- theta + 1
r <- c(r[-50], rev(theta*0.8) + 1)
theta <- c(theta[-50], rev(theta))
x <- r*cos(theta)
y <- r*sin(theta)
open3d()
plot(x, y, type = "n")
polygon(x, y)

polygon3d(x, y, x + y, col = "blue")

{"x":{"material":{"color":"#000000","alpha":1,"lit":true,"ambient":"#000000","specular":"#FFFFFF","emission":"#000000","shininess":50,"smooth":true,"front":"filled","back":"filled","size":3,"lwd":1,"fog":true,"point_antialias":false,"line_antialias":false,"texture":null,"textype":"rgb","texmipmap":false,"texminfilter":"linear","texmagfilter":"linear","texenvmap":false,"depth_mask":true,"depth_test":"less","isTransparent":false,"polygon_offset":[0,0],"margin":"","floating":false},"rootSubscene":1355,"objects":{"1361":{"id":1361,"type":"triangles","material":{},"vertices":[[1,0,1],[1.16575014591217,0.305695682764053,1.4714457988739],[1,0,1],[1,0,1],[1.2153639793396,0.318705976009369,1.53406989574432],[1.16575014591217,0.305695682764053,1.4714457988739],[1.2153639793396,0.318705976009369,1.53406989574432],[1.22884726524353,0.692073941230774,1.9209212064743],[1.16575014591217,0.305695682764053,1.4714457988739],[1.2153639793396,0.318705976009369,1.53406989574432],[1.27102553844452,1.23091959953308,2.50194501876831],[1.22884726524353,0.692073941230774,1.9209212064743],[1.27102553844452,1.23091959953308,2.50194501876831],[1.16049027442932,1.12387216091156,2.28436255455017],[1.22884726524353,0.692073941230774,1.9209212064743],[1.27102553844452,1.23091959953308,2.50194501876831],[0.94381707906723,1.55692505836487,2.50074219703674],[1.16049027442932,1.12387216091156,2.28436255455017],[1.27102553844452,1.23091959953308,2.50194501876831],[0.576403439044952,1.94209444522858,2.51849794387817],[0.94381707906723,1.55692505836487,2.50074219703674],[1.27102553844452,1.23091959953308,2.50194501876831],[0.649372398853302,2.18795108795166,2.83732342720032],[0.576403439044952,1.94209444522858,2.51849794387817],[0.649372398853302,2.18795108795166,2.83732342720032],[0.0715067908167839,2.22984504699707,2.30135202407837],[0.576403439044952,1.94209444522858,2.51849794387817],[0.649372398853302,2.18795108795166,2.83732342720032],[-1.41150605678558,2.70559287071228,1.2940868139267],[0.0715067908167839,2.22984504699707,2.30135202407837],[-1.41150605678558,2.70559287071228,1.2940868139267],[-0.542095839977264,2.37507700920105,1.83298122882843],[0.0715067908167839,2.22984504699707,2.30135202407837],[-1.41150605678558,2.70559287071228,1.2940868139267],[-1.22171247005463,2.34179425239563,1.12008166313171],[-0.542095839977264,2.37507700920105,1.83298122882843],[-1.41150605678558,2.70559287071228,1.2940868139267],[-1.91369581222534,2.10719180107117,0.193495959043503],[-1.22171247005463,2.34179425239563,1.12008166313171],[-1.41150605678558,2.70559287071228,1.2940868139267],[-2.55755352973938,1.66478288173676,-0.892770648002625],[-1.91369581222534,2.10719180107117,0.193495959043503],[-1.41150605678558,2.70559287071228,1.2940868139267],[-3.62636280059814,1.2040354013443,-2.42232751846313],[-2.55755352973938,1.66478288173676,-0.892770648002625],[-3.62636280059814,1.2040354013443,-2.42232751846313],[-3.09090137481689,1.02625000476837,-2.06465148925781],[-2.55755352973938,1.66478288173676,-0.892770648002625],[-3.62636280059814,1.2040354013443,-2.42232751846313],[-3.45486974716187,0.22180999815464,-3.23305988311768],[-3.09090137481689,1.02625000476837,-2.06465148925781],[-3.62636280059814,1.2040354013443,-2.42232751846313],[-3.59952282905579,-0.701007008552551,-4.30052995681763],[-3.45486974716187,0.22180999815464,-3.23305988311768],[-3.62636280059814,1.2040354013443,-2.42232751846313],[-4.13579988479614,-1.99169623851776,-6.12749624252319],[-3.59952282905579,-0.701007008552551,-4.30052995681763],[-4.13579988479614,-1.99169623851776,-6.12749624252319],[-3.48883366584778,-1.68013381958008,-5.16896724700928],[-3.59952282905579,-0.701007008552551,-4.30052995681763],[-4.13579988479614,-1.99169623851776,-6.12749624252319],[-3.10477948188782,-2.64313745498657,-5.74791669845581],[-3.48883366584778,-1.68013381958008,-5.16896724700928],[-4.13579988479614,-1.99169623851776,-6.12749624252319],[-2.45017194747925,-3.51250553131104,-5.96267747879028],[-3.10477948188782,-2.64313745498657,-5.74791669845581],[-4.13579988479614,-1.99169623851776,-6.12749624252319],[-1.85107421875,-5.02996683120728,-6.88104104995728],[-2.45017194747925,-3.51250553131104,-5.96267747879028],[-1.85107421875,-5.02996683120728,-6.88104104995728],[-1.54993236064911,-4.21166706085205,-5.76159954071045],[-2.45017194747925,-3.51250553131104,-5.96267747879028],[-1.85107421875,-5.02996683120728,-6.88104104995728],[-0.450633585453033,-4.67128849029541,-5.1219220161438],[-1.54993236064911,-4.21166706085205,-5.76159954071045],[-1.85107421875,-5.02996683120728,-6.88104104995728],[0.781742572784424,-4.83535385131836,-4.05361127853394],[-0.450633585453033,-4.67128849029541,-5.1219220161438],[-1.85107421875,-5.02996683120728,-6.88104104995728],[0.937278211116791,-5.79739713668823,-4.8601188659668],[0.781742572784424,-4.83535385131836,-4.05361127853394],[0.937278211116791,-5.79739713668823,-4.8601188659668],[2.06573271751404,-4.66652631759644,-2.6007936000824],[0.781742572784424,-4.83535385131836,-4.05361127853394],[0.937278211116791,-5.79739713668823,-4.8601188659668],[3.3097767829895,-4.15032911300659,-0.840552031993866],[2.06573271751404,-4.66652631759644,-2.6007936000824],[0.937278211116791,-5.79739713668823,-4.8601188659668],[6.39433574676514,-2.58877968788147,3.80555605888367],[3.3097767829895,-4.15032911300659,-0.840552031993866],[6.39433574676514,-2.58877968788147,3.80555605888367],[4.41870212554932,-3.29776334762573,1.12093901634216],[3.3097767829895,-4.15032911300659,-0.840552031993866],[6.39433574676514,-2.58877968788147,3.80555605888367],[5.30085182189941,-2.14607715606689,3.1547749042511],[4.41870212554932,-3.29776334762573,1.12093901634216],[6.39433574676514,-2.58877968788147,3.80555605888367],[5.87532997131348,-0.757539927959442,5.11779022216797],[5.30085182189941,-2.14607715606689,3.1547749042511],[6.39433574676514,-2.58877968788147,3.80555605888367],[6.0788106918335,0.783775866031647,6.8625864982605],[5.87532997131348,-0.757539927959442,5.11779022216797],[6.39433574676514,-2.58877968788147,3.80555605888367],[6.35066318511963,4.73962306976318,11.0902862548828],[6.0788106918335,0.783775866031647,6.8625864982605],[6.35066318511963,4.73962306976318,11.0902862548828],[5.87136507034302,2.37705230712891,8.24841785430908],[6.0788106918335,0.783775866031647,6.8625864982605],[6.35066318511963,4.73962306976318,11.0902862548828],[5.24081325531006,3.91132068634033,9.15213394165039],[5.87136507034302,2.37705230712891,8.24841785430908],[6.35066318511963,4.73962306976318,11.0902862548828],[4.2052059173584,5.2731614112854,9.47836685180664],[5.24081325531006,3.91132068634033,9.15213394165039],[6.35066318511963,4.73962306976318,11.0902862548828],[1.38751304149628,8.5822582244873,9.96977138519287],[4.2052059173584,5.2731614112854,9.47836685180664],[1.38751304149628,8.5822582244873,9.96977138519287],[2.81315994262695,6.35497713088989,9.168137550354],[4.2052059173584,5.2731614112854,9.47836685180664],[1.38751304149628,8.5822582244873,9.96977138519287],[1.14193034172058,7.06324338912964,8.20517349243164],[2.81315994262695,6.35497713088989,9.168137550354],[1.38751304149628,8.5822582244873,9.96977138519287],[-0.706741213798523,7.32611179351807,6.61937093734741],[1.14193034172058,7.06324338912964,8.20517349243164],[1.38751304149628,8.5822582244873,9.96977138519287],[-2.61278581619263,7.09978342056274,4.48699760437012],[-0.706741213798523,7.32611179351807,6.61937093734741],[1.38751304149628,8.5822582244873,9.96977138519287],[-5.41397762298584,7.76134395599365,2.34736633300781],[-2.61278581619263,7.09978342056274,4.48699760437012],[-5.41397762298584,7.76134395599365,2.34736633300781],[-4.44560527801514,6.37310981750488,1.92750430107117],[-2.61278581619263,7.09978342056274,4.48699760437012],[-5.41397762298584,7.76134395599365,2.34736633300781],[-6.07300186157227,5.17002201080322,-0.902980029582977],[-4.44560527801514,6.37310981750488,1.92750430107117],[-5.41397762298584,7.76134395599365,2.34736633300781],[-7.37063121795654,3.54950881004333,-3.82112216949463],[-6.07300186157227,5.17002201080322,-0.902980029582977],[-5.41397762298584,7.76134395599365,2.34736633300781],[-10.0437412261963,1.95601832866669,-8.08772277832031],[-7.37063121795654,3.54950881004333,-3.82112216949463],[-10.0437412261963,1.95601832866669,-8.08772277832031],[-8.23130416870117,1.60304641723633,-6.628258228302],[-7.37063121795654,3.54950881004333,-3.82112216949463],[-10.0437412261963,1.95601832866669,-8.08772277832031],[-8.57346248626709,-0.550434529781342,-9.12389659881592],[-8.23130416870117,1.60304641723633,-6.628258228302],[-10.0437412261963,1.95601832866669,-8.08772277832031],[-8.34815883636475,-2.77177977561951,-11.1199388504028],[-8.57346248626709,-0.550434529781342,-9.12389659881592],[-10.0437412261963,1.95601832866669,-8.08772277832031],[-9.22048187255859,-6.001868724823,-15.2223510742188],[-8.34815883636475,-2.77177977561951,-11.1199388504028],[-9.22048187255859,-6.001868724823,-15.2223510742188],[-7.5440034866333,-4.91060209274292,-12.4546051025391],[-8.34815883636475,-2.77177977561951,-11.1199388504028],[-9.22048187255859,-6.001868724823,-15.2223510742188],[-6.18961191177368,-6.8154501914978,-13.0050621032715],[-7.5440034866333,-4.91060209274292,-12.4546051025391],[-9.22048187255859,-6.001868724823,-15.2223510742188],[-5.32599830627441,-10.2089414596558,-15.5349397659302],[-6.18961191177368,-6.8154501914978,-13.0050621032715],[-5.32599830627441,-10.2089414596558,-15.5349397659302],[-4.35330629348755,-8.34447288513184,-12.6977787017822],[-6.18961191177368,-6.8154501914978,-13.0050621032715],[-5.32599830627441,-10.2089414596558,-15.5349397659302],[-2.13997054100037,-9.37582302093506,-11.515793800354],[-4.35330629348755,-8.34447288513184,-12.6977787017822],[-5.32599830627441,-10.2089414596558,-15.5349397659302],[0.31481397151947,-9.81705856323242,-9.50224494934082],[-2.13997054100037,-9.37582302093506,-11.515793800354],[-5.32599830627441,-10.2089414596558,-15.5349397659302],[6.50092506408691,-10.7239561080933,-4.22303056716919],[0.31481397151947,-9.81705856323242,-9.50224494934082],[6.50092506408691,-10.7239561080933,-4.22303056716919],[2.85303497314453,-9.61282157897949,-6.75978660583496],[0.31481397151947,-9.81705856323242,-9.50224494934082],[6.50092506408691,-10.7239561080933,-4.22303056716919],[5.30441856384277,-8.75019359588623,-3.4457745552063],[2.85303497314453,-9.61282157897949,-6.75978660583496],[6.50092506408691,-10.7239561080933,-4.22303056716919],[11.373722076416,-6.40556049346924,4.96816110610962],[5.30441856384277,-8.75019359588623,-3.4457745552063],[11.373722076416,-6.40556049346924,4.96816110610962],[7.49784374237061,-7.2612566947937,0.236587002873421],[5.30441856384277,-8.75019359588623,-3.4457745552063],[-5.32599830627441,-10.2089414596558,-15.5349397659302],[3.49516177177429,-11.7763605117798,-8.28119850158691],[6.50092506408691,-10.7239561080933,-4.22303056716919],[0.649372398853302,2.18795108795166,2.83732342720032],[0.0813705995678902,2.53743481636047,2.61880540847778],[-1.41150605678558,2.70559287071228,1.2940868139267],[0.937278211116791,-5.79739713668823,-4.8601188659668],[5.3230242729187,-3.97267651557922,1.35034811496735],[6.39433574676514,-2.58877968788147,3.80555605888367],[11.373722076416,-6.40556049346924,4.96816110610962],[9.27324104309082,-5.22259187698364,4.05064916610718],[7.49784374237061,-7.2612566947937,0.236587002873421],[-3.62636280059814,1.2040354013443,-2.42232751846313],[-4.06910085678101,0.26124495267868,-3.80785584449768],[-4.13579988479614,-1.99169623851776,-6.12749624252319],[11.373722076416,-6.40556049346924,4.96816110610962],[10.4931478500366,-2.75162744522095,7.74152088165283],[9.27324104309082,-5.22259187698364,4.05064916610718],[6.39433574676514,-2.58877968788147,3.80555605888367],[7.10747718811035,2.87749862670898,9.98497581481934],[6.35066318511963,4.73962306976318,11.0902862548828],[0.937278211116791,-5.79739713668823,-4.8601188659668],[3.98134851455688,-4.99245309829712,-1.01110458374023],[5.3230242729187,-3.97267651557922,1.35034811496735],[-4.13579988479614,-1.99169623851776,-6.12749624252319],[-3.69061303138733,-3.14186453819275,-6.83247756958008],[-1.85107421875,-5.02996683120728,-6.88104104995728],[0.937278211116791,-5.79739713668823,-4.8601188659668],[2.48097014427185,-5.60455465316772,-3.12358450889587],[3.98134851455688,-4.99245309829712,-1.01110458374023],[1.27102553844452,1.23091959953308,2.50194501876831],[1.05017328262329,1.73237061500549,2.78254389762878],[0.649372398853302,2.18795108795166,2.83732342720032],[6.50092506408691,-10.7239561080933,-4.22303056716919],[9.19271755218506,-8.90264987945557,0.290067046880722],[11.373722076416,-6.40556049346924,4.96816110610962],[6.35066318511963,4.73962306976318,11.0902862548828],[5.10063505172729,6.39599370956421,11.4966287612915],[1.38751304149628,8.5822582244873,9.96977138519287],[-3.69061303138733,-3.14186453819275,-6.83247756958008],[-2.91968560218811,-4.18558883666992,-7.10527467727661],[-1.85107421875,-5.02996683120728,-6.88104104995728],[-1.85107421875,-5.02996683120728,-6.88104104995728],[-0.539286196231842,-5.59026575088501,-6.12955188751221],[0.937278211116791,-5.79739713668823,-4.8601188659668],[0.0813705995678902,2.53743481636047,2.61880540847778],[-0.621989607810974,2.72511434555054,2.10312485694885],[-1.41150605678558,2.70559287071228,1.2940868139267],[11.373722076416,-6.40556049346924,4.96816110610962],[12.8746118545532,-3.37612080574036,9.49849033355713],[10.4931478500366,-2.75162744522095,7.74152088165283],[-5.32599830627441,-10.2089414596558,-15.5349397659302],[-2.61933279037476,-11.4760465621948,-14.0953798294067],[3.49516177177429,-11.7763605117798,-8.28119850158691],[1.38751304149628,8.5822582244873,9.96977138519287],[-0.859420776367188,8.90879535675049,8.0493745803833],[-5.41397762298584,7.76134395599365,2.34736633300781],[-2.61933279037476,-11.4760465621948,-14.0953798294067],[0.385504573583603,-12.0214519500732,-11.635947227478],[3.49516177177429,-11.7763605117798,-8.28119850158691],[-4.06910085678101,0.26124495267868,-3.80785584449768],[-4.2540135383606,-0.828469097614288,-5.08248281478882],[-4.13579988479614,-1.99169623851776,-6.12749624252319],[-9.22048187255859,-6.001868724823,-15.2223510742188],[-7.56893920898438,-8.33424377441406,-15.9031829833984],[-5.32599830627441,-10.2089414596558,-15.5349397659302],[6.39433574676514,-2.58877968788147,3.80555605888367],[7.09621477127075,-0.914955615997314,6.18125915527344],[7.10747718811035,2.87749862670898,9.98497581481934],[-10.0437412261963,1.95601832866669,-8.08772277832031],[-10.1979351043701,-3.38594770431519,-13.5838823318481],[-9.22048187255859,-6.001868724823,-15.2223510742188],[7.09621477127075,-0.914955615997314,6.18125915527344],[7.35056591033936,0.947750508785248,8.29831695556641],[7.10747718811035,2.87749862670898,9.98497581481934],[-0.859420776367188,8.90879535675049,8.0493745803833],[-3.17964124679565,8.64011192321777,5.46047115325928],[-5.41397762298584,7.76134395599365,2.34736633300781],[-1.41150605678558,2.70559287071228,1.2940868139267],[-2.22404456138611,2.44892024993896,0.224875673651695],[-3.62636280059814,1.2040354013443,-2.42232751846313],[5.10063505172729,6.39599370956421,11.4966287612915],[3.41525411605835,7.71511840820312,11.1303730010986],[1.38751304149628,8.5822582244873,9.96977138519287],[-5.41397762298584,7.76134395599365,2.34736633300781],[-8.98804664611816,4.32841491699219,-4.65963125228882],[-10.0437412261963,1.95601832866669,-8.08772277832031],[-10.0437412261963,1.95601832866669,-8.08772277832031],[-10.4673414230347,-0.672025620937347,-11.1393671035767],[-10.1979351043701,-3.38594770431519,-13.5838823318481],[1.2153639793396,0.318705976009369,1.53406989574432],[1.31822943687439,0.742412984371185,2.06064248085022],[1.27102553844452,1.23091959953308,2.50194501876831],[-5.41397762298584,7.76134395599365,2.34736633300781],[-7.40089130401611,6.30047035217285,-1.10042059421539],[-8.98804664611816,4.32841491699219,-4.65963125228882],[-2.22404456138611,2.44892024993896,0.224875673651695],[-2.98741984367371,1.9445948600769,-1.0428249835968],[-3.62636280059814,1.2040354013443,-2.42232751846313],[12.8746118545532,-3.37612080574036,9.49849033355713],[11.0530967712402,-5.41445567444872e-15,11.0530967712402],[10.4931478500366,-2.75162744522095,7.74152088165283]],"colors":[[0,0,1,1]],"centers":[[1.05525004863739,0.101898565888405,1.15714859962463],[1.12703800201416,0.208133906126022,1.33517205715179],[1.20332050323486,0.438825190067291,1.64214563369751],[1.23841238021851,0.747233271598816,1.98564553260803],[1.22012102603912,1.01562190055847,2.23574304580688],[1.12511098384857,1.30390572547913,2.42901682853699],[0.930415391921997,1.57664656639099,2.50706171989441],[0.832267165184021,1.7869884967804,2.61925554275513],[0.432427585124969,2.11996364593506,2.55239129066467],[-0.230208963155746,2.37446308135986,2.14425420761108],[-0.627365052700043,2.43683838844299,1.8094733953476],[-1.05843818187714,2.47415494918823,1.41571652889252],[-1.51563823223114,2.38485980033875,0.869221568107605],[-1.96091842651367,2.15918922424316,0.198270723223686],[-2.53180766105652,1.8581371307373,-0.673670470714569],[-3.09160590171814,1.29835605621338,-1.79324996471405],[-3.39071154594421,0.817365169525146,-2.57334637641907],[-3.56025195121765,0.241612792015076,-3.31863927841187],[-3.78722858428955,-0.496222615242004,-4.28345108032227],[-3.7413854598999,-1.45761239528656,-5.19899749755859],[-3.57647109031677,-2.10498929023743,-5.6814603805542],[-3.23025035858154,-2.71577978134155,-5.94603061676025],[-2.81234884262085,-3.51138949394226,-6.32373809814453],[-1.95039296150208,-4.25137996673584,-6.20177268981934],[-1.28388011455536,-4.63764095306396,-5.92152118682861],[-0.506655097007751,-4.84553623199463,-5.35219144821167],[-0.0440178140997887,-5.22090625762939,-5.26492404937744],[1.26158452033997,-5.09975910186768,-3.83817481994629],[2.1042628288269,-4.87141752243042,-2.76715469360352],[3.54713034629822,-4.17883586883545,-0.631704986095428],[4.70760488510132,-3.3456244468689,1.36198115348816],[5.37129688262939,-2.67753982543945,2.69375681877136],[5.85683965682983,-1.83079898357391,4.02604055404663],[6.11615896224976,-0.854181289672852,5.2619776725769],[6.27460384368896,0.978206396102905,7.25280952453613],[6.10027980804443,2.63348388671875,8.73376369476318],[5.82094717025757,3.67599868774414,9.49694633483887],[5.2655611038208,4.6413688659668,9.90692901611328],[3.98112750053406,6.19834804534912,10.1794757843018],[2.8019597530365,6.73679876327515,9.53875923156738],[1.7808678150177,7.33349323272705,9.11436080932617],[0.607567429542542,7.65720462799072,8.26477241516113],[-0.644004702568054,7.66938400268555,7.02538013458252],[-2.21308350563049,7.81446170806885,5.60137844085693],[-4.15745639801025,7.07807922363281,2.92062282562256],[-5.31086158752441,6.43482542037964,1.12396359443665],[-6.28587055206299,5.49362516403198,-0.792245328426361],[-7.609450340271,4.42229080200195,-3.18715953826904],[-8.54855918884277,2.36952471733093,-6.17903423309326],[-8.94950294494629,1.00287675857544,-7.94662618637085],[-8.98845481872559,-0.45539864897728,-9.4438533782959],[-9.20412731170654,-2.27254343032837,-11.4766712188721],[-8.37088203430176,-4.56141710281372,-12.9322986602783],[-7.65136623382568,-5.90930700302124,-13.5606727600098],[-6.9120306968689,-7.67542028427124,-14.5874509811401],[-5.28963851928711,-8.45628833770752,-13.7459278106689],[-3.93975830078125,-9.30974578857422,-13.2495040893555],[-2.38371825218201,-9.80060863494873,-12.184326171875],[0.496580243110657,-10.2499856948853,-9.75340557098389],[3.22292470932007,-10.0512790679932,-6.82835388183594],[4.88612651824951,-9.69565773010254,-4.80953073501587],[7.72635555267334,-8.62657070159912,-0.900214672088623],[8.05866241455078,-7.47233724594116,0.586324572563171],[1.55669629573822,-10.9030866622925,-9.34638977050781],[-0.226921021938324,2.47699308395386,2.25007200241089],[4.21821308135986,-4.11961793899536,0.098595067858696],[9.38160228729248,-6.29647016525269,3.08513236045837],[-3.94375467300415,-0.175471991300583,-4.11922645568848],[10.3800373077393,-4.79326009750366,5.58677768707275],[6.61749219894409,1.67611408233643,8.29360580444336],[3.41388392448425,-4.92084217071533,-1.50695848464966],[-3.22582912445068,-3.38784265518188,-6.61367177963257],[2.46653246879578,-5.46480178833008,-2.99826955795288],[0.990190446376801,1.71708047389984,2.70727062225342],[9.0224552154541,-8.67738914489746,0.345065832138062],[4.27960395812988,6.57262516021729,10.8522291183472],[-2.82045745849609,-4.11914014816284,-6.93959760665894],[-0.484360694885254,-5.47254323959351,-5.95690441131592],[-0.650708377361298,2.65604758262634,2.0053391456604],[11.580493927002,-4.17776966094971,7.40272426605225],[-1.48338985443115,-11.1537837982178,-12.6371726989746],[-1.62862849235535,8.41746711730957,6.78883743286133],[0.420444488525391,-11.7579526901245,-11.3375091552734],[-4.1529712677002,-0.852973461151123,-5.00594520568848],[-7.37180662155151,-8.18168544769287,-15.5534915924072],[6.86600971221924,-0.208745568990707,6.65726375579834],[-9.82071971893311,-2.47726607322693,-12.2979850769043],[7.18475294113159,0.970097899436951,8.15485095977783],[-3.15101313591003,8.43675136566162,5.28573751449585],[-2.42063784599304,2.11951637268066,-0.301121681928635],[3.30113410949707,7.56445693969727,10.8655920028687],[-8.14858913421631,4.68192577362061,-3.46666288375854],[-10.2363395690918,-0.7006516456604,-10.936990737915],[1.26820635795593,0.764012813568115,2.03221917152405],[-7.26763868331909,6.13007640838623,-1.1375617980957],[-2.94594264030457,1.86585021018982,-1.08009231090546],[11.4736194610596,-2.04258298873901,9.4310359954834]],"normals":[[0,0,0],[0,0,0],[0,0,0],[-0.577349901199341,-0.577350437641144,0.577350378036499],[-0.577349901199341,-0.577350437641144,0.577350378036499],[-0.577349901199341,-0.577350437641144,0.577350378036499],[-0.57735002040863,-0.577350437641144,0.577350378036499],[-0.57735002040863,-0.577350437641144,0.577350378036499],[-0.57735002040863,-0.577350437641144,0.577350378036499],[-0.57734602689743,-0.577352643013,0.577352106571198],[-0.57734602689743,-0.577352643013,0.577352106571198],[-0.57734602689743,-0.577352643013,0.577352106571198],[-0.577349424362183,-0.577350616455078,0.577350676059723],[-0.577349424362183,-0.577350616455078,0.577350676059723],[-0.577349424362183,-0.577350616455078,0.577350676059723],[-0.577349901199341,-0.577350258827209,0.577350676059723],[-0.577349901199341,-0.577350258827209,0.577350676059723],[-0.577349901199341,-0.577350258827209,0.577350676059723],[-0.577348649501801,-0.57734888792038,0.577353417873383],[-0.577348649501801,-0.57734888792038,0.577353417873383],[-0.577348649501801,-0.57734888792038,0.577353417873383],[-0.57735013961792,-0.577350318431854,0.577350437641144],[-0.57735013961792,-0.577350318431854,0.577350437641144],[-0.57735013961792,-0.577350318431854,0.577350437641144],[-0.577350199222565,-0.577350199222565,0.577350437641144],[-0.577350199222565,-0.577350199222565,0.577350437641144],[-0.577350199222565,-0.577350199222565,0.577350437641144],[-0.577350616455078,-0.577349007129669,0.577351152896881],[-0.577350616455078,-0.577349007129669,0.577351152896881],[-0.577350616455078,-0.577349007129669,0.577351152896881],[-0.577350318431854,-0.577350497245789,0.57735002040863],[-0.577350318431854,-0.577350497245789,0.57735002040863],[-0.577350318431854,-0.577350497245789,0.57735002040863],[-0.577350318431854,-0.577350378036499,0.577350199222565],[-0.577350318431854,-0.577350378036499,0.577350199222565],[-0.577350318431854,-0.577350378036499,0.577350199222565],[-0.577350199222565,-0.577350437641144,0.577350258827209],[-0.577350199222565,-0.577350437641144,0.577350258827209],[-0.577350199222565,-0.577350437641144,0.577350258827209],[-0.57735013961792,-0.577350318431854,0.577350318431854],[-0.57735013961792,-0.577350318431854,0.577350318431854],[-0.57735013961792,-0.577350318431854,0.577350318431854],[-0.577350318431854,-0.577350199222565,0.577350199222565],[-0.577350318431854,-0.577350199222565,0.577350199222565],[-0.577350318431854,-0.577350199222565,0.577350199222565],[-0.577350318431854,-0.577350318431854,0.577350258827209],[-0.577350318431854,-0.577350318431854,0.577350258827209],[-0.577350318431854,-0.577350318431854,0.577350258827209],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350199222565,-0.577350258827209,0.577350199222565],[-0.577350199222565,-0.577350258827209,0.577350199222565],[-0.577350199222565,-0.577350258827209,0.577350199222565],[-0.577350199222565,-0.577350318431854,0.577350318431854],[-0.577350199222565,-0.577350318431854,0.577350318431854],[-0.577350199222565,-0.577350318431854,0.577350318431854],[-0.577350616455078,-0.57735002040863,0.577350199222565],[-0.577350616455078,-0.57735002040863,0.577350199222565],[-0.577350616455078,-0.57735002040863,0.577350199222565],[-0.577350378036499,-0.577350199222565,0.57735013961792],[-0.577350378036499,-0.577350199222565,0.57735013961792],[-0.577350378036499,-0.577350199222565,0.57735013961792],[-0.577350378036499,-0.577350437641144,0.577349781990051],[-0.577350378036499,-0.577350437641144,0.577349781990051],[-0.577350378036499,-0.577350437641144,0.577349781990051],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350199222565,-0.577350258827209,0.577350318431854],[-0.577350199222565,-0.577350258827209,0.577350318431854],[-0.577350199222565,-0.577350258827209,0.577350318431854],[-0.577350378036499,-0.577350080013275,0.577350378036499],[-0.577350378036499,-0.577350080013275,0.577350378036499],[-0.577350378036499,-0.577350080013275,0.577350378036499],[-0.577350258827209,-0.577350199222565,0.577350258827209],[-0.577350258827209,-0.577350199222565,0.577350258827209],[-0.577350258827209,-0.577350199222565,0.577350258827209],[-0.577350258827209,-0.577350199222565,0.577350258827209],[-0.577350258827209,-0.577350199222565,0.577350258827209],[-0.577350258827209,-0.577350199222565,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350318431854,-0.577350199222565,0.577350318431854],[-0.577350318431854,-0.577350199222565,0.577350318431854],[-0.577350318431854,-0.577350199222565,0.577350318431854],[-0.577349364757538,-0.577351331710815,0.57735013961792],[-0.577349364757538,-0.577351331710815,0.57735013961792],[-0.577349364757538,-0.577351331710815,0.57735013961792],[-0.57735002040863,-0.577350437641144,0.577350199222565],[-0.57735002040863,-0.577350437641144,0.577350199222565],[-0.57735002040863,-0.577350437641144,0.577350199222565],[-0.577350199222565,-0.577350378036499,0.577350258827209],[-0.577350199222565,-0.577350378036499,0.577350258827209],[-0.577350199222565,-0.577350378036499,0.577350258827209],[-0.577350199222565,-0.577350318431854,0.577350258827209],[-0.577350199222565,-0.577350318431854,0.577350258827209],[-0.577350199222565,-0.577350318431854,0.577350258827209],[-0.57735002040863,-0.577350318431854,0.577350378036499],[-0.57735002040863,-0.577350318431854,0.577350378036499],[-0.57735002040863,-0.577350318431854,0.577350378036499],[-0.577350378036499,-0.577350318431854,0.577350318431854],[-0.577350378036499,-0.577350318431854,0.577350318431854],[-0.577350378036499,-0.577350318431854,0.577350318431854],[-0.577349662780762,-0.577350616455078,0.577350556850433],[-0.577349662780762,-0.577350616455078,0.577350556850433],[-0.577349662780762,-0.577350616455078,0.577350556850433],[-0.577350378036499,-0.57735013961792,0.577350258827209],[-0.577350378036499,-0.57735013961792,0.577350258827209],[-0.577350378036499,-0.57735013961792,0.577350258827209],[-0.577350378036499,-0.57735013961792,0.577350258827209],[-0.577350378036499,-0.57735013961792,0.577350258827209],[-0.577350378036499,-0.57735013961792,0.577350258827209],[-0.577350318431854,-0.577350378036499,0.57735013961792],[-0.577350318431854,-0.577350378036499,0.57735013961792],[-0.577350318431854,-0.577350378036499,0.57735013961792],[-0.577349901199341,-0.577350080013275,0.577350795269012],[-0.577349901199341,-0.577350080013275,0.577350795269012],[-0.577349901199341,-0.577350080013275,0.577350795269012],[-0.577350378036499,-0.577350199222565,0.57735013961792],[-0.577350378036499,-0.577350199222565,0.57735013961792],[-0.577350378036499,-0.577350199222565,0.57735013961792],[-0.577350080013275,-0.577350437641144,0.577350258827209],[-0.577350080013275,-0.577350437641144,0.577350258827209],[-0.577350080013275,-0.577350437641144,0.577350258827209],[-0.577350437641144,-0.57735013961792,0.577350258827209],[-0.577350437641144,-0.57735013961792,0.577350258827209],[-0.577350437641144,-0.57735013961792,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350318431854,0.577350199222565],[-0.577350258827209,-0.577350318431854,0.577350199222565],[-0.577350258827209,-0.577350318431854,0.577350199222565],[-0.577350199222565,-0.577350318431854,0.577350199222565],[-0.577350199222565,-0.577350318431854,0.577350199222565],[-0.577350199222565,-0.577350318431854,0.577350199222565],[-0.577349841594696,-0.577350556850433,0.577350318431854],[-0.577349841594696,-0.577350556850433,0.577350318431854],[-0.577349841594696,-0.577350556850433,0.577350318431854],[-0.577350318431854,-0.577350199222565,0.577350318431854],[-0.577350318431854,-0.577350199222565,0.577350318431854],[-0.577350318431854,-0.577350199222565,0.577350318431854],[-0.577350080013275,-0.577350497245789,0.577350258827209],[-0.577350080013275,-0.577350497245789,0.577350258827209],[-0.577350080013275,-0.577350497245789,0.577350258827209],[-0.57735013961792,-0.577350199222565,0.577350437641144],[-0.57735013961792,-0.577350199222565,0.577350437641144],[-0.57735013961792,-0.577350199222565,0.577350437641144],[-0.577350616455078,-0.577350258827209,0.57735002040863],[-0.577350616455078,-0.577350258827209,0.57735002040863],[-0.577350616455078,-0.577350258827209,0.57735002040863],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350556850433,-0.577350080013275,0.57735013961792],[-0.577350556850433,-0.577350080013275,0.57735013961792],[-0.577350556850433,-0.577350080013275,0.57735013961792],[-0.577350258827209,-0.577350378036499,0.57735013961792],[-0.577350258827209,-0.577350378036499,0.57735013961792],[-0.577350258827209,-0.577350378036499,0.57735013961792],[-0.577350378036499,-0.577350318431854,0.577350258827209],[-0.577350378036499,-0.577350318431854,0.577350258827209],[-0.577350378036499,-0.577350318431854,0.577350258827209],[-0.577350378036499,-0.577350258827209,0.577350199222565],[-0.577350378036499,-0.577350258827209,0.577350199222565],[-0.577350378036499,-0.577350258827209,0.577350199222565],[-0.577350080013275,-0.577350378036499,0.57735013961792],[-0.577350080013275,-0.577350378036499,0.57735013961792],[-0.577350080013275,-0.577350378036499,0.57735013961792],[-0.577350378036499,-0.577350080013275,0.577350378036499],[-0.577350378036499,-0.577350080013275,0.577350378036499],[-0.577350378036499,-0.577350080013275,0.577350378036499],[-0.577350497245789,-0.577349781990051,0.577350616455078],[-0.577350497245789,-0.577349781990051,0.577350616455078],[-0.577350497245789,-0.577349781990051,0.577350616455078],[-0.577350318431854,-0.577350318431854,0.577350199222565],[-0.577350318431854,-0.577350318431854,0.577350199222565],[-0.577350318431854,-0.577350318431854,0.577350199222565],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350199222565,-0.577350199222565,0.577350318431854],[-0.577350199222565,-0.577350199222565,0.577350318431854],[-0.577350199222565,-0.577350199222565,0.577350318431854],[-0.577350318431854,-0.57735013961792,0.577350378036499],[-0.577350318431854,-0.57735013961792,0.577350378036499],[-0.577350318431854,-0.57735013961792,0.577350378036499],[-0.577350318431854,-0.577350318431854,0.577350318431854],[-0.577350318431854,-0.577350318431854,0.577350318431854],[-0.577350318431854,-0.577350318431854,0.577350318431854],[-0.577350258827209,-0.577350378036499,0.577350258827209],[-0.577350258827209,-0.577350378036499,0.577350258827209],[-0.577350258827209,-0.577350378036499,0.577350258827209],[-0.577350497245789,-0.577349901199341,0.577350318431854],[-0.577350497245789,-0.577349901199341,0.577350318431854],[-0.577350497245789,-0.577349901199341,0.577350318431854],[-0.57735013961792,-0.577350318431854,0.577350318431854],[-0.57735013961792,-0.577350318431854,0.577350318431854],[-0.57735013961792,-0.577350318431854,0.577350318431854],[-0.57735013961792,-0.577350437641144,0.577350378036499],[-0.57735013961792,-0.577350437641144,0.577350378036499],[-0.57735013961792,-0.577350437641144,0.577350378036499],[-0.577350199222565,-0.577350378036499,0.577350199222565],[-0.577350199222565,-0.577350378036499,0.577350199222565],[-0.577350199222565,-0.577350378036499,0.577350199222565],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350318431854,-0.577350258827209,0.577350258827209],[-0.577350199222565,-0.577350437641144,0.577350258827209],[-0.577350199222565,-0.577350437641144,0.577350258827209],[-0.577350199222565,-0.577350437641144,0.577350258827209],[-0.577350199222565,-0.577350258827209,0.577350318431854],[-0.577350199222565,-0.577350258827209,0.577350318431854],[-0.577350199222565,-0.577350258827209,0.577350318431854],[-0.577350199222565,-0.577350258827209,0.577350258827209],[-0.577350199222565,-0.577350258827209,0.577350258827209],[-0.577350199222565,-0.577350258827209,0.577350258827209],[-0.577350497245789,-0.577350378036499,0.577349960803986],[-0.577350497245789,-0.577350378036499,0.577349960803986],[-0.577350497245789,-0.577350378036499,0.577349960803986],[-0.577349781990051,-0.577350795269012,0.577350318431854],[-0.577349781990051,-0.577350795269012,0.577350318431854],[-0.577349781990051,-0.577350795269012,0.577350318431854],[-0.577350258827209,-0.577350258827209,0.577350318431854],[-0.577350258827209,-0.577350258827209,0.577350318431854],[-0.577350258827209,-0.577350258827209,0.577350318431854],[-0.577350437641144,-0.577350437641144,0.577349960803986],[-0.577350437641144,-0.577350437641144,0.577349960803986],[-0.577350437641144,-0.577350437641144,0.577349960803986],[-0.577350318431854,-0.577350318431854,0.577350318431854],[-0.577350318431854,-0.577350318431854,0.577350318431854],[-0.577350318431854,-0.577350318431854,0.577350318431854],[-0.577350080013275,-0.577350676059723,0.57735002040863],[-0.577350080013275,-0.577350676059723,0.57735002040863],[-0.577350080013275,-0.577350676059723,0.57735002040863],[-0.577350080013275,-0.577350497245789,0.577350318431854],[-0.577350080013275,-0.577350497245789,0.577350318431854],[-0.577350080013275,-0.577350497245789,0.577350318431854],[-0.57735013961792,-0.577350497245789,0.57735002040863],[-0.57735013961792,-0.577350497245789,0.57735002040863],[-0.57735013961792,-0.577350497245789,0.57735002040863],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350258827209,-0.577350258827209,0.577350258827209],[-0.577350556850433,-0.577349901199341,0.577350497245789],[-0.577350556850433,-0.577349901199341,0.577350497245789],[-0.577350556850433,-0.577349901199341,0.577350497245789],[-0.577350497245789,-0.57735013961792,0.577350080013275],[-0.577350497245789,-0.57735013961792,0.577350080013275],[-0.577350497245789,-0.57735013961792,0.577350080013275],[-0.577350258827209,-0.57735013961792,0.577350497245789],[-0.577350258827209,-0.57735013961792,0.577350497245789],[-0.577350258827209,-0.57735013961792,0.577350497245789],[-0.577350318431854,-0.577350318431854,0.577350258827209],[-0.577350318431854,-0.577350318431854,0.577350258827209],[-0.577350318431854,-0.577350318431854,0.577350258827209],[-0.577349901199341,-0.577350497245789,0.577350497245789],[-0.577349901199341,-0.577350497245789,0.577350497245789],[-0.577349901199341,-0.577350497245789,0.577350497245789],[-0.577351033687592,-0.577349901199341,0.577349901199341],[-0.577351033687592,-0.577349901199341,0.577349901199341],[-0.577351033687592,-0.577349901199341,0.577349901199341],[-0.577349841594696,-0.577350974082947,0.57735002040863],[-0.577349841594696,-0.577350974082947,0.57735002040863],[-0.577349841594696,-0.577350974082947,0.57735002040863],[-0.577350199222565,-0.577350318431854,0.577350318431854],[-0.577350199222565,-0.577350318431854,0.577350318431854],[-0.577350199222565,-0.577350318431854,0.577350318431854],[-0.577350318431854,-0.577350735664368,0.577349781990051],[-0.577350318431854,-0.577350735664368,0.577349781990051],[-0.577350318431854,-0.577350735664368,0.577349781990051],[-0.577349960803986,-0.577350556850433,0.577350318431854],[-0.577349960803986,-0.577350556850433,0.577350318431854],[-0.577349960803986,-0.577350556850433,0.577350318431854],[-0.577350735664368,-0.577350080013275,0.577350080013275],[-0.577350735664368,-0.577350080013275,0.577350080013275],[-0.577350735664368,-0.577350080013275,0.577350080013275],[-0.577351033687592,-0.577349781990051,0.577349901199341],[-0.577351033687592,-0.577349781990051,0.577349901199341],[-0.577351033687592,-0.577349781990051,0.577349901199341],[-0.577349901199341,-0.577350616455078,0.577350318431854],[-0.577349901199341,-0.577350616455078,0.577350318431854],[-0.577349901199341,-0.577350616455078,0.577350318431854],[-0.577350080013275,-0.577350497245789,0.577350258827209],[-0.577350080013275,-0.577350497245789,0.577350258827209],[-0.577350080013275,-0.577350497245789,0.577350258827209],[-0.57735013961792,-0.577350318431854,0.577350378036499],[-0.57735013961792,-0.577350318431854,0.577350378036499],[-0.57735013961792,-0.577350318431854,0.577350378036499]],"ignoreExtent":false,"flags":32771},"1359":{"id":1359,"type":"light","vertices":[[0,0,1]],"colors":[[1,1,1,1],[1,1,1,1],[1,1,1,1]],"viewpoint":true,"finite":false},"1358":{"id":1358,"type":"background","material":{},"colors":[[0.298039227724075,0.298039227724075,0.298039227724075,1]],"centers":[[0,0,0]],"sphere":false,"fogtype":"none","fogscale":1,"flags":32768},"1360":{"id":1360,"type":"background","material":{"lit":false,"back":"lines"},"colors":[[1,1,1,1]],"centers":[[0,0,0]],"sphere":false,"fogtype":"none","fogscale":1,"flags":32768},"1355":{"id":1355,"type":"subscene","par3d":{"antialias":8,"FOV":30,"ignoreExtent":false,"listeners":1355,"mouseMode":{"none":"none","left":"trackball","right":"zoom","middle":"fov","wheel":"pull"},"observer":[0,0,80.4372482299805],"modelMatrix":[[1,0,0,-1.20363521575928],[0,0.342020153999329,0.939692616462708,2.60269904136658],[0,-0.939692616462708,0.342020153999329,-81.1461563110352],[0,0,0,1]],"projMatrix":[[3.73205089569092,0,0,0],[0,3.73205089569092,0,0],[0,0,-3.86370372772217,-289.967010498047],[0,0,-1,0]],"skipRedraw":false,"userMatrix":[[1,0,0,0],[0,0.342020143325668,0.939692620785909,0],[0,-0.939692620785909,0.342020143325668,0],[0,0,0,1]],"userProjection":[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],"scale":[1,1,1],"viewport":{"x":0,"y":0,"width":1,"height":1},"zoom":1,"bbox":[-10.4673414230347,12.8746118545532,-12.0214519500732,8.90879535675049,-15.9031829833984,11.4966287612915],"windowRect":[228,384,484,640],"family":"sans","font":1,"cex":1,"useFreeType":true,"fontname":"/Library/Frameworks/R.framework/Versions/4.1/Resources/library/rgl/fonts/FreeSans.ttf","maxClipPlanes":6,"glVersion":2.1,"activeSubscene":0},"embeddings":{"viewport":"replace","projection":"replace","model":"replace","mouse":"replace"},"objects":[1360,1361,1359],"subscenes":[],"flags":33027}},"crosstalk":{"key":[],"group":[],"id":[],"options":[]},"width":480,"height":480,"context":{"shiny":false,"rmarkdown":null},"players":[],"webGLoptions":{"preserveDrawingBuffer":true}},"evals":[],"jsHooks":[]}