Skip to contents

All functions

add_random_direction()
Add random direction
annotate_aperture()
Draw bitmap image as ggplot2 annotation and cover rest with filled colour
annotate_image()
Draw bitmap image as ggplot2 annotation
bounce_off_circle()
Check for circular arena bouncing and recalculate directions
bounce_off_others()
Check for inter-object bouncing and recalculate directions
bounce_off_square()
Check for square-arena bouncing and recalculate directions
bounce_pair()
Calculate collsion vectors for two objects
cur_speed()
Get current speed
default_settings()
Default settings for position/trajectory code
extrapolate_moment()
Extrapolates object positions based on current state and time
generate_positions_random()
Random object positions
is_distance_at_least()
Tests inter-object distances
is_valid_position()
Is the object a valid position
is_valid_trajectory()
Is the object a valid trajectory
load_trajectory()
Load trajectory from file
make_random_trajectory()
Create random trajectory
motrack
motrack package
new_settings()
Creates a custom copy of settings
plot_position()
Plot object positions
plot_trajectory()
Plot object trajectories
position8c
Example position
render_trajectory_video()
Render video from trajectory
save_trajectory()
Save trajectory to file
simplify_trajectory()
Simplify trajectory
step_direct()
Simple trajectory step function
step_vonmises()
Von Mises trajectory step function
step_waitandmove()
Wait and move step function
step_zigzag()
Zigzag trajectory step function
trajectory8c
Example trajectory
validate_object_direction_change()
Check direction changes for single object trajectory
validate_trajectory()
Sanity check for trajectory