Skip to content

vipasu/MArt

Repository files navigation

MArt = Math + Art

This repo is dedicated to small projects which use math in some way to generate nice pictures.

spectrumSquare.py randomly selects a color from a palette and places it on a grid. Inspired by Ellsworth Kelly.

  • Extended to have a hilbert curve tracing through Hilbert Spectrum

mesh.py connects equally spaced ticks on adjacent axes. Inspired by bored 2nd grade math students.

4 corners

crosshairs.py samples points from a unit circle and draws intersecting axis-aligned lines. Can be customized to sample different distributions within the circle.

Gaussian Crosshairs

music.py plots notes with different heights and colors. No support for tempo or multiple notes at the same time. Let me know if you find any packages that do OMR (optical music recognition).

Random Music

field.py illustrates the shooting method of solving a boundary value problem using binary search on an angle. This is a one dimensional visualization, but may be extended to handle two dimensional acceleration fields.

Reverse Heaviside Field

clock.py minimalist clock design which tries to capture the motion or passage of time in a still shot.

Clock

strange.py (TODO) make a strange attractor

About

Math + Art

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages