Skip to content

LucasOpoka/fractol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandelbrot Mandelbrot3 Julia CubicJulia Newton Bow

Quickstart guide for Linux (Debian Like)

Install dependencies

sudo apt update
sudo apt install git cmake make build-essential libx11-dev libglfw3-dev libglfw3 xorg-dev

Clone MLX42 repository

git clone https://github.com/codam-coding-college/MLX42.git

Build MLX42

cd MLX42
cmake -B build
cmake --build build -j4
cd ..

Clone fractol repository

git clone https://github.com/LucasOpoka/fractol.git

Build fractol Mandatory version - for those sets: Mandelbrot, Julia.

cd fractol
make

Build fractol Bonus version - for those sets: Mandelbrot, Julia, Newton, Bow, Mandelbrot3, CubicJulia.

cd fractol
make

Test run

./fractol Mandelbrot

Quickstart guide for Linux (Debian Like) with Docker

Build Docker

docker build -t fractol - << EOF
FROM ubuntu
ENV DISPLAY=:0
RUN apt update && apt install -qqy x11-apps git cmake make build-essential libx11-dev libglfw3-dev libglfw3 xorg-dev
RUN git clone https://github.com/codam-coding-college/MLX42.git
RUN cd MLX42 && cmake -B build && cmake --build build -j4 && cd ..
RUN git clone https://github.com/LucasOpoka/fractol.git
WORKDIR /fractol
RUN make bonus
CMD ["./fractol", "CubicJulia"]
EOF

Run Docker

XSOCK=/tmp/.X11-unix
XAUTH=/tmp/.docker.xauth
xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
docker run -ti -v $XSOCK:$XSOCK -v $XAUTH:$XAUTH -e XAUTHORITY=$XAUTH fractol

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published