| Short description: |
C-Extension for creating supershapes |
| Category: |
Library/Math |
| Status: |
experimental |
| Created: |
2003-05-19 05:27:23 GMT |
| Last update: |
- |
| Owner: |
Phil Tomson
(Projects of this owner) |
| Homepage: |
not available |
| Download: |
http://www.aracnet.com/~ptkwt/ruby_stuff/supershape.tar.gz
|
| License: |
PublicDomain |
| Dependency: |
|
| Description: |
A Belgian Biologist named Johan Gielis discovered a formula
that can create a vast diversity of natural shapes. By tweaking four parameters it can produce everything from simple triangles and pentagons, to stars, spirals and petals.
For more info on Super Shapes check out this article in Nature:
http://www.nature.com/nsu/030331/030331-3.html
Also, check out this paper which goes into some of the math and suggests settings to try:
http://astronomy.swin.edu.au/~pbourke/curves/supershape/
This package includes a C-extension with the SuperShape
formula. There's also a nifty Tk app that lets you play with different settings and then plots the supershape.
0.0.2: updated to use sliders (TkScale) instead of TkEntry
|