home.social

#fractal — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #fractal, aggregated by home.social.

  1. Julia set of the day:
    \[
    c = -0.42471832454213504-0.5831669136250317i
    \]

    #fractal #generative

  2. Julia set of the day:
    \[
    c = -0.7434938492843806-0.13968667274962132i
    \]

    #fractal #generative

  3. Julia set of the day:
    \[
    c = 0.3463846141417644-0.4688825470466186i
    \]

    #fractal #generative

  4. Julia set of the day:
    \[
    c = -0.9806057998231935-0.17580862467736502i
    \]

    #fractal #generative

  5. Julia set of the day:
    \[
    c = 0.07894839556030858+0.6286411155411429i
    \]

    #fractal #generative

  6. Fun fact: Fractals like this Sierpiński triangle can be generated using very little code, enough to fit in a single 1024 character Mastodon post. Copying the following HTML into a text file and opening it in your browser will create a canvas that renders this image.

    <canvas id="canvas" width="720" height="720"></canvas>
    <script>
    const ctx = canvas.getContext("2d");
    ctx.fillStyle = "#000000";
    ctx.fillRect(0, 0, canvas.width, canvas.height);
    ctx.fillStyle = "#ffffff";
    let x = 0.5, y = 0;
    for (let i = 0; i < 100000; i++) {
    const r = Math.random() * 3;
    if (r < 1) {
    x = (x + 0.5) / 2;
    y /= 2;
    } else if (r < 2) {
    x /= 2;
    y = (y + 1) / 2;
    } else {
    x = (x + 1) / 2;
    y = (y + 1) / 2;
    }
    ctx.fillRect(x * canvas.width, y * canvas.height, 1, 1);
    }
    </script>

    #fractal #programming #graphics

  7. Julia set of the day:
    \[
    c = -1.2552014346861233+0.02124794164785619i
    \]

    #fractal #generative

  8. Julia set of the day:
    \[
    c = -0.8855396960964509-0.2852737041559138i
    \]

    #fractal #generative

  9. #Fractal 14.rc is here with some small but nice enhancements. Which ones you ask? Well, read the release notes to find out!

    discourse.gnome.org/t/fractal-

    #GNOME #Matrix