convolution-2d-animation
Programmatically create your own videos of a two dimensional convolution operation
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 8 |
| Forks | 9 |
| Open Issues | 0 |
| Last Commit | 2022-06-12 |
| Downloads | 0 |
| Last Indexed | 2026-07-24 13:03 |
Installation
nimble install convolution-2d-animation
choosenim install convolution-2d-animation
git clone https://gitlab.com/brohrer/convolution-2d-animation
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| convolution-2d-animation | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/brohrer/convolution-2d-animation |
|---|---|
| Homepage | https://gitlab.com/brohrer/convolution-2d-animation |
| Registry Source | gitlab |
README
Animations of convolution in two dimensions (images)
This project lets you programmatically create your own videos of a two dimensional convolution operation.

Install
git clone git@gitlab.com:brohrer/convolution-2d-animation.git
Dependencies
git clone https://gitlab.com/brohrer/lodgepole.git
python3 -m pip install -e lodgepole
Also, install FFMPEG
Test
cd convolution-2d-animation
python3 conv_two_d_anim.py
Use
from conv_two_d_anim import render
render(image, kernel)
where image and kernel are 2D NumPy arrays.
To make a one-image summary of a convolution:
from conv_two_d import render
render(image, kernel)

Gallery







