# Relatively Equal Randomization

{% hint style="info" %}
It's important to note that you will need **at least 2 different quilt blocks** in order to randomize blocks in PreQuilt.&#x20;
{% endhint %}

## <mark style="color:blue;">Relative Method of Randomization: Relatively Equal</mark>

The **Relative Method** enables you to select which blocks you'd like to show up more, relative to others, in your quilt layout.&#x20;

To keep blocks relatively equal, you will not be able to control the exact number of blocks, but they'll be close to equal in quantity of blocks being used.

This is a good use case for when you just want to play with the overall random layout.&#x20;

&#x20;  &#x20;

***

## <mark style="color:blue;">YouTube Video</mark>

{% embed url="<https://youtu.be/4i2i6v9jvHQ>" %}
How to Randomly Layout Blocks with Relatively Equal Quantities
{% endembed %}

&#x20; &#x20;

***

## <mark style="color:blue;">Help Guide</mark>

### <mark style="color:blue;">a | Relatively Equal Number of Blocks</mark>

After creating your quilt blocks, follow these steps to randomly lay out your quilt blocks on your quilt grid. These instructions will give you almost equal numbers of each block in your quilt.

1. Click on the <mark style="color:blue;">**RANDOMIZE tab**</mark> on the left side control panel.

   <div align="left"><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2F0ZUAGYEx7yiRAPJUzWja%2FScreen%20Shot%202024-08-15%20at%2010.01.15%20AM.png?alt=media&#x26;token=94624d09-5f6b-45b1-8c4e-d49755bbb75a" alt=""><figcaption></figcaption></figure></div>
2. Click on the <mark style="color:blue;">**Blocks**</mark> button.

   <div align="left"><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2F0DCN9haiVfM4FXMa1zqG%2FScreen%20Shot%202024-08-15%20at%2010.02.57%20AM.png?alt=media&#x26;token=59f7ebb7-5347-4957-86f8-ba2e88a3c13d" alt=""><figcaption></figcaption></figure></div>
3. The **Block Randomizer panel** will slide out with images of all the blocks you have in your quilt with two hearts next to them.

   <div align="left"><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2FvmQRQlhc4W8V3IUZm7vA%2FScreen%20Shot%202024-08-15%20at%2010.06.35%20AM.png?alt=media&#x26;token=91a9ae59-8752-4c8f-ba19-ce3ba238d0e5" alt=""><figcaption></figcaption></figure></div>
4. To show you how the Block Randomizer works, we'll keep the hearts at two each - which means that there will roughly be the same number of each block.&#x20;
   1. Click on the <mark style="color:blue;">**Select All Cells**</mark> button at the bottom of the panel. This will randomly place blocks into all the block cells in the quilt.

      <div align="left"><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2FPGUNcJ0SPRN1l5AfGyG0%2FScreen%20Shot%202024-08-15%20at%2010.11.02%20AM.png?alt=media&#x26;token=66dcf951-b477-4c81-abfd-7f780373f186" alt=""><figcaption></figcaption></figure></div>
   2. Click on the <mark style="color:blue;">**checkmark next to Allow duplicates**</mark>. Since we only 2 quilt blocks, but 100 block cells, the quilt blocks will need to be used multiple times.

      <div align="left"><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2F8rRVtjpIijAV91aYzk3N%2FScreen%20Shot%202024-08-15%20at%2010.13.03%20AM.png?alt=media&#x26;token=10b800dd-fe8e-4aba-b527-1c2a00c96456" alt=""><figcaption></figcaption></figure></div>
   3. Click on the <mark style="color:blue;">**Apply Blocks Randomly**</mark> button.

      <div align="left"><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2F70ir3P8RIr9JpoHKfGIa%2FScreen%20Shot%202024-08-15%20at%2010.13.19%20AM.png?alt=media&#x26;token=e709c3a0-aee7-4c9f-ba91-2b232be05585" alt=""><figcaption></figcaption></figure></div>
5. Click on the <mark style="color:blue;">**x button**</mark> (<img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2FUCVQISw9NPRKuPoC1hqh%2FScreen%20Shot%202024-08-15%20at%2010.29.32%20AM.png?alt=media&#x26;token=b53b5cca-9a94-4d9b-a7e1-9fa54a2a08bb" alt="" data-size="line">) at the top right of the panel.

   <div align="left"><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2FeQABsJR8G2Cc53WgdFrq%2FScreen%20Shot%202024-08-15%20at%2010.29.48%20AM.png?alt=media&#x26;token=3be4055d-0c60-45a9-9e6b-425e58a8e479" alt=""><figcaption></figcaption></figure></div>
6. Since all the block cells are selected, deselect them by <mark style="color:blue;">**clicking outside the quilt grid**</mark>.
7. You can now see that both versions of the quilt block have been randomly laid out in the quilt grid and that there are relatively equal numbers of each block.

   <div><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2FPVzJY979LlMMFKG47ty5%2FScreen%20Shot%202024-08-15%20at%2010.16.27%20AM.png?alt=media&#x26;token=b4bd1d93-b07b-4737-831b-d3f3e6c0193a" alt=""><figcaption><p>Before - Equal quantities of each block</p></figcaption></figure> <figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2F10Eb1XXwwB51TUGpz2dc%2FScreen%20Shot%202024-08-15%20at%2010.15.57%20AM.png?alt=media&#x26;token=c299cb43-c35d-4ef0-bbfb-8a776c28e5fd" alt=""><figcaption><p>Before - Almost equal quantities of each block</p></figcaption></figure></div>

   <div><figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2FjC5ENDAg9Ms8c3ETytXV%2FScreen%20Shot%202024-08-15%20at%2010.08.48%20AM.png?alt=media&#x26;token=8ca3baf7-0a77-4fcb-a017-7794a6880111" alt=""><figcaption><p>Before - Equal quantities not randomly laid out</p></figcaption></figure> <figure><img src="https://667278489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPUFswdysHBJDPIJC9xe0%2Fuploads%2FPzDAjKt1jL7ujModkrLL%2FScreen%20Shot%202024-08-15%20at%2010.15.44%20AM.png?alt=media&#x26;token=479c9612-c35a-4a94-8cc3-cb50769116a8" alt=""><figcaption><p>Before - Almost equal quantities randomly laid out</p></figcaption></figure></div>

&#x20;   &#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.prequilt.com/prequilt-features/randomization/block-randomization/relative-randomization/relatively-equal-randomization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
