Skip to content

rodrigodobbin/pythonScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Scripts

Python scripts that runs algorithms commonly asked in university exercises.

  1. Bresenham Line Generation
  2. Digital Differential Analyzer

You need to have python 3.x.x installed in your machine to run the scripts from this repository. You can found how to install python here.


To run a script cd into the folder and run the command:

python SCRIPT_NAME.py


Bresenham Line Generation

Is an algorithm that determines the points of an n-dimensional raster that should be selected in order to form a close approximation to a straight line between two points.

Digital Differential Analyzer

Is an algorithm used for interpolation of variables over an interval between start and end point. DDAs are used for rasterization of lines, triangles and polygons. They can be extended to non linear functions, such as perspective correct texture mapping, quadratic curves, and traversing voxels.

The support we give here is for raster:

  1. Lines

About

Python scripts that runs algorithms commonly asked in university exercises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages