Epicycloid

A simple C++ program to draw epicycloids written using the SFML framework for rendering

Commands

  • up arrow to add points
  • down arrow to decrease the number of points
  • right arrow to increase the jump size
  • left arrow to decrease the jump size

Installation

Install SFML framework

sudo apt install libsfml-dev

Clone the repository

git clone https://github.com/LxAlessandroLx/epicycloid.git

Move into the directory

cd epicycloid

Create the build folder

mkdir build

Build the project

make

And execute it

make run

Usage

Usage: 
 Epicycloid [points] [jump size] [antialiasing level]

Arguments:
 - points              number of points of the circle (default = 300)
 - jump size           multiplication table to use (default = 2)
 - antialiasing level  level of antialiasing to use (default = 0)

Screenshots

Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5

GitHub

View Github