Skip to content

A game based on graphics, which are generated from prime numbers and definable values. Programmed with Python3 and Pygame

License

Notifications You must be signed in to change notification settings

spheppner/primeGraphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

primeGraphics

This is a prototype. I'm currently trying to think of new ways with which I could generate more interactive art. If you have any ideas, PLEASE contact me.

A program, which generates graphics based on prime numbers. Programmed with Python3 and Pygame

image

Graphics of Prime

Requirements

  • Python
  • Pygame

Navigation

Use arrow buttons on keyboard to navigate:

→ ...... more

← ...... less

↓ ....... navigate down

↑ ....... navigate up

The O.K. button at the left side of the screen is also pressed by using the right arrow. If you press the "O.K." button, the new layer will be calculated and the new graphic will be shown.

Functions

There are six bars on the left side of the screen which have the following meaning: (numbered from top to bottom)

  1. 1st color value

  2. 2nd color value

  3. 3rd color value

  4. 1st position value

  5. 2nd position value (position values can be individual and might change if other position values are set on specific numbers)

  6. 3rd position value

Description

With this program you aren't generating random graphics, but graphics influenced by specific values. The first layer that is generated is based on prime numbers. From there each new layer is added/changed, depending on how the values were set. This can go on until each combination of individual values is tried through. Then the end is reached.

Currently there are 720 different combinations in color and position value of the graphic, that are possible to achieve.

Move the bars at the left side of the screen, by using the buttons shown above (arrow keys) and see what happens after you press the "O.K." Button.

Little Tip

If you combine the 3rd blue bar other blue bars, there will always be a really good outcome in graphics. :)

Releases

No releases published

Packages

No packages published

Languages