Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 999 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 999 Bytes

Drawings and animations using Python

Tree

Examples of randomly generated trees of depth 14, max deviation angle pi/8 and child branch length ratio between [0.5, 0.8]:

plot plot

Animated tree drawing

Alt Text

Random Maze Generation

The algorithm used to generate the maze is randomized DFS. We start with a grid having walls everywhere between any two cells. We use DFS to open walls by randomly choosing a neighbour.

Alt Text

Maze Solving

Use DFS to solve the generated maze.

Alt Text

Projectile motion

Simulation of a projectile motion based on Newton's second law of motion.

Alt Text

Fluid simulation

Simulation of fluid dynamics using Navier-Stokes equations.

Fire in air

Alt Text

Smoke in air

Alt Text