LIBRARY
RenderAnalysis
This analysis extends from Dyad.TransientAnalysis
Usage
RenderAnalysis(...)
Source
dyad
analysis RenderAnalysis
extends Dyad.TransientAnalysis
model::Dyad.EmptyComponent = Dyad.EmptyComponent()
"Camera x-position"
parameter x::Real = 2.0
"Camera y-position"
parameter y::Real = 0.5
"Camera z-position"
parameter z::Real = 2.0
"Point the camera looks at [x, y, z]"
parameter lookat::Real[3] = [0, 0, 0]
"Up direction vector [x, y, z]"
parameter up::Real[3] = [0, 1, 0]
"Number of frames per second"
parameter framerate::Integer = 30
"Time scaling factor (>1 slower, <1 faster)"
parameter timescale::Real = 1.0
"""
Output file path (e.g. "animation.mp4" or "animation.gif"). Empty string for auto-naming.
"""
parameter filename::String = ""
"Whether to show coordinate axes and grid"
parameter show_axis::Boolean = false
"Figure width in pixels"
parameter width::Integer = 600
"Figure height in pixels"
parameter height::Integer = 450
"Number of times to loop the animation"
parameter loop::Integer = 1
"Cache solution data for faster rendering"
parameter cache::Boolean = true
"Display figure during recording for real-time camera control"
parameter display::Boolean = false
"If true, open an interactive window with a time slider instead of producing an animation file"
parameter interactive::Boolean = false
relations
endRelated
- Examples