{"id":1696,"date":"2020-04-12T16:03:00","date_gmt":"2020-04-12T14:03:00","guid":{"rendered":"http:\/\/www.albertopasca.it\/whiletrue\/?p=1696"},"modified":"2023-06-26T15:44:13","modified_gmt":"2023-06-26T13:44:13","slug":"arkit-detect-plane-with-augmented-reality","status":"publish","type":"post","link":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/","title":{"rendered":"ARKit &#8211; detect plane with augmented reality"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Draw a <em>grid on the floor<\/em> using augmented reality and eventually place objects on it.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277.png?resize=1024%2C473\" alt=\"augmente reality, arkit, plane detection, grid\" class=\"wp-image-1792\" srcset=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277.png?resize=1024%2C473 1024w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277.png?resize=300%2C139 300w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277.png?resize=768%2C355 768w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277.png?resize=1536%2C709 1536w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277.png?resize=2048%2C946 2048w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">The grid on the floor placed using ARKit<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Let&#8217;s see how it works<\/h2>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Create a new project, as usual, choose &#8220;<strong>Augmented Reality App<\/strong>&#8220;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Few things to add in order to detect plane, first in <strong>viewDidLoad<\/strong>, add:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"swift\" class=\"language-swift\">sceneView.<strong>autoenablesDefaultLighting<\/strong> = true\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Next, in the <strong>viewWillAppear<\/strong> set in the configuration the plane detection:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"swift\" class=\"language-swift\">configuration.<strong>planeDetection<\/strong> = .horizontal \n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Cool, you&#8217;re are ready to detect planes.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-vivid-cyan-blue-color has-css-opacity has-vivid-cyan-blue-background-color has-background\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Draw the grid on plane<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Implement the <strong>ARSCNViewDelegate<\/strong> to draw the grid:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"swift\" class=\"language-swift\">func <strong>renderer<\/strong>(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) { }\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Save the grid image:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/grid.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"512\" src=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/grid.png?resize=512%2C512\" alt=\"\" class=\"wp-image-1818\" srcset=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/grid.png?w=512 512w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/grid.png?resize=300%2C300 300w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/grid.png?resize=150%2C150 150w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/grid.png?resize=100%2C100 100w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">And draw the grid on the screen (<strong>floor<\/strong>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"swift\" class=\"language-swift\">func <strong>renderer<\/strong>(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) {\n\n     \/\/ plane detected\n &nbsp; &nbsp; if anchor is <strong>ARPlaneAnchor<\/strong> {\n &nbsp; &nbsp; &nbsp; &nbsp; let planeAnchor = anchor as! ARPlaneAnchor\n &nbsp; &nbsp; &nbsp; &nbsp; let plane = SCNPlane(width: CGFloat(planeAnchor.extent.x), height: CGFloat(planeAnchor.extent.z))\n \n &nbsp; &nbsp; &nbsp; &nbsp; let planeNode = SCNNode()\n &nbsp; &nbsp; &nbsp; &nbsp; planeNode.position = SCNVector3(x: planeAnchor.center.x, y: 0, z: planeAnchor.center.z)\n &nbsp; &nbsp; &nbsp; &nbsp; planeNode.transform = SCNMatrix4MakeRotation(-Float.pi\/2, 1, 0, 0)\n \n         \/\/ add the grid as material\n &nbsp; &nbsp; &nbsp; &nbsp; let gridMaterial = SCNMaterial()\n &nbsp; &nbsp; &nbsp; &nbsp; gridMaterial.diffuse.contents = UIImage(named: \"<strong>art.scnassets\/grid.png<\/strong>\")\n &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;\n &nbsp; &nbsp; &nbsp; &nbsp; plane.materials = [gridMaterial]\n &nbsp; &nbsp; &nbsp; &nbsp; planeNode.geometry = plane\n \n         \/\/ place the grid when needed\n &nbsp; &nbsp; &nbsp; &nbsp; node.<strong>addChildNode<\/strong>(planeNode)\n &nbsp; &nbsp; } else {\n &nbsp; &nbsp; &nbsp; &nbsp; return\n &nbsp; &nbsp; }\n } <\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-vivid-cyan-blue-color has-css-opacity has-vivid-cyan-blue-background-color has-background\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enjoy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Draw a grid on the floor using augmented reality and eventually place objects on it. Let&#8217;s see how it works<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[821,834,828,835,829,830,832,833],"class_list":["post-1696","post","type-post","status-publish","format-standard","hentry","category-generic","tag-arkit","tag-arplaneanchor","tag-augmented-reality","tag-grid","tag-plane","tag-planedetection","tag-renderer","tag-scnscenerenderer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ARKit - detect plane with augmented reality - while (true) {\u00a0}<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ARKit - detect plane with augmented reality - while (true) {\u00a0}\" \/>\n<meta property=\"og:description\" content=\"Draw a grid on the floor using augmented reality and eventually place objects on it. Let&#8217;s see how it works\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/\" \/>\n<meta property=\"og:site_name\" content=\"while (true) {\u00a0}\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-12T14:03:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-26T13:44:13+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277-1024x473.png\" \/>\n<meta name=\"author\" content=\"Alberto Pasca\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lupasca\" \/>\n<meta name=\"twitter:site\" content=\"@lupasca\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alberto Pasca\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/\"},\"author\":{\"name\":\"Alberto Pasca\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"headline\":\"ARKit &#8211; detect plane with augmented reality\",\"datePublished\":\"2020-04-12T14:03:00+00:00\",\"dateModified\":\"2023-06-26T13:44:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/\"},\"wordCount\":103,\"publisher\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"image\":{\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/IMG_1277-1024x473.png\",\"keywords\":[\"arkit\",\"arplaneanchor\",\"augmented reality\",\"grid\",\"plane\",\"planeDetection\",\"renderer\",\"SCNSceneRenderer\"],\"articleSection\":[\"generic\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/\",\"url\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/\",\"name\":\"ARKit - detect plane with augmented reality - while (true) {\u00a0}\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/IMG_1277-1024x473.png\",\"datePublished\":\"2020-04-12T14:03:00+00:00\",\"dateModified\":\"2023-06-26T13:44:13+00:00\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.albertopasca.it\\\/whiletrue\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/IMG_1277.png?fit=2436%2C1125\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.albertopasca.it\\\/whiletrue\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/IMG_1277.png?fit=2436%2C1125\",\"width\":2436,\"height\":1125},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/arkit-detect-plane-with-augmented-reality\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ARKit &#8211; detect plane with augmented reality\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#website\",\"url\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/\",\"name\":\"while (true) {\u00a0}\",\"description\":\"notes from a developer, tutorials, how-to, ideas\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\",\"name\":\"Alberto Pasca\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"caption\":\"Alberto Pasca\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\"},\"description\":\"Software engineer @ Pirelli &amp; C. S.p.A. with a strong passion for mobile \uf8ff development, security, and connected things.\",\"sameAs\":[\"https:\\\/\\\/www.albertopasca.it\",\"albertopasca\",\"https:\\\/\\\/x.com\\\/lupasca\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ARKit - detect plane with augmented reality - while (true) {\u00a0}","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/","og_locale":"en_US","og_type":"article","og_title":"ARKit - detect plane with augmented reality - while (true) {\u00a0}","og_description":"Draw a grid on the floor using augmented reality and eventually place objects on it. Let&#8217;s see how it works","og_url":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/","og_site_name":"while (true) {\u00a0}","article_published_time":"2020-04-12T14:03:00+00:00","article_modified_time":"2023-06-26T13:44:13+00:00","og_image":[{"url":"http:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277-1024x473.png","type":"","width":"","height":""}],"author":"Alberto Pasca","twitter_card":"summary_large_image","twitter_creator":"@lupasca","twitter_site":"@lupasca","twitter_misc":{"Written by":"Alberto Pasca","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/#article","isPartOf":{"@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/"},"author":{"name":"Alberto Pasca","@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"headline":"ARKit &#8211; detect plane with augmented reality","datePublished":"2020-04-12T14:03:00+00:00","dateModified":"2023-06-26T13:44:13+00:00","mainEntityOfPage":{"@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/"},"wordCount":103,"publisher":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"image":{"@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/#primaryimage"},"thumbnailUrl":"http:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277-1024x473.png","keywords":["arkit","arplaneanchor","augmented reality","grid","plane","planeDetection","renderer","SCNSceneRenderer"],"articleSection":["generic"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/","url":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/","name":"ARKit - detect plane with augmented reality - while (true) {\u00a0}","isPartOf":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/#primaryimage"},"image":{"@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/#primaryimage"},"thumbnailUrl":"http:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277-1024x473.png","datePublished":"2020-04-12T14:03:00+00:00","dateModified":"2023-06-26T13:44:13+00:00","breadcrumb":{"@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/#primaryimage","url":"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277.png?fit=2436%2C1125","contentUrl":"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2020\/03\/IMG_1277.png?fit=2436%2C1125","width":2436,"height":1125},{"@type":"BreadcrumbList","@id":"http:\/\/www.albertopasca.it\/whiletrue\/arkit-detect-plane-with-augmented-reality\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.albertopasca.it\/whiletrue\/"},{"@type":"ListItem","position":2,"name":"ARKit &#8211; detect plane with augmented reality"}]},{"@type":"WebSite","@id":"https:\/\/www.albertopasca.it\/whiletrue\/#website","url":"https:\/\/www.albertopasca.it\/whiletrue\/","name":"while (true) {\u00a0}","description":"notes from a developer, tutorials, how-to, ideas","publisher":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.albertopasca.it\/whiletrue\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac","name":"Alberto Pasca","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","caption":"Alberto Pasca"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g"},"description":"Software engineer @ Pirelli &amp; C. S.p.A. with a strong passion for mobile \uf8ff development, security, and connected things.","sameAs":["https:\/\/www.albertopasca.it","albertopasca","https:\/\/x.com\/lupasca"]}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/1696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/comments?post=1696"}],"version-history":[{"count":45,"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/1696\/revisions"}],"predecessor-version":[{"id":3362,"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/1696\/revisions\/3362"}],"wp:attachment":[{"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/media?parent=1696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/categories?post=1696"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/tags?post=1696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}