{"id":42,"date":"2026-10-14T09:10:12","date_gmt":"2026-10-14T09:10:12","guid":{"rendered":"https:\/\/dotdiylab.com\/pattern-generator\/"},"modified":"2026-10-14T09:10:15","modified_gmt":"2026-10-14T09:10:15","slug":"pattern-generator","status":"publish","type":"page","link":"https:\/\/dotdiylab.com\/zh\/pattern-generator\/","title":{"rendered":"Pattern Generator"},"content":{"rendered":"<h2 class=\"wp-block-heading\">Turn a picture into a bead pattern<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Upload any photo and get a bead-by-bead grid you can follow, plus the exact list of colours and bag counts to order. The image upload and colour matching are the next phase of this build &mdash; the colour-list format below is already live.<\/p>\n\n\n\n<style>\n.dotdiylab-generator fieldset { border: 1px solid var(--theme-palette-color-5, #e4e7eb); border-radius: 8px; padding: 1.25rem 1.5rem; margin: 0 0 1rem; }\n.dotdiylab-generator legend { font-weight: 600; padding: 0 .5rem; }\n.dotdiylab-generator label { display: block; padding: .35rem 0; cursor: pointer; }\n.dotdiylab-generator .hint { color: var(--theme-palette-color-3, #3f4650); font-size: .9rem; margin: .25rem 0 1rem; }\n.dotdiylab-generator button { background: var(--theme-palette-color-1, #e8503a); color: #fff; border: 0; border-radius: 6px; padding: .75rem 1.5rem; font-weight: 600; cursor: pointer; }\n.dotdiylab-generator button:hover { background: var(--theme-palette-color-2, #c93f2b); }\n<\/style>\n<form class=\"dotdiylab-generator\" action=\"\/zh\/bulk-bead-order\/\" method=\"get\" data-trp-original-action=\"\/bulk-bead-order\/\">\n  <fieldset>\n    <legend>1. How big is the finished piece?<\/legend>\n    <label><input type=\"radio\" name=\"size\" value=\"29\" checked> Small &mdash; 29 &times; 29 beads (one pegboard)<\/label>\n    <label><input type=\"radio\" name=\"size\" value=\"58\"> Medium &mdash; 58 &times; 58 beads (four pegboards)<\/label>\n    <label><input type=\"radio\" name=\"size\" value=\"87\"> Large &mdash; 87 &times; 87 beads (nine pegboards)<\/label>\n  <\/fieldset>\n\n  <fieldset>\n    <legend>2. How many colours may it use?<\/legend>\n    <label><input type=\"radio\" name=\"colors\" value=\"8\"> Up to 8 &mdash; bold, poster-like<\/label>\n    <label><input type=\"radio\" name=\"colors\" value=\"16\" checked> Up to 16 &mdash; balanced<\/label>\n    <label><input type=\"radio\" name=\"colors\" value=\"24\"> Up to 24 &mdash; smooth gradients<\/label>\n  <\/fieldset>\n\n  <fieldset>\n    <legend>3. Generate the shopping list<\/legend>\n    <p class=\"hint\">Pick a size and a colour budget, then write the list on the bulk order page in the format below &mdash; or just paste the codes you already have. Reading colours straight out of a picture is the next stage of this build.<\/p>\n    <button type=\"submit\">Go to the colour list<\/button>\n  <\/fieldset>\n<input type=\"hidden\" name=\"trp-form-language\" value=\"zh\"\/><\/form>\n\n\n\n<h3 class=\"wp-block-heading\">How the colour list works<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A pattern is described as pairs of colour code and bag count, one per line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>A1 x 2\nB4 x 1\nM2 x 3<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>One bag holds 1,000 beads.<\/li><li>Quantities can be written as <code>A1 x 2<\/code>, <code>A1 2 bags<\/code> or <code>A1&ndash;A8<\/code> for a range.<\/li><li>Every code is the same code printed on the bag and listed in the colour chart.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link wp-element-button\" href=\"\/zh\/bulk-bead-order\/\">Go to bulk order<\/a><\/div>\n\n\n<div class=\"wp-block-button is-style-outline is-style-outline--2\"><a class=\"wp-block-button__link wp-element-button\" href=\"\/zh\/beads-color-chart\/\">See every colour<\/a><\/div>\n\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Turn a picture into a bead pattern Upload any photo and get a bead-by-bead grid you can follow, plus the exact list of colours and bag counts to order. The image upload and colour matching are the next phase of this build &mdash; the colour-list format below is already live. 1. How big is the [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-42","page","type-page","status-publish","hentry"],"blocksy_meta":{"has_hero_section":"disabled","styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/dotdiylab.com\/zh\/wp-json\/wp\/v2\/pages\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dotdiylab.com\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dotdiylab.com\/zh\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/dotdiylab.com\/zh\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":1,"href":"https:\/\/dotdiylab.com\/zh\/wp-json\/wp\/v2\/pages\/42\/revisions"}],"predecessor-version":[{"id":49,"href":"https:\/\/dotdiylab.com\/zh\/wp-json\/wp\/v2\/pages\/42\/revisions\/49"}],"wp:attachment":[{"href":"https:\/\/dotdiylab.com\/zh\/wp-json\/wp\/v2\/media?parent=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}