#################################################
#
#   This file was written by James Lehman.
#   creator of LaserBoy,
#
#   the free, multiplatform laser display
#   application that reads this format.
#
#   <james@akrobiz.com>
#   Extra Stimulus Inc., Akron, Ohio USA
#   http://laserboy.org/
#
#   ASCII format version: LaserBoy-txt-09-07-2022
#
#################################################

#math phase_cycle        360.0
#math rotation_cycle     1.0
#math interval_cycle     1.0

math frames                        100
math still_frames                  1
math first_frames                  1
math last_frames                   1

math normalize_frames_individually 0
math normalize_frames_with_origin  0
math include_unit_reference        0

math save_true_color_dxf           0

math save_txt_with_color           1
math save_txt_color_hex            1
math overwrite_txt_files           1

math bmp_line_width                4
math bmp_render_vectors            0
math bmp_render_vertices           1
math disable_bmp                   yes

math x_of_pi                       yes
math y_of_pi                       yes
math z_of_pi                       no
math radii_of_pi                   no




math  P0                  0.0  -0.5   -1.0
math  P1                  4.0   0.5   -1.0
math  rectangular_grid_x_units  0.5
math  rectangular_grid_y_units  0.25
math  rectangular_grid_xy
math  color_rgb          0 0 128

math  P0      0.0   0.0   -1.0
math  P1      4.0   0.0   -1.0
math  line
math  color_rgb          255 0 0
math  composite

math  store reticle



math  start             0.0
math  duration          2.0
math  iterations        1000

math _start             0.0
math _duration          2.0
math _iterations        1000

math  LBO1 function     sin
math  LBO1 amplitude    half_pi
math  LBO1 frequency    1.0
math  LBO1 phase        0.0
math  LBO1 duty_cycle   0.5
math  LBO1 damping      0.0
math  LBO1 offset       0.0

math _LBO1 function     sin
math _LBO1 amplitude    half_pi
math _LBO1 frequency    1.0
math _LBO1 phase        0.0
math _LBO1 duty_cycle   0.5
math _LBO1 damping      0.0
math _LBO1 offset       0.0






math  LBO1 function     sin
math _LBO1 function     sin
#----------------------------------------------
math  LBO1 duty_cycle   0.5
math _LBO1 duty_cycle   0.5
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 255 0
math composite

#----------------------------------------------
math  LBO1 duty_cycle   1.0
math _LBO1 duty_cycle   0.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 0 255
math composite

#----------------------------------------------
math  LBO1 duty_cycle   0.0
math _LBO1 duty_cycle   1.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          0 255 255
math composite
math render
math save_as_bmp sins 1920 1080







math recall reticle

math  LBO1 function     triangle
math _LBO1 function     triangle
#----------------------------------------------
math  LBO1 duty_cycle   0.5
math _LBO1 duty_cycle   0.5
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 255 0
math composite

#----------------------------------------------
math  LBO1 duty_cycle   1.0
math _LBO1 duty_cycle   0.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 0 255
math composite

#----------------------------------------------
math  LBO1 duty_cycle   0.0
math _LBO1 duty_cycle   1.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          0 255 255
math composite
math render
math save_as_bmp sins 1920 1080







math recall reticle

math  LBO1 function     ramp
math _LBO1 function     ramp
#----------------------------------------------
math  LBO1 duty_cycle   0.5
math _LBO1 duty_cycle   0.5
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 255 0
math composite

#----------------------------------------------
math  LBO1 duty_cycle   1.0
math _LBO1 duty_cycle   0.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 0 255
math composite

#----------------------------------------------
math  LBO1 duty_cycle   0.0
math _LBO1 duty_cycle   1.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          0 255 255
math composite
math render
math save_as_bmp sins 1920 1080







math recall reticle

math  LBO1 function     square
math _LBO1 function     square
#----------------------------------------------
math  LBO1 duty_cycle   0.5
math _LBO1 duty_cycle   0.5
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 255 0
math composite

#----------------------------------------------
math  LBO1 duty_cycle   1.0
math _LBO1 duty_cycle   0.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 0 255
math composite

#----------------------------------------------
math  LBO1 duty_cycle   0.0
math _LBO1 duty_cycle   1.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          0 255 255
math composite
math render
math save_as_bmp sins 1920 1080







math recall reticle

math  LBO1 function     pulse
math _LBO1 function     pulse
#----------------------------------------------
math  LBO1 duty_cycle   0.5
math _LBO1 duty_cycle   0.5
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 255 0
math composite

#----------------------------------------------
math  LBO1 duty_cycle   1.0
math _LBO1 duty_cycle   0.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 0 255
math composite

#----------------------------------------------
math  LBO1 duty_cycle   0.0
math _LBO1 duty_cycle   1.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          0 255 255
math composite
math render
math save_as_bmp sins 1920 1080







math recall reticle

math  LBO1 function     trapezoid
math _LBO1 function     trapezoid
#----------------------------------------------
math  LBO1 duty_cycle   0.5
math _LBO1 duty_cycle   0.5
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 255 0
math composite

#----------------------------------------------
math  LBO1 duty_cycle   1.0
math _LBO1 duty_cycle   0.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 0 255
math composite

#----------------------------------------------
math  LBO1 duty_cycle   0.0
math _LBO1 duty_cycle   1.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          0 255 255
math composite
math render
math save_as_bmp sins 1920 1080







math recall reticle

math  LBO1 function     circle
math _LBO1 function     circle
#----------------------------------------------
math  LBO1 duty_cycle   0.5
math _LBO1 duty_cycle   0.5
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 255 0
math composite

#----------------------------------------------
math  LBO1 duty_cycle   1.0
math _LBO1 duty_cycle   0.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 0 255
math composite

#----------------------------------------------
math  LBO1 duty_cycle   0.0
math _LBO1 duty_cycle   1.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          0 255 255
math composite
math render
math save_as_bmp sins 1920 1080






math recall reticle

math  LBO1 sin          1.0
math  LBO1 triangle     1.0
math  LBO1 ramp         1.0
math  LBO1 square       1.0
math  LBO1 pulse        1.0
math  LBO1 trapezoid    1.0
math  LBO1 circle       1.0

math _LBO1 sin          1.0
math _LBO1 triangle     1.0
math _LBO1 ramp         1.0
math _LBO1 square       1.0
math _LBO1 pulse        1.0
math _LBO1 trapezoid    1.0
math _LBO1 circle       1.0

#----------------------------------------------
math  LBO1 duty_cycle   0.5
math _LBO1 duty_cycle   0.5
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 255 0
math composite

#----------------------------------------------
math  LBO1 duty_cycle   1.0
math _LBO1 duty_cycle   0.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          255 0 255
math composite

#----------------------------------------------
math  LBO1 duty_cycle   0.0
math _LBO1 duty_cycle   1.0
math  _oscillator
#     x = t
#     y = LBO1(t)
math color_rgb          0 255 255
math composite
math render
math save_as_bmp sins 1920 1080


#################################################
#################################################

