[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-133260-en":3,"doc-seo-133260-105":30,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},133260,2336474466412,"\tJames","https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d",6,"Technology","Mandala - Make computer generated mandalas in Scratch","Learn how to create mindful, computer-generated mandalas using Scratch programming. The project explains mandalas as repeating circular designs used for meditation in Buddhist and Hindu traditions, then guides learners through building a reusable mandala pattern using My Blocks, clone sprites for repetition, and arithmetic operators to adjust sprite position and appearance. Step-by-step instructions cover defining pattern parameters, generating circular motifs, optimizing repeated calls, testing with different values, and resetting the sprite to produce consistent results.","Projects  \nMandala  \nMake computer generated mandalas in Scratch  \nStep 1 You will make  \nCreate a program that generates mandalas.  \nComputer generated art or digital art is simply art that is made using a computer. It can range from drawings created on a tablet , to writing Arti}cial Intelligence (AI) programs to enable a computer to create its own art. In this project , you are going to use programming in Scratch to create mindful artwork.  \nMandala is a Sanskrit word that roughly means “circle” Manadalas are commonly circular designs that have repeating colours, shapes, and patterns. In Buddhist and Hindu traditions, mandalas are helpful in meditation. Creating mandalas is known to be a relaxing and mindful activity.  \nYou will:  \n Use clones to create repeating patterns  \n Use My Blocks to optimise your computer generated art program  \n Use addition + and subtraction  operator blocks to change the appearance and position of a sprite  \nStep 2 Clone shapes to make a pattern  \nClone sprites to create a pattern.  \nOpen the Scratch starter project ([https://scratch.mit.edu/projects/540476254/](https://scratch.mit.edu/projects/540476254/))  . Scratch will open in another browser tab. If you are working o|ine, you can download the starter project ([https://scratch.mit.edu/projects/540476254/](https://scratch.mit.edu/projects/540476254/))  .  \nYou should see a shape sprite that looks a bit like a ~ower petal.  \nYou will use my blocks to create a pattern with this shape. You may remember creating my blocks to organise your code in Nature Rover ([https://projects.raspberrypi.org/en/projects/nature-rover/3](https://projects.raspberrypi.org/en/projects/nature-rover/3)), and to repeat the same code in Puzzle Room ([https://projects.ra](https://projects.ra)[spberrypi.org/en/projects/puzzle-room/4](spberrypi.org/en/projects/puzzle-room/4))  . My blocks can also be used to reuse actions in a dizerent way.  \nGo to My Blocks and name your blocks (we have called it pattern:) . Add repeat as a label to identify the }rst input or what programmer call a parameter. Then click “Add an Input” to actually create the parameter called repeat.  \nTo design how a pattern is made , the }rst step is to deæne pattern.  \n\n| Drag the repeat parameter from deæne pattern into a repeat loop block. | |\n| --- | --- |\n| \u003Cbr>|  |\n\nYou will now use clone blocks to make the same block appear a number of times. Make sure you also add code to change the size and position of the sprite , otherwise the sprites will be stacked on top of each other and you will not be able to see them.  \nAdd some code into the repeat loop of your pattern.  \ndefine  pattern: repeat  repeat     \nrepeat  repeat   \nTip: Deæning makes a general pattern outline. What you are creating now with my blocks is similar to creating a spirograph stencil; it is the tool and the pattern is later created by using it.  \nCreate a pattern with your my blocks. Get the pattern to repeat a number of times when çag clicked.  \nwhen  clicked  \n show  Shape is displayed   set size to  50  %  Not too big   \n go to x:  0  y:  0   Displayed in the middle   \n pattern: repeat  3    \nTest: See what your pattern looks like by clicking the green ~ag to run your program.  \nYou should see the beginning of a mandala pattern. Adding more parameters , or requirements, to your pattern will create the }rst part of your mandala.  \nSave your project  \nStep 3 Make a mandala  \nCreate more patterns to make a mandala!  \nRight click on your deæne pattern block and choose Edit to add more parameters.  \nYou can start by adding a size text label and a size input. Then , add a move label and input , and use these parameters in the blocks below.  \ndefine  \npattern: repeat  repeat  size  size  move  move   \nrepeat  \nchange size by  \nmove  \nmove steps  \ncreate clone of  \nmyself  \nrepeat  \nsize  \nwhen  clicked  \npattern: repeat  3  size  10  move  5   \nTest: See what your pattern looks like by clicking the green ~ag to run your program. It does","cbCaifTxKSH11DF1","https://ap.wps.com/l/cbCaifTxKSH11DF1","pdf",2132165,1,22,"English","en",105,"# Projects\n## Mandala\n## Step 1: Create a program that generates mandalas\n## Step 2: Clone shapes to make a pattern\n## Step 3: Make a mandala\n## Step 4: Set up your sprite","[{\"question\":\"What is a mandala and why is it used in meditation?\",\"answer\":\"A mandala is a Sanskrit word meaning “circle” and refers to circular designs with repeating colours, shapes, and patterns. In Buddhist and Hindu traditions, mandalas are helpful in meditation and are often described as relaxing and mindful.\"},{\"question\":\"How do clones help create repeating mandala patterns in Scratch?\",\"answer\":\"Clones allow the same sprite to appear multiple times during a loop. By changing each clone’s size and position inside the repeat logic, the pattern becomes visible instead of stacking on top of itself.\"},{\"question\":\"What is the purpose of My Blocks in this project?\",\"answer\":\"My Blocks lets you define a reusable general pattern outline. Later, you can call the same pattern multiple times with different parameters to build complete mandala “rows” and keep the program optimized.\"}]","Mandala - Make computer generated mandalas in Scratch | PDF",1787216486,55,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":28},"mandala-make-computer-generated-mandalas-in-scratch","",{"@graph":36,"@context":86},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/technology/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/mandala-make-computer-generated-mandalas-in-scratch/133260/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-22","2026-08-20",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"What is a mandala and why is it used in meditation?","Question",{"text":76,"@type":77},"A mandala is a Sanskrit word meaning “circle” and refers to circular designs with repeating colours, shapes, and patterns. In Buddhist and Hindu traditions, mandalas are helpful in meditation and are often described as relaxing and mindful.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"How do clones help create repeating mandala patterns in Scratch?",{"text":81,"@type":77},"Clones allow the same sprite to appear multiple times during a loop. By changing each clone’s size and position inside the repeat logic, the pattern becomes visible instead of stacking on top of itself.",{"name":83,"@type":74,"acceptedAnswer":84},"What is the purpose of My Blocks in this project?",{"text":85,"@type":77},"My Blocks lets you define a reusable general pattern outline. Later, you can call the same pattern multiple times with different parameters to build complete mandala “rows” and keep the program optimized.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":93},[94,98,102,106,111,114,119,124,129,132,136],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":46,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":112,"slug":113},50,"technology",{"id":115,"doc_module":4,"doc_module_name":46,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":120,"doc_module":4,"doc_module_name":46,"category_name":121,"show_sort_weight":122,"slug":123},8,"Research & Report",30,"research-report",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":126,"show_sort_weight":127,"slug":128},9,"Religion & Spirituality",20,"religion-spirituality",{"id":127,"doc_module":4,"doc_module_name":46,"category_name":130,"show_sort_weight":127,"slug":131},"World Cup","world-cup",{"id":133,"doc_module":4,"doc_module_name":46,"category_name":134,"show_sort_weight":133,"slug":135},10,"Lifestyle","lifestyle",{"id":137,"doc_module":4,"doc_module_name":46,"category_name":138,"show_sort_weight":107,"slug":139},19,"General","general"]