Learn R Programming

RFOC (version 3.4-10)

thrust.fault: Thrust Fault Cartoon

Description

Illustrate a thrust fault using animation

Usage

thrust.fault(anim = seq(from = 0, to = 1, by = 0.1), KAPPA = 2,
             Light = c(45, 45))

Value

Graphical Side effects

Arguments

anim

animation vector

KAPPA

Phong parameter for lighting

Light

lighting point

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Program will animate a thrust fault for educational purposes. Animation must be stopped by halting execution.

See Also

strikeslip.fault, thrust.fault

Examples

Run this code


thrust.fault(anim=0, KAPPA=4, Light=c(-20, 80))

if (FALSE) {
#### execute a stop command to stop this animation
anim= seq(from=0, to=1, by=.1) 
thrust.fault(anim=anim, KAPPA=4, Light=c(-20, 80))
}

Run the code above in your browser using DataLab