• Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created about 4 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A python program that generates abstract art with variety of shapes, styles and randomization using pygame.

For the youtube video: https://www.youtube.com/watch?v=Xz0j2kR4uDo

Abstract Art Generator

Summary: A python program that generates abstract art with variety of styles, shapes, adjustable options and randomization, using pygame.

Program Info

Python version: 3.7.6, Packages used: pygame, pygame_gui, tkinter

In "Abstract Art Generator", we have two layers to work on. Each of these layers have 4 different adjustable options.
These are: Style, Shape, Complexity and Size
Also for each artwork, there are 20 unique color palettes to choose from. These color palettes have 4 different colors.
Before any shapes are drawn, one color from the color palette is chosen to be the background color, rest are left for shape colors.

Style Options

There are 7 style options, these are:

  • Chaotic: This is the most randomized option.
  • Striped Horizontal: With this layer style the shapes are forced to roughly line up on horizontal lines.
  • Striped Vertical: Same as the horizontal style but the shapes line up on vertical lines this time.
  • Mosaic: Whatever the shape is, they cover the screen with same amount of spacing between them.
  • Cornered: Shapes are forced to be drawn roughly on the corners.
  • Centered: Shapes are forced to be drawn roughlt on the center.
  • Empty: This option is there to make one shape art possible. Sometimes one shape is enough for an artwork.

Shape Options

There are 8 shapes to draw on your art, these are:
Lines, Circles, Sqaures, Hollow Polygons, Filled Polygons, Dots, Curves and Rings
The shapes are pretty self explanatory.

Slider Options

For the slider options, we have Complexity and Size.
Complexity: This corresponds to how complex the layer will be. More shapes, more randomization. This option is more absolute.
Size: This option changes the maximum size that the shapes can have, for that specific layer. This option is more flexible.

  • Note: While complexity works with all layer styles, size has an exception. For mosaic style, because the spacing is calculated by how many shapes has to be drawn, size option doesn't affect shapes with that style.

Extra

I have included an examples folder, and inside it there are 5 example abstract artworks. Just to show what can be done. And there is also an info.txt file in the folder that acts as a guide to create the same artworks yourself.
Make sure to have all the packages required installed, and keep the files in the same folder.
It might take a few seconds to fully run for the first time use. Use command prompt to run the .py file like this:

python art_generator.py

More Repositories

1

Pyint_Pixel-Painter

A 64x64 Pixel art drawing program made in Python, Pygame.
Python
57
star
2

Smart-Boxes_Python-AI

Smart Boxes, Python/Pygame AI Project with Genetic Algorithm
Python
8
star
3

AI-learns-to-drive-Turkish-Grand-Prix

Cars learn to drive through Istanbul Park (Turkish Grand Prix) using genetic algorithm and neural networks.
Python
6
star
4

Video-Games-App

An IMDB-like app for video games.
Kotlin
4
star
5

Hangman-Pygame

A hangman game made in PyGame, with 2 language options with over 250 words combined.
Python
4
star
6

Movie-Collection

Movie Collection Spring Boot Web Application using Spring Boot, JPA/Hibernate, Thymeleaf, Bootstrap, Spring Security, H2 Database
Java
3
star
7

Unutmaz-Chat

Unutmaz Chat, Android Chatroom Application
Java
3
star
8

blueweather

Project BlueWeather is an android app that lists the closest locations to you and shows the 7-day weather forecast for the location you select.
Kotlin
3
star
9

Expense-Tracker

A web application that lets you track your transaction history using React.js. I used Exchange Rates API to convert from currency to currency. The app has a minimalistic user interface and it’s easy to use.
JavaScript
3
star
10

lifenode

LifeNode is a social media wep application that lets users post anything they want.
JavaScript
2
star
11

BankApp

Bank Application ASP.NET Core
C#
2
star
12

wizard-roguelike

Wizard Roguelike
ShaderLab
2
star
13

e-commerce-app-nodejs

An E-commerce web application with NodeJS
JavaScript
2
star
14

ChatOrbit

ChatOrbit is a chat application using NodeJS, Express, React and more.
JavaScript
1
star
15

website

My own website
HTML
1
star
16

todo-app

React Native To-do app
JavaScript
1
star
17

burakcoli

1
star
18

unutmaz.github.io

Unutmaz Studios Website
1
star