traceOneRay: Trace single ray

Description Usage Arguments Details Value Author(s)

View source: R/ui.R

Description

Trace and spectralize one ray and show it in a 3D plot

Usage

1
traceOneRay(nColors = 10, nInteractions = 3, showNormals = FALSE)

Arguments

nColors

number of colors from the uniform spectrum. Default = 10.

nInteractions

interactions of the ray with the drop. nInteractions -2 gives rainbow number. Default = 3.

showNormals

if TRUE, show normals in the interaction point and plane of interaction. Default = FALSE.

Details

The drop is located at x = 400 and has a radius of 400 The light source is one single reay

Value

Nothing

Author(s)

Fredrik Wartenberg


FredrikWartenberg/rainbowLab documentation built on April 5, 2021, 11:42 p.m.