Our team noticed a problem in modern society. Too few people are exposed to the mathematical wonder of fractals. No more shall the might and majesty be withheld from the average citizen! Mattoni puts the power of fractal generation in the hands of the common folk (as long as they have GCC and SDL2 installed on their system).

What it does

It generates fractals that your mom, your dad, your brother, your sister, your grandma, your grandpa, your aunt, your uncle, your neighbour, your goldfish, and even possibly you can explore (as long as you have GCC and SDL2 installed on your system).

How we built it

We used C, a beautiful language, and SDL2, a monstrous interface.

Challenges we ran into

  • MacOS Retina displays cause all sorts of issues with SDL2's windows
  • Segmentation fault (core dumped)
  • This guy: error
  • * thread #5, stop reason = signal SIGABRT frame #0: 0x00007fff5beff23e libsystem_kernel.dylib`__pthread_kill + 10 libsystem_kernel.dylib`__pthread_kill: -> 0x7fff5beff23e <+10>: jae 0x7fff5beff248 ; <+20> 0x7fff5beff240 <+12>: movq %rax, %rdi 0x7fff5beff243 <+15>: jmp 0x7fff5bef93b7 ; cerror_nocancel 0x7fff5beff248 <+20>: retq

Accomplishments that we're proud of

  • We used 8 gotos.
  • We used 64 threads, so every render is as fast as a PowerPoint transition.
  • We used 3, maybe 4, function pointers.

What we learned

Fractals are cool

What's next for Mattoni

Add more fractals

Built With

  • c
  • function-pointers
  • goto
  • malloc
  • multi-threading
  • sdl
  • segmentation-faults
  • structs
Share this project: