DotSphere and JuliaSet


As part of the final assignment of the low level programming module at ESAT we were requested to implement and optimize as much as possible the following programs in C and ARM Assembly for Raspberry Pi.

The first step was to implement the effect in C. After that, we worked on a iterative proccess, measuring the performance of different key parts of the code, and optimizing them as much as possible, comparing the results after each optimization. Lastly, once we reached the maximum optimization level, we implemented the most performance critical function of the program in ARM Assembly, with the aim to create a code similar to the assembly code generated by the compiler.


Dot Sphere

The objective of this program was to create an sphere represented by 3d points and rotate it every frame using the fastest possible method.


Julia Set

The objective of this program was to use the Julia Set function, which creates fractals, and optimize as much as possible the way it is drawn into the screen.

Design a site like this with WordPress.com
Get started