Skip to content

LxAlessandroLx/epicycloid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • F key to toggle fullscreen
  • ESC to exit program

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

Build the project

make

And execute it

make run

Usage

Usage: 
 Epicycloid [options]

Options:
 -p, --points              number of points of the circle (default = 300)
 -j, --jump-size           multiplication table to use (default = 2)
 -a, --antialiasing-level  level of antialiasing to use (default = 0)
 -r, --radius              circle radius lenght in pixels (default = 400)
 -h, --help                display this help

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5


Copyright (C) 2022 Alessandro Chiozza - [email protected]

About

A simple C++ program to draw epicycloids

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published