<br />
<b>Warning</b>:  Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in <b>/home/clients/7267bc096562fcdb78c0ab60d3ac51fb/web/blog/wp-content/plugins/jetpack/class.jetpack-ixr-client.php</b> on line <b>91</b><br />
{"id":1511,"date":"2026-11-16T16:02:31","date_gmt":"2026-11-16T16:02:31","guid":{"rendered":"https:\/\/barradeau.com\/blog\/?p=1511"},"modified":"2026-11-16T16:50:07","modified_gmt":"2026-11-16T16:50:07","slug":"brickpack","status":"publish","type":"post","link":"http:\/\/barradeau.com\/blog\/?p=1511","title":{"rendered":"BRICKPACK"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img data-attachment-id=\"1545\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1545\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16.jpg\" data-orig-size=\"1106,833\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"dragon_16\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16-300x226.jpg\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16-1024x771.jpg\" decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"771\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16-1024x771.jpg\" alt=\"\" class=\"wp-image-1545\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16-1024x771.jpg 1024w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16-300x226.jpg 300w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16-768x578.jpg 768w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16.jpg 1106w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<p>I released the <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/nicoptere\/brickpack\/\" target=\"_blank\">code for BRICKPACK on Github<\/a> with a Python and JS\/WebGL+WebGPU implementations. <\/p>\n\n\n\n<p>Around September, I got fairly obsessed with Lego assemblies and how to make the best looking models with as few parts as possible. I first did <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/nicoptere\/brickator3000\" target=\"_blank\">BRICKATOR 3000<\/a>, a <strong>real-time Client-Side LEGO parts detector<\/strong> that lets you make a census of the LEGO parts present in a picture. Then of course, I wanted to build new models from the parts at hand. <\/p>\n\n\n\n<p>There exist a couple of models to do that:<\/p>\n\n\n\n<ul>\n<li>BrickGPT <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/AvaLovelace1\/BrickGPT\/\" target=\"_blank\">https:\/\/github.com\/AvaLovelace1\/BrickGPT\/<\/a> that produces guaranteed buildable models from prompts, the results are very blocky and not very expressive.  <\/li>\n\n\n\n<li>BrickNet : <a rel=\"noreferrer noopener\" href=\"https:\/\/kulits.github.io\/BrickNet\/\" target=\"_blank\">https:\/\/github.com\/kulits\/BrickNet\/tree\/master<\/a> a text to LEGO build model, I couldn&#8217;t get it to produce good results from an arbitrary set of bricks but their results looks amazing!<\/li>\n\n\n\n<li>and the new kid in town, BRICKWRIGHT <a rel=\"noreferrer noopener\" href=\"https:\/\/avalovelace1.github.io\/brickwright\/\" target=\"_blank\">https:\/\/avalovelace1.github.io\/brickwright\/<\/a> that creates very good models, guaranteed buildable, this is your best option if you&#8217;re after expressive models. This model was not available when I started this project.<\/li>\n<\/ul>\n\n\n\n<p>So there was no way to go from a <strong>3D model <\/strong>and obtain a LEGO build from parts and that&#8217;s what I was after. So I tried many approaches from brute force to Markov chains, Wave Function Collapse and learnt assemblies swaps but none of these gave good results. You can check the <a rel=\"noreferrer noopener\" href=\"https:\/\/storage.googleapis.com\/nicoptere\/2026\/lego\/generator\/index.html\" target=\"_blank\">BRICKAGEN<\/a> version. It&#8217;s pretty fast and globally fits the target model yet it lacks <em>finesse<\/em>.<\/p>\n\n\n\n<p>The problem is that these techniques often took the easy route ; more or less discretizing \/ voxelizing the input model and using square bricks, disregarding the most expressive assembly tricks, notably ignoring slopes and columns. This was frustrating and at some point, I had the weird &#8211; and somewhat desperate &#8211; idea of using a <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Signed_distance_function\" target=\"_blank\">Signed Distance Function<\/a> to represent the target model and use a set of SDF encoded LEGO parts to recreate the target model.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img data-attachment-id=\"1498\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1498\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog.jpg\" data-orig-size=\"2000,2221\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"catalog\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog-270x300.jpg\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog-922x1024.jpg\" decoding=\"async\" loading=\"lazy\" width=\"922\" height=\"1024\" src=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog-922x1024.jpg\" alt=\"\" class=\"wp-image-1498\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog-922x1024.jpg 922w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog-270x300.jpg 270w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog-768x853.jpg 768w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog-1383x1536.jpg 1383w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog-1844x2048.jpg 1844w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/catalog.jpg 2000w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/a><figcaption class=\"wp-element-caption\">initial SDF parts catalog<\/figcaption><\/figure><\/div>\n\n\n<p>Given a discrete reference unit (the 1*1*1 brick size) I could subdivide the target SDF and scale my parts&#8217; set accordingly, and it worked! <br><strong>BRICKPACK<\/strong> produced more expressive &amp; more faithful models using many less parts (~30% of brickagen!). And the previous algo could still be used to &#8220;clean up&#8221; stacks of tiny parts (see bottom left image).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img data-attachment-id=\"1499\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1499\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8.jpg\" data-orig-size=\"1800,1915\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"run_stanford-bunny_8\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8-282x300.jpg\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8-963x1024.jpg\" decoding=\"async\" loading=\"lazy\" width=\"963\" height=\"1024\" src=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8-963x1024.jpg\" alt=\"\" class=\"wp-image-1499\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8-963x1024.jpg 963w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8-282x300.jpg 282w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8-768x817.jpg 768w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8-1444x1536.jpg 1444w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/run_stanford-bunny_8.jpg 1800w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img data-attachment-id=\"1514\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1514\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase.png\" data-orig-size=\"1364,2158\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"results_showcase\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase-190x300.png\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase-647x1024.png\" decoding=\"async\" loading=\"lazy\" width=\"647\" height=\"1024\" src=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase-647x1024.png\" alt=\"\" class=\"wp-image-1514\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase-647x1024.png 647w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase-190x300.png 190w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase-768x1215.png 768w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase-971x1536.png 971w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase-1294x2048.png 1294w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/results_showcase.png 1364w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/a><figcaption class=\"wp-element-caption\">BRICKPACK at work with various resolutions.<\/figcaption><\/figure><\/div>\n\n\n<p>A big limitation is that BRICKPACK doesn&#8217;t use axles, wheels, hinges or ball connectors, and no &#8220;Studs Not On Top&#8221; assemblies (or SNOT, parts growing perpendicular to other) .<br><br>The <a rel=\"noreferrer noopener\" href=\"https:\/\/storage.googleapis.com\/nicoptere\/2026\/lego\/brickagen\/index.html\" target=\"_blank\">BRICKPACK<\/a> app is available online, the models &#8220;should&#8221; be buildable and it can be exported under various formats (LDR, GLB, PLY), it lets you order the parts for a specific model from the LEGO shop, it can also produce an instructions booklet.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4.png\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img data-attachment-id=\"1542\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1542\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4.png\" data-orig-size=\"1920,884\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-4\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4-300x138.png\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4-1024x471.png\" decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"471\" src=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4-1024x471.png\" alt=\"\" class=\"wp-image-1542\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4-1024x471.png 1024w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4-300x138.png 300w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4-768x354.png 768w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4-1536x707.png 1536w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-4.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>it also lets you export a valid shader to use in <a rel=\"noreferrer noopener\" href=\"https:\/\/www.shadertoy.com\/view\/NXcXD4\" target=\"_blank\">shadertoy<\/a>! <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3.png\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img data-attachment-id=\"1541\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1541\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3.png\" data-orig-size=\"1845,635\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-3\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3-300x103.png\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3-1024x352.png\" decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"352\" src=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3-1024x352.png\" alt=\"\" class=\"wp-image-1541\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3-1024x352.png 1024w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3-300x103.png 300w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3-768x264.png 768w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3-1536x529.png 1536w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/image-3.png 1845w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><br>again, the <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/nicoptere\/brickpack\/\" target=\"_blank\">code is on Github<\/a> with a Python and JS\/WebGL+WebGPU implementations. <br>I left the <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/nicoptere\/brickpack\/blob\/main\/docs\/BRICKATOR3000-light.pdf\" target=\"_blank\">research I did<\/a> and a list of relevant papers, in case you&#8217;re interested or want to iterate using an agent (or your brain).<br><br>here are some beauty shots <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1528\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1528\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/07aefdcb6d6e41feb2890373caf83c9d_24.png\" data-orig-size=\"936,1080\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"07aefdcb6d6e41feb2890373caf83c9d_24\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/07aefdcb6d6e41feb2890373caf83c9d_24-260x300.png\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/07aefdcb6d6e41feb2890373caf83c9d_24-887x1024.png\" decoding=\"async\" loading=\"lazy\" width=\"936\" height=\"1080\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/07aefdcb6d6e41feb2890373caf83c9d_24.png\" alt=\"\" class=\"wp-image-1528\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/07aefdcb6d6e41feb2890373caf83c9d_24.png 936w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/07aefdcb6d6e41feb2890373caf83c9d_24-260x300.png 260w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/07aefdcb6d6e41feb2890373caf83c9d_24-887x1024.png 887w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/07aefdcb6d6e41feb2890373caf83c9d_24-768x886.png 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1533\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1533\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/326494dbe70441d790fd74d06e5b5a39_32.png\" data-orig-size=\"928,1080\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"326494dbe70441d790fd74d06e5b5a39_32\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/326494dbe70441d790fd74d06e5b5a39_32-258x300.png\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/326494dbe70441d790fd74d06e5b5a39_32-880x1024.png\" decoding=\"async\" loading=\"lazy\" width=\"928\" height=\"1080\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/326494dbe70441d790fd74d06e5b5a39_32.png\" alt=\"\" class=\"wp-image-1533\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/326494dbe70441d790fd74d06e5b5a39_32.png 928w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/326494dbe70441d790fd74d06e5b5a39_32-258x300.png 258w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/326494dbe70441d790fd74d06e5b5a39_32-880x1024.png 880w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/326494dbe70441d790fd74d06e5b5a39_32-768x894.png 768w\" sizes=\"(max-width: 928px) 100vw, 928px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1516\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1516\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-29-10-03-19.png\" data-orig-size=\"1066,720\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-From-2026-09-29-10-03-19\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-29-10-03-19-300x203.png\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-29-10-03-19-1024x692.png\" decoding=\"async\" loading=\"lazy\" width=\"1066\" height=\"720\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-29-10-03-19.png\" alt=\"\" class=\"wp-image-1516\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-29-10-03-19.png 1066w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-29-10-03-19-300x203.png 300w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-29-10-03-19-1024x692.png 1024w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-29-10-03-19-768x519.png 768w\" sizes=\"(max-width: 1066px) 100vw, 1066px\" \/><figcaption class=\"wp-element-caption\">early result<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img data-attachment-id=\"1517\" data-permalink=\"http:\/\/barradeau.com\/blog\/?attachment_id=1517\" data-orig-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33.png\" data-orig-size=\"1922,916\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-From-2026-09-22-14-58-33\" data-image-description=\"\" data-medium-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33-300x143.png\" data-large-file=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33-1024x488.png\" decoding=\"async\" loading=\"lazy\" width=\"1922\" height=\"916\" src=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33.png\" alt=\"\" class=\"wp-image-1517\" srcset=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33.png 1922w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33-300x143.png 300w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33-1024x488.png 1024w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33-768x366.png 768w, http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-From-2026-09-22-14-58-33-1536x732.png 1536w\" sizes=\"(max-width: 1922px) 100vw, 1922px\" \/><figcaption class=\"wp-element-caption\">and my failed BrickGPT attempt :)<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I released the code for BRICKPACK on Github with a Python and JS\/WebGL+WebGPU implementations. Around September, I got fairly obsessed with Lego assemblies and how to make the best looking models with as few parts as possible. I first did BRICKATOR 3000, a real-time Client-Side LEGO parts detector that lets you make a census of &#8230; <span class=\"more\"><a class=\"more-link\" href=\"http:\/\/barradeau.com\/blog\/?p=1511\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1545,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sharing_disabled":false,"spay_email":"","jetpack_publicize_message":""},"categories":[15],"tags":[],"jetpack_featured_media_url":"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2026\/11\/dragon_16.jpg","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4oXhx-on","_links":{"self":[{"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1511"}],"collection":[{"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1511"}],"version-history":[{"count":8,"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1511\/revisions"}],"predecessor-version":[{"id":1548,"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1511\/revisions\/1548"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/1545"}],"wp:attachment":[{"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1511"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/barradeau.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}