generate serpinski triangles using cool maths
Created by Justyn Chaykowski, github.com/frawst git:github.com/frawst/thetriangle
Contributors: frawst EclectickMedia
- generating a random start point inside the triangle
- Impliment parameter naming
- Impliment paramater image sizing
- Impliment parameter dot-count
Python Serpinski Triangle Generator utilizing randomly incrimented point placement within a pre-defined triangle determined by randomly selecting a vertex then translating half way towards that vertex from the current point. Begin with a 'random' point inside the triangle
Utilizes a list of graphics.py points to generate pseudo-random points within a beginning triangle
finds the distance between two points
given a value ('val'), and the maximum for that value ('limiter'), will anchor/map that value to an RGB value (0-255)