
{"id":424,"date":"2008-08-20T09:00:17","date_gmt":"2008-08-20T08:00:17","guid":{"rendered":"http:\/\/www.matthijskamstra.nl\/blog\/?p=424"},"modified":"2009-12-03T21:00:05","modified_gmt":"2009-12-03T20:00:05","slug":"custmm-grumm-ai-2-array","status":"publish","type":"post","link":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/","title":{"rendered":"Custmm Grumm &#8211; AI 2 Array"},"content":{"rendered":"<p>Another experiment towards <a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/category\/design\/custmm-grumm-design\/\">Custmm Grumm<\/a>. This time my task was to export\/import an Illustrator file to Flash&#8230;<\/p>\n<p>Yeah, yeah; I know: you say &#8220;import to stage&#8221; &#8230; correct! \ud83d\ude09<br \/>\nBut what I need is the shape converted to code (coordinates  in the x-direction and y-direction)..<br \/>\nHa, you stopped grinning!<\/p>\n<p>Well the first part is correct.<br \/>\nYou need to import the file to the stage and give every imported shape it&#8217;s own layer.<br \/>\nThis is something that you don&#8217;t want to do by hand (I didn&#8217;t want to \ud83d\ude09 ), so I wrote a jsfl that fixes that for you  (read my post about it here: <a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2008\/08\/13\/object-to-layer-jsfl\/\">object-to-layer-jsfl<\/a>)<\/p>\n<p>After that you need to extract the values (x and y-positions form the corners of the shapes) of the files. Some thing, you don&#8217;t want that to do by hand: I have written a jsfl who does that. (read more about that here: <a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2008\/08\/06\/shape-2-array-jsfl\/\">shape-2-array-jsfl<\/a> )<\/p>\n<p>If you use these two scripts, you get: all imported shapes in different layers, and you can extract all values.<br \/>\nExample of the array:<br \/>\n[as]<br \/>\nvar shapeArrayz:Array = new Array ();<br \/>\nshapeArrayz[0] = [[20.05,169.5,0] , [62.425,169.5,1] , [104.8,169.5,2] , [104.8,169.5,0] , [104.8,211.85,1] , [104.8,254.2,2] , [104.8,254.2,0] , [62.425,254.2,1] , [20.05,254.2,2] , [20.05,254.2,0] , [20.05,211.85,1] , [20.05,169.5,2]];<br \/>\n\/\/ etc&#8230;<br \/>\n[\/as]<br \/>\nThis array off point can be used to generate the shape you just &#8220;traced&#8221;.<\/p>\n<p><a href=\"http:\/\/www.matthijskamstra.nl\/blog\/wp-content\/uploads\/custmmgrummleggenerated.jpg\" rel=\"flashbox[custmmgrumm]\" title=\"Custmm Grumm shape 2 array\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.matthijskamstra.nl\/blog\/wp-content\/uploads\/custmmgrummleggenerated-300x255.jpg\" alt=\"Generated shapes from an Array\" title=\"Custmm Grumm leg generated\" width=\"300\" height=\"255\" class=\"alignnone size-medium wp-image-429\" srcset=\"https:\/\/www.matthijskamstra.nl\/blog\/wp-content\/uploads\/custmmgrummleggenerated-300x255.jpg 300w, https:\/\/www.matthijskamstra.nl\/blog\/wp-content\/uploads\/custmmgrummleggenerated.jpg 977w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&#8211;<\/p>\n<p>This script (below) is used to generate the points (every line has 3 points, the beginning, the end and one inbetween), and the generated shape on the right side (no points, only the shape):<br \/>\n[as]<br \/>\nvar shapeArray:Array = [];<\/p>\n<p>\/\/ visualize the points<br \/>\nfunction createPoints2 (_pointArray:Array) {<br \/>\n\tshapeArray = [];<br \/>\n\tvar point:MovieClipInLibraryWithLinkageName;<br \/>\n\tfor (var i=0; i&lt;_pointArray.length; i++) {<br \/>\n\t\tpoint = new MovieClipInLibraryWithLinkageName();<br \/>\n\t\tpoint.x = _pointArray[i][0];<br \/>\n\t\tpoint.y = _pointArray[i][1];<br \/>\n\t\tvar switchExpression:uint = _pointArray[i][2];<br \/>\n\t\tswitch (switchExpression) {<br \/>\n\t\t\tcase 0 :<br \/>\n\t\t\t\t\/\/trace (0);<br \/>\n\t\t\t\tpoint.alpha = .5;<br \/>\n\t\t\t\tshapeArray.push ([_pointArray[i][0],_pointArray[i][1]]);<br \/>\n\t\t\t\tbreak;<br \/>\n\t\t\tcase 1 :<br \/>\n\t\t\t\t\/\/trace (1);<br \/>\n\t\t\t\tpoint.scaleX = point.scaleY = .5;<br \/>\n\t\t\t\tbreak;<br \/>\n\t\t\tcase 2 :<br \/>\n\t\t\t\t\/\/trace (2);<br \/>\n\t\t\t\tpoint.alpha = .5;<br \/>\n\t\t\t\tpoint.scaleX = point.scaleY = .3;<br \/>\n\t\t\t\tbreak;<br \/>\n\t\t\tdefault :<br \/>\n\t\t\t\ttrace (&quot;Not 0, 1, or 2&quot;);<br \/>\n\t\t}<br \/>\n\t\taddChild (point);<br \/>\n\t}<\/p>\n<p>}<\/p>\n<p>\/\/ draw the new extracted image<br \/>\nfunction drawArray (_arr:Array) {<br \/>\n\t\/\/ trace (&quot;drawArray &quot;);<br \/>\n\tvar _shape:Shape = new Shape();<br \/>\n\t_shape.graphics.lineStyle (1, 0x333333, 1);<br \/>\n\t_shape.graphics.beginFill (0xcccccc);<br \/>\n\t_shape.graphics.moveTo (_arr[0][0], _arr[0][1]); \/\/ starting point<br \/>\n\tfor (var i=1; i&lt;=_arr.length; i+=3) {<br \/>\n\t\t_shape.graphics.curveTo (_arr[i][0], _arr[i][1] , _arr[i+1][0], _arr[i+1][1]);<br \/>\n\t\t\/\/ _shape.graphics.lineTo (_arr[i+1][0], _arr[i+1][1]);<br \/>\n\t}<br \/>\n\t_shape.graphics.endFill ();<br \/>\n\tthis.drawContainer_mc.addChild (_shape);<br \/>\n}<\/p>\n<p>\/\/ jumpstart everything<br \/>\nfunction init (){<br \/>\n\tfor (var j=0; j&lt;shapeArrayz.length; j++) {<br \/>\n\t\t\/\/ trace(shapeArrayz[j])<br \/>\n\t\tcreatePoints2 (shapeArrayz[j]);<br \/>\n\t\tdrawArray (shapeArrayz[j]);<br \/>\n\t}<br \/>\n}<br \/>\ninit ();<\/p>\n<p>[\/as]<\/p>\n<div class=\"update\"><strong>Update #1:<\/strong> I previously used point_mc in the code. That was a movieClip in the library with a linkage name. I changed it in the code, I hope that helps.<\/div>\n<p>Eventually I will use the points, and generated shapes to modify the shape (move a point, create a new shape) and\/or to add points.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another experiment towards Custmm Grumm. This time my task was to export\/import an Illustrator file to Flash&#8230; Yeah, yeah; I know: you say &#8220;import to stage&#8221; &#8230; correct! \ud83d\ude09 But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,151,21,13,11],"tags":[162,148,398,403,95,29,163],"class_list":["post-424","post","type-post","status-publish","format-standard","hentry","category-as3","category-custmm-grumm-design","category-extending-flash","category-grumm","category-urban-papercraft","tag-array","tag-custmm-grumm","tag-flash","tag-grumm","tag-illustrator","tag-jsfl","tag-shape"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Another experiment towards Custmm Grumm. This time my task was to export\/import an Illustrator file to Flash... Yeah, yeah; I know: you say &quot;import to stage&quot; ... correct! ;) But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Matthijs Kamstra\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"[mck] | a polymath zapper\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Custmm Grumm \u2013 AI 2 Array | [mck]\" \/>\n\t\t<meta property=\"og:description\" content=\"Another experiment towards Custmm Grumm. This time my task was to export\/import an Illustrator file to Flash... Yeah, yeah; I know: you say &quot;import to stage&quot; ... correct! ;) But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-08-20T08:00:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-12-03T20:00:05+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Custmm Grumm \u2013 AI 2 Array | [mck]\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Another experiment towards Custmm Grumm. This time my task was to export\/import an Illustrator file to Flash... Yeah, yeah; I know: you say &quot;import to stage&quot; ... correct! ;) But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#article\",\"name\":\"Custmm Grumm \\u2013 AI 2 Array | [mck]\",\"headline\":\"Custmm Grumm &#8211; AI 2 Array\",\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/wp-content\\\/uploads\\\/custmmgrummleggenerated.jpg\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#articleImage\"},\"datePublished\":\"2008-08-20T09:00:17+01:00\",\"dateModified\":\"2009-12-03T21:00:05+01:00\",\"inLanguage\":\"en-US\",\"commentCount\":4,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#webpage\"},\"articleSection\":\"AS3, Custmm Grumm, Extending Flash, Grumm, Urban papercraft, array, Custmm Grumm, Flash, Grumm, illustrator, JSFL, shape\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/design\\\/#listItem\",\"name\":\"Design\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/design\\\/#listItem\",\"position\":2,\"name\":\"Design\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/design\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/design\\\/urban-papercraft\\\/#listItem\",\"name\":\"Urban papercraft\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/design\\\/urban-papercraft\\\/#listItem\",\"position\":3,\"name\":\"Urban papercraft\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/design\\\/urban-papercraft\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#listItem\",\"name\":\"Custmm Grumm &#8211; AI 2 Array\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/design\\\/#listItem\",\"name\":\"Design\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#listItem\",\"position\":4,\"name\":\"Custmm Grumm &#8211; AI 2 Array\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/design\\\/urban-papercraft\\\/#listItem\",\"name\":\"Urban papercraft\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\",\"name\":\"[mck]\",\"description\":\"a polymath zapper\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Matthijs Kamstra\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/06ff22a1197b6624946e5a3377184f11ddc00ac06a6f1d2311b9d2072bdf61b1?s=96&d=wavatar&r=g\",\"width\":96,\"height\":96,\"caption\":\"Matthijs Kamstra\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#webpage\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/\",\"name\":\"Custmm Grumm \\u2013 AI 2 Array | [mck]\",\"description\":\"Another experiment towards Custmm Grumm. This time my task was to export\\\/import an Illustrator file to Flash... Yeah, yeah; I know: you say \\\"import to stage\\\" ... correct! ;) But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/08\\\/20\\\/custmm-grumm-ai-2-array\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2008-08-20T09:00:17+01:00\",\"dateModified\":\"2009-12-03T21:00:05+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/\",\"name\":\"[mck]\",\"description\":\"a polymath zapper\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Custmm Grumm \u2013 AI 2 Array | [mck]","description":"Another experiment towards Custmm Grumm. This time my task was to export\/import an Illustrator file to Flash... Yeah, yeah; I know: you say \"import to stage\" ... correct! ;) But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct.","canonical_url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#article","name":"Custmm Grumm \u2013 AI 2 Array | [mck]","headline":"Custmm Grumm &#8211; AI 2 Array","author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/www.matthijskamstra.nl\/blog\/wp-content\/uploads\/custmmgrummleggenerated.jpg","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#articleImage"},"datePublished":"2008-08-20T09:00:17+01:00","dateModified":"2009-12-03T21:00:05+01:00","inLanguage":"en-US","commentCount":4,"mainEntityOfPage":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#webpage"},"isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#webpage"},"articleSection":"AS3, Custmm Grumm, Extending Flash, Grumm, Urban papercraft, array, Custmm Grumm, Flash, Grumm, illustrator, JSFL, shape"},{"@type":"BreadcrumbList","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.matthijskamstra.nl\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/#listItem","name":"Design"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/#listItem","position":2,"name":"Design","item":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/urban-papercraft\/#listItem","name":"Urban papercraft"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/urban-papercraft\/#listItem","position":3,"name":"Urban papercraft","item":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/urban-papercraft\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#listItem","name":"Custmm Grumm &#8211; AI 2 Array"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/#listItem","name":"Design"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#listItem","position":4,"name":"Custmm Grumm &#8211; AI 2 Array","previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/urban-papercraft\/#listItem","name":"Urban papercraft"}}]},{"@type":"Organization","@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization","name":"[mck]","description":"a polymath zapper","url":"https:\/\/www.matthijskamstra.nl\/blog\/"},{"@type":"Person","@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author","url":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/","name":"Matthijs Kamstra","image":{"@type":"ImageObject","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/06ff22a1197b6624946e5a3377184f11ddc00ac06a6f1d2311b9d2072bdf61b1?s=96&d=wavatar&r=g","width":96,"height":96,"caption":"Matthijs Kamstra"}},{"@type":"WebPage","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#webpage","url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/","name":"Custmm Grumm \u2013 AI 2 Array | [mck]","description":"Another experiment towards Custmm Grumm. This time my task was to export\/import an Illustrator file to Flash... Yeah, yeah; I know: you say \"import to stage\" ... correct! ;) But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/#breadcrumblist"},"author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"datePublished":"2008-08-20T09:00:17+01:00","dateModified":"2009-12-03T21:00:05+01:00"},{"@type":"WebSite","@id":"https:\/\/www.matthijskamstra.nl\/blog\/#website","url":"https:\/\/www.matthijskamstra.nl\/blog\/","name":"[mck]","description":"a polymath zapper","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"[mck] | a polymath zapper","og:type":"article","og:title":"Custmm Grumm \u2013 AI 2 Array | [mck]","og:description":"Another experiment towards Custmm Grumm. This time my task was to export\/import an Illustrator file to Flash... Yeah, yeah; I know: you say &quot;import to stage&quot; ... correct! ;) But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct.","og:url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/","article:published_time":"2008-08-20T08:00:17+00:00","article:modified_time":"2009-12-03T20:00:05+00:00","twitter:card":"summary_large_image","twitter:title":"Custmm Grumm \u2013 AI 2 Array | [mck]","twitter:description":"Another experiment towards Custmm Grumm. This time my task was to export\/import an Illustrator file to Flash... Yeah, yeah; I know: you say &quot;import to stage&quot; ... correct! ;) But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct."},"aioseo_meta_data":{"post_id":"424","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-12-11 09:01:32","updated":"2025-06-04 09:04:48","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/\" title=\"Design\">Design<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/urban-papercraft\/\" title=\"Urban papercraft\">Urban papercraft<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCustmm Grumm \u2013 AI 2 Array\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.matthijskamstra.nl\/blog"},{"label":"Design","link":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/"},{"label":"Urban papercraft","link":"https:\/\/www.matthijskamstra.nl\/blog\/category\/design\/urban-papercraft\/"},{"label":"Custmm Grumm &#8211; AI 2 Array","link":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/08\/20\/custmm-grumm-ai-2-array\/"}],"_links":{"self":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/comments?post=424"}],"version-history":[{"count":4,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/424\/revisions"}],"predecessor-version":[{"id":459,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/424\/revisions\/459"}],"wp:attachment":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/media?parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/categories?post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/tags?post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}