ght="160" alt="Julia Fractals" /></a>
</ul>

<p>This FX script prints the first 10 prime numbers:</p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick xc:gray -fx " \
  for (prime=2, prime &lt; 30, composite=0; \
    for (nn=2, nn &lt; (prime/2+1), if ((prime % nn) == 0, composite++, ); nn++); \
      if (composite &lt;= 0, debug(prime), ); prime++)" null:</samp></pre>

<p>See <a href="https://usage.imagemagick.org/transform/index.html#fx#fx">Using FX, The Special Effects Image Op