Learn R Programming

RFOC (version 3.4-6)

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))

Arguments

anim

animation vector

KAPPA

Phong parameter for lighting

Light

lighting point

Value

Graphical Side effects

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
# NOT RUN {

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

# }
# NOT RUN {
#### 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))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab