Skip to content

Siddharths8212376/cg_algorithms

Repository files navigation

cg_algorithms

Now Available on test.PYPI !!

pip install -i https://test.pypi.org/simple/ cg-algorithms

This project contains ready to use computer graphics algorithms for easier workflow and better productivity, implemented using opengl-python.

Features

  • The given repository contains ready to use implementation of major computer graphics algorithms for easier workflow and better productivity.

Installation

With Python Package Manager pip:

pip install -i https://test.pypi.org/simple/ cg-algorithms

Basic Usage:

import cg_algorithms

For importing the circle algorithms:

# for importing circle algorithms
from cg_algorithms import circle_algorithms

# for importing line algorithms
from cg_algorithms import line_algorithm

Creating a circle object:

new_circle = circle_algorithms(<radius>, <x_centre>, <y_centre>)

Calling the function to draw the circle using Bresenham's algorithm:

new_circle.bresenham_circle()

Credits:

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Sources:

View My Project at: https://test.pypi.org/project/cg-algorithms/0.1.5/

Main Site: https://test.pypi.org/project/cg-algorithms/

Thanking Notes:

Thanking all the contributors for their contributions.

Algorithm's Library and previous builds available at:

https://github.com/Siddharths8212376/PyOpenGL-for-Windows/tree/master/ALGORITHMS_LIBRARY

About

This project contains ready to use implementation along with tests of most graphics algorithms for better workflow and productivity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published