Skip to content

Richardds/Mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandelbrot

Preview

Controls

  • W - Move up
  • A - Move down
  • S - Move left
  • D - Move right
  • Up - Zoom in
  • Down - Zoom out
  • Left - Decrease iterations
  • Right - Increase iterations
  • R - Reset to default state
  • 1 - Point of interest 1
  • 2 - Point of interest 2
  • Esc - Exit

Build

Dependencies

Ubuntu

apt install build-essential cmake libglew-dev libglfw3-dev

Archlinux

# Wayland
yay -S glew glfw-wayland

# X11
yay -S glew glfw-x11

Bootstrap

mkdir build
cd build
cmake ..

Compile

cmake --build . -- -j $(($(nproc) * 3 / 4))