dwyl / dwyl/learn-zig

Ziggy thing: run Zig code in a Livebook

Open
#11 24 comments 3 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Challenge: Create a Mandelbrot set image with Zig

### Introduction

#### WFT is a Mandelbrot set? 🤯

#### Nice, but how? 😳

Of course, some explanations on how to translate this is into real code.

#### But wait, why? 🧐

1) Well, the algorithm is "easy" to understand, once you understood what a Mandlebrot set is 😁.

2) What is interesting is that the computation lends itself extremely well to parallel processing. So `Go` of course, and maybe `Elixir `(using `Nx`?) are candidates. Lets do it in `Zig` firstly, then maybe `Elixir`.

3) Since we want to produce an image, we also learn to setup and use a Zig library to precisely produce a PNG file from data. It turns out that this is the easiest part (but also happened to be a blocking step).

4) Can I put this altogether and render an image? Lets `Zigler` it and let `Livebook` run and display it!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.