I saw this one day, and decided to write a Processing program to generate this sort of graph for any arbitrary shape. How it works is that a programmer can define their shape using the setLoc
and lineTo
methods of PeriodicShape
. Thus, the programmer can create any shape that is made up of line segments (they don't even need to be connected). The programmer also specifies a center to "scan" around. The program displays both horizontal and vertical graphs, based off both the x- and y-coordinates of the intersections with the shape. The provided code comes with a triangle as an example shape, so the program can be run without modification to show a demo simulation.
-
Notifications
You must be signed in to change notification settings - Fork 0
Draws periodic waves based on the polar form of the loci representing polygons.
License
YawarRaza7349/ShapePeriodicWaves
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Draws periodic waves based on the polar form of the loci representing polygons.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published