Skip to content

Instantly share code, notes, and snippets.

@heuristicus
Created May 17, 2013 19:32
Show Gist options
  • Save heuristicus/5601413 to your computer and use it in GitHub Desktop.
Save heuristicus/5601413 to your computer and use it in GitHub Desktop.
Little GUI based program in C++ for drawing stars based on some properties
1. Define a set of points which are arranged on a circle
2. Connect points by a line
2.1 Which points are connected is defined by some step value - a value of 4 means that you connect point 0 to point 3, for example
Should be good practice for a little C++ programming, and a nice plaything.
Allow definition of number of points and the step - a slider would be nice to see the patterns made
Make it so that the lines can be drawn in real time if desired - gives an idea of the construction process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment