Skip to content

ZaidShamsi/code_art

Repository files navigation

Hello!

  • My intent has been to create and share scripts in this repository that will produce work products that are of interest to audience at large.
  • At places, I have explored geometric patterns, physics' equations, solved differential equations. I have tried to include links to additional helpful readings in each sub-folders' README file.
  • End goal has been to create exquisite work products. I hope it brings as much joy to you when you see them.

Drawings & Animations

Python is used to produce visually appealing artistic products. Following libraries are extensively used

  • Numpy
  • Matplotlib
  • Turtle

Work products

# Work product title
1 Stars in the sky
2 Spiral triangle
3 Fractal tree
4 Fibonacci spiral heart
5 Four bar mechanism: Infinity coupler curve
6 Famous mathematical curves
7 Pendulum waves
8 Dance of planets

Stars in the sky

stars_in_the_sky

Spiral triangle

spiral_triangle_output

Fractal tree

fractal_tree

Fibonacci spiral heart

fibonacci_spiral_heart

Four bar mechanism: infinity coupler curve

infinity_coupler_curve.mp4

Famous mathematical curves

Its amazing to see that simple algebraic equations generate beautiful curves. These curves can also be found in nature. There is an intersting anecdote regarding world famous logarithmic spiral. The famous mathematician, Jacob Bernoulli was so awestruck by logarithmic spiral that he wanted this to be engraved on his gravestone. The engraver did carve out, but it is an archimedean spiral.

logarithmic spiral

See more curves at famous mathematical curves.

Pendulum waves

pendulum_waves.mp4

Dance of planets

Dance of Venus and Earth

dance_of_venus_and_earth_1.mp4

See more explorations at dance of planets.