Skip to content

SergiuPogor/PY_IMAGE_GENERATOR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PY_IMAGE_GENERATOR

Python Script to Generate Geometrical Images


Table of Contents


Installation

pip install -r requirements.txt 

Usage

Run any examples from src/*.py

python src/gradient_effects.py

Effects

Gradient Effects Instead of using a solid color for each circle, you can create gradient effects by generating random colors within a certain range and smoothly transitioning the colors from one circle to another.
python src/gradient_effects.py

Examples:

Random Shapes Instead of circles, you can experiment with drawing random shapes such as squares, triangles, or polygons at different positions and sizes. You can also combine multiple shapes to create more complex patterns.
python src/random_shapes.py

Examples:

Particle Systems Simulate particle systems by generating multiple small shapes (e.g., dots) with random positions and velocities. You can add gravity or other forces to create interesting movement patterns.
python src/particle_systems.py

Examples:

Noise-based Utilize various noise functions (e.g., Perlin noise) to create organic and natural-looking effects. You can manipulate the noise parameters to control the density, scale, and variation of the patterns.
python src/noise_based.py

Examples:

Pixel Art Create pixel art by randomly coloring individual pixels on a canvas. You can define a palette of colors and randomly assign them to pixels, resulting in a retro and nostalgic visual style.
python src/pixel_art.py

Examples:

Fractal Trees Implement a recursive algorithm to draw fractal trees. Starting from a trunk, branch out into smaller branches recursively, varying the length and angle of each branch. This creates intricate and self-repeating tree-like patterns.
python src/fractal_trees.py

Examples:

Kaleidoscope Implement a recursive algorithm to draw fractal trees. Starting from a trunk, branch out into smaller branches recursively, varying the length and angle of each branch. This creates intricate and self-repeating tree-like patterns.
python src/kaleidoscope.py

Examples:


Support

The team is always here to help you. Happen to face an issue? Want to report a bug? You can submit one here on GitHub using the Issue Tracker.

(back to top)


Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "feature". Don't forget to give the project a star! Thanks again !!!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/YourNewFeature)
  3. Commit your Changes (git commit -m 'Add some YourNewFeature')
  4. Push to the Branch (git push origin feature/YourNewFeature)
  5. Open a Pull Request

(back to top)


Buy Me a Coffee

This project will be always an open source, even if I don't get donations. That being said, I know there are amazing people who may still want to donate just to show their appreciation.

Buy Me A Coffee

Thank you very much in advance !!!

We accept donations through Ko-fi, PayPal, BTC or ETH. You can use the buttons below to donate through your method of choice.

Donate With Address
Ko-fi Click Here
PayPal Click Here
BTC Address 3MsUYeUfmpwVS2QrnRbLpCjGaVn2WDD6sj
ETH Address 0x10cd16ba338661d2FB683B2481f8F5000FEd5663

(back to top)


License

The MIT License (MIT). Please see License File for more information.

(back to top)