Description Usage Arguments Details Value Author(s)
Generates the table with spectral and angular distribution of the different rainbows.
1 2 3 4 5 6 | generateDataMatrix(
universe,
resolution = 10000,
nColors = 1,
rainbows = c(1, 2)
)
|
universe |
The universe (typically one drop) |
rainbows |
Rainbows to generate, e.g. c(1,2,4) for first, second and fourth rainbow |
angularSteps |
Angular resolution for simulation steps |
lambdaSteps |
Stepsize for lambda between visibleMin and visibleMax |
intensity |
How to calculate the intensity in the spectrum: count: just count the number of rays fresnel: apply fresenel formulas to transmission and reflectio |
Central simulation function
a data.table with the spectral and angular intesities for each rainbow
Fredrik Wartenberg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.