Most recent 314 articles



Jun 2026

  1. The SciPy ecosystem, what it is and why you need it
  2. Linear algebra with scipy.linalg

Jan 2026

  1. Drawing shapes in Pycairo
  2. Creating data series in numpy
  3. Basic drawing in Pycairo
  4. Introduction to Pycairo

Dec 2025

  1. Operator overloading

Nov 2025

  1. Integers

Jan 2024

  1. Using subplots in Matplotlib
  2. Lambda functions

Dec 2023

  1. Function objects and lambdas

Apr 2023

  1. generativepy.analytics module
  2. generativepy.geometry3d module
  3. generativepy.math module
  4. generativepy.shape2d module
  5. generativepy.table module

Oct 2022

  1. Pong game using Pygame - step 3
  2. Image processing with pillow and NumPy
  3. Pong game using Pygame - step 2

Sep 2022

  1. Numpy efficiency
  2. Other geometry classes
  3. Using zip in a for loop
  4. Using enumerate in a for loop
  5. For loop using range vs iterables
  6. For loops
  7. Pong game using Pygame
  8. Pong game using Pygame - step 1

Aug 2022

  1. Creating a PNG image of a formula in generativepy
  2. Formulas in generativepy
  3. itertools module - permutations
  4. itertools module - cartesian product
  5. itertools module - combinatoric iterators
  6. itertools module

Jul 2022

  1. Optional module
  2. itertools module - combinations
  3. Line plot in Matplotlib
  4. Fitting a line to a scatter plot in Matplotlib
  5. Scatter plots in Matplotlib
  6. Stem plots in Matplotlib
  7. Styling lines and markers with Matplotlib

Jun 2022

  1. Box plots in Matplotlib
  2. Histograms in Matplotlib
  3. Violin plots in Matplotlib
  4. Data colouring Matplotlib bar charts
  5. Data colouring for Matplotlib plots
  6. Showing data distribution in Matplotlib
  7. Error bars in Matplotlib
  8. Multiple line plots in Matplotlib
  9. Styling Matplotlib plots
  10. Matplotlib data and code
  11. Using categorical data with Matplotlib
  12. Creating simple plots with Matplotlib
  13. Creating quantitative plots with Matplotlib
  14. Using numpy with Matplotlib
  15. Saving Matplotlib plots to file
  16. Creating simple plots with Matplotlib
  17. RegularPolygon
  18. Shapes
  19. Regular polygons in generativepy
  20. generativepy.color module
  21. generativepy versions
  22. Colour schemes in generativepy
  23. Colour in generativepy

May 2022

  1. Function decorators
  2. Advanced vectorisation in numpy

Apr 2022

  1. generativepy.formulas module
  2. Structural optimisation

Mar 2022

  1. Pie charts in Matplotlib
  2. Bar charts in Matplotlib
  3. Key advantages of NumPy
  4. Low level code optimisation
  5. Chain of responsibility pattern
  6. Path objects in generativepy
  7. Turtles in generativepy
  8. Optimisation good practice

Feb 2022

  1. Optimisation
  2. Geometric markers in generativepy

Jan 2022

  1. AngleMarker
  2. Paratick
  3. Tick
  4. Transform class in generativepy
  5. Transform
  6. Transforms in generativepy
  7. Images in generativepy
  8. Complex paths in generativepy
  9. Composite paths in generativepy
  10. Text metrics in generativepy
  11. Text offset in generativepy
  12. Text in generativepy

Dec 2021

  1. Fill styles in generativepy
  2. Stroke styles in generativepy
  3. Bezier curves in generativepy
  4. itertools module - general iterators

Nov 2021

  1. Circles and ellipses in generativepy
  2. Linear gradients in generativepy
  3. Fill patterns in generativepy
  4. Shapes in generativepy
  5. functools module
  6. Colour interpolation in generativepy
  7. Colour properties in generativepy
  8. Alpha colour in generativepy
  9. Colour spaces in generativepy
  10. Derived colour in generativepy
  11. Creating an SVG file with generativepy
  12. Creating animated GIFs with Pillow
  13. Getting started with generativepy
  14. The setup function in generativepy
  15. Simple image in generativepy
  16. Decorator pattern

Oct 2021

  1. itertools module - infinite iterators
  2. Calling functions
  3. Declaring functions
  4. Behavioural design patterns
  5. Builder pattern
  6. Creational design patterns
  7. Structural design patterns

Sep 2021

  1. Strategy pattern
  2. NumPy introduction
  3. Iterators vs iterables
  4. Iterator/iterable protocol

Aug 2021

  1. Singleton pattern
  2. Design patterns
  3. Callable objects
  4. Collections
  5. Object protocols
  6. Creating a simple class

Jul 2021

  1. Image deforming recipes in Pillow

Jun 2021

  1. L Systems and Koch curves
  2. L Systems - creating trees and ferns
  3. L Systems with generativepy
  4. Burning ship fractal with generativepy
  5. Grammar based art with generativepy
  6. Turtle
  7. Cardioid string art with generativepy
  8. Chaos game
  9. Iterated function systems with generativepy
  10. Gingerbread man fractal with generativepy
  11. Coloured Mandelbrot set with generativepy
  12. Mandelbrot set with generativepy
  13. King's dream fractal with generativepy
  14. Coloured tinkerbell fractal with generativepy
  15. Tinkerbell fractal with generativepy
  16. Fractals with generativepy

Apr 2021

  1. CMYK colour space
  2. Greyscale colour space
  3. HSL colour space
  4. Luminance-chrominance colour spaces
  5. Colour depth
  6. Colour spaces
  7. Colour
  8. Light and colour
  9. RGB colour space
  10. Exceptions
  11. Slices

Mar 2021

  1. Image operations with NumPy
  2. Image geometric transforms with NumPy and SciPy
  3. Bouncing ball in pygame
  4. Sprite animation in pygame
  5. generativepy.drawing3d module
  6. Pygame sprite class
  7. Installing pygame
  8. Creating a simple pygame window
  9. Sprites in pygame

Feb 2021

  1. Broadcasting in in numpy
  2. Reducing and accumulating numpy arrays
  3. Vectorisation in numpy

Jan 2021

  1. Universal functions in in numpy
  2. Image

Nov 2020

  1. generativepy Frames
  2. generativepy.nparray module
  3. generativepy.utils module
  4. Image sequences in generativepy

Oct 2020

  1. Path
  2. Bezier
  3. Image colour adjustment recipes in Pillow
  4. Image colour effects recipes in Pillow
  5. Image resizing recipes in Pillow
  6. Image transforming recipes in Pillow
  7. Filters in Pillow
  8. Image enhance recipes in Pillow
  9. Image operations recipes in Pillow
  10. Imaging recipes in Pillow
  11. A simple turtle in generativepy
  12. Polygons in generativepy
  13. Clip regions in generativepy
  14. Fill and stroke in generativepy
  15. Creating GIFs in generativepy
  16. generativepy.gif module

Sep 2020

  1. Colour mode in Pillow
  2. Colour representation in Pillow
  3. generativepy.bitmap module
  4. Partial application

Aug 2020

  1. Device and user space in generativepy.drawing
  2. Geometric art with generativepy
  3. Ellipse
  4. Square
  5. Triangle
  6. Arrowhead
  7. Circle
  8. Line
  9. Polygon
  10. Rectangle
  11. Text
  12. generativepy.graph module
  13. generativepy.tween module
  14. Introduction to unit testing in Python
  15. What is unit testing in Python?
  16. generativepy.geometry module
  17. Patterns - special fills

Jul 2020

  1. generativepy.drawing module
  2. generativepy modules
  3. generativepy.movie module
  4. Getting started with generativepy
  5. Installing generativepy
  6. List monad
  7. Maybe monad
  8. Monads

Jun 2020

  1. Failure monad

May 2020

  1. Exception handling
  2. With statements
  3. Data types
  4. Objects and variables
  5. Converting markdown

Mar 2020

  1. Static sites
  2. Abstract Data Types - coming soon
  3. Big-O notation - coming soon
  4. Dictionaries (data structures) - coming soon
  5. Streams (data structures) - coming soon
  6. Introduction to computer sound
  7. Arrays (data structures)
  8. Introduction to data types
  9. Lists (data structures)
  10. Named tuples
  11. Walrus Operator

Feb 2020

  1. Multidimensional collections
  2. Cryptography terms
  3. Fernet system for symmetric encryption
  4. Hazmat layer
  5. Recipes layer
  6. Cryptography getting started
  7. Recursion and the lru_cache in Python
  8. Linear gradients in Pycairo
  9. Paths and complex shapes in Pycairo
  10. Operators

Jan 2020

  1. Flask webserver - adding a detail view
  2. Flask webserver - adding an About page
  3. Flask webserver - adding HTML and CSS
  4. Flask webserver - dynamic pages
  5. Flask webserver - getting started
  6. Flask webserver - using a database

Sep 2019

  1. Bezier curves in Pycairo
  2. Closures
  3. Functional design patterns
  4. Transforms in Pycairo - rotate
  5. Transforms in Pycairo - scale
  6. Transforms in Pycairo - translate
  7. Creating random data in numpy
  8. Creating numpy arrays from existing data
  9. Creating numpy arrays with fixed values
  10. Data types
  11. Functions
  12. Functional Programming
  13. Pure functions
  14. Map/reduce example

Jan 2019

  1. In place operator overloading
  2. Example classes
  3. Overloading str to control print behaviour

Oct 2018

  1. Python programming paradigms
  2. Object oriented programming
  3. Transforming iterables
  4. Magic methods
  5. Magic methods

Aug 2018

  1. Built-in functions
  2. Sequences
  3. String functions
  4. Tuples
  5. Short circuit evaluation
  6. List comprehensions
  7. Functions
  8. CSV files
  9. Files
  10. Functions
  11. More loops
  12. Strings

Jul 2018

  1. If statements
  2. Lists
  3. Loops
  4. Programming logic
  5. Hello, world!
  6. Beginning Python
  7. Using Python as a calculator
  8. Intermediate Python
  9. Built-in functions on iterables

Apr 2018

  1. Mandelbrot fractal
  2. Spirographs
  3. Displaying text in Pycairo
  4. Flow control
  5. Lists and tuples
  6. Expressions and data types
  7. Python syntax overview

Mar 2018

  1. Image manipulation recipes in Pillow
  2. Lists vs tuples
  3. Immutable objects
  4. Objects and identity
  5. Generators
  6. Iterators
  7. Introduction to Functional Programming
  8. Global variables
  9. Looping over selected items
  10. Changing the loop order
  11. Looping over multiple items (old article)

Feb 2018

  1. Anatomy of a numpy array
  2. Creating numpy arrays
  3. Indexing and slicing numpy arrays

Join the GraphicMaths/PythonInformer Newsletter

Sign up using this form to receive an email when new content is added to the graphpicmaths or pythoninformer websites:



Popular tags

2d arrays abstract data type and angle animation arc array arrays bar chart bar style behavioural pattern bezier curve built-in function callable object chain circle classes close closure cmyk colour combinations comparison operator context context manager conversion count creational pattern data science data types decorator design pattern device space dictionary drawing duck typing efficiency ellipse else encryption enumerate fill filter for loop formula function function composition function plot functools game development generativepy tutorial generator geometry gif global variable greyscale higher order function hsl html image image processing imagesurface immutable object in operator index inner function input installing integer iter iterable iterator itertools join l system lambda function latex len lerp line line plot line style linear gradient linspace list list comprehension logical operator lru_cache magic method mandelbrot mandelbrot set map marker style matplotlib monad mutability named parameter numeric python numpy object open operator optimisation optional parameter or pandas path pattern permutations pie chart pil pillow polygon pong positional parameter print product programming paradigms programming techniques pure function python standard library range recipes rectangle recursion regular polygon repeat rgb rotation roundrect scaling scatter plot scipy sector segment sequence setup shape singleton slicing sound spirograph sprite square str stream string stroke structural pattern symmetric encryption template tex text tinkerbell fractal transform translation transparency triangle truthy value tuple turtle unpacking user space vectorisation webserver website while loop zip zip_longest