Skip to content

I was always intrigued to see how math is so beautiful. Thanks to JavaScript for giving me the power to program my curiosity and explore the beauty of chaos in math.

Notifications You must be signed in to change notification settings

Ayyagari99/chaos-in-javascript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Explore the beauty of chaos in math!

What are Fractals?

Fractals are absolutely fascinating and mersmerizing, aren't they? But what exactly are fractals?
They are a class of geometrical figures which have an extremely interesting property: they are self-similar.
This means that however infinitely one zooms into the image, one only views the geometrical figure that was started with!

Origin of Fractals

The term Fractal is derived from the Latin Word fractus. It means something that is broken. Fractals were named so in 1975 by Benoit Mandelbrot.
He described that each portion of a fractal is basically a replication of the original.

The Sierpinski triangle
One of the most popular examples of Fractals is the Sierpinski triangle.
It is created by connecting the mid points of all the three sides of a triangle. These line segments give the smaller triangle, and this goes on.
This creates a visualization of infinite triangles within a single triangle. It was described in 1915 by Waclaw Sierpinski.

The Koch Curve
The Koch Curve begins with a straight line. It is divided into three line segments of equal lengths.
The line in the middle is replaced by the top part of a triangle. The sides of the triangle are the same length as the line in the center that was replaced.
A similar and related fractal is the Koch Snowflake. It begins with an equilateral triangle. It is also known as the Koch Star.
At every scale of zooming in, the shape seems to be exactly the same as the one we began with.

The Mandelbrot Fractal
This is one of the most facsinating and intriguing fractals. It was named after Benoit Mandelbrot, a pioneer of fractal geometry.
It is based on a very simple complex quadratic recurrence equation: Zn+1 = Zn2 + C
It gives a set of points on the complex plane.

What is the Golden Ratio?

The Golden Ratio is sometimes also known as the divine proportion. It is denoted by phi
An interesting recurrence equation which relates to this is an2 = an-1 +1
With a1=1 one deduces that limn->∞ an = phi
Its value approximately equal to 1.618 but it is infact, an irrational number.

Fractals in Nature

Fractals are beautiful. And there is so much more to be explored about the beauty of Math.
Till then try listening to this!
https://www.youtube.com/watch?v=wJ5XVOLncds

Demo

https://rachitiitr.github.io/chaos-in-javascript/

Tutorial

https://www.youtube.com/watch?v=oeM_PexPRAg

More to read and References

Image Reference

About

I was always intrigued to see how math is so beautiful. Thanks to JavaScript for giving me the power to program my curiosity and explore the beauty of chaos in math.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%