View source: R/M003_harmonograph.R
makeHarmonograph | R Documentation |
Functions to calculate a harmonograph runHarmonograph calculates the points. makeHarmonograph makes a component that calculates and plots the output.
makeHarmonograph( frequencies = c(3, 0, 4, 0), phases = c(pi/2, 0, 0, 0), amplitudes = c(1, 0, 1, 0), decay = c(0, 0, 0, 0), ... )
frequencies |
pendulum paramater - numerical vector |
phases |
pendulum paramater - numerical vector |
amplitudes |
pendulum paramater - numerical vector |
decay |
pendulum paramater - numerical vector |
... |
parameters passed to makeParametric. |
The four inputs (frequencies, phases, amplitudes and decay) should all be vectors of the same length.
easyPlot(makeHarmonograph())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.