###############################################
#
#   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  include_unit_reference         yes
#math  normalize_frames_with_origin   yes
#math  normalize_frames_individually  yes

math  to_space          1.0

math  still_frames      200
math  frames            200

math  x_of_pi           yes
math  y_of_pi           yes
math  z_of_pi           yes




#----------------------------------------------
math  LBO1  phase      -180.0
math _LBO1  phase       180.0

math  duration          300
math _duration          300

math  iterations        12000
math _iterations        12000

#----------------------------------------------
# https://en.wikipedia.org/wiki/Lissajous_curve
# x = LBO1(t)
# y = LBO2(t)
math _lissajou
# first frame_set (A)







#----------------------------------------------
math  LBO1  frequency   3.0
math  LBO1  phase       0.0
math  LBO1  offset      1.0

math _LBO1  frequency   3.0
math _LBO1  phase       0.0
math _LBO1  offset      1.0

math  LBO2  frequency   3.0
math  LBO2  phase       0.0
math  LBO2  offset      1.0

math _LBO2  frequency   3.0
math _LBO2  phase       0.0
math _LBO2  offset      1.0

math  start             0.0
math _start             0.0

math  duration          1.0
math _duration          1.0

math  iterations        12000
math _iterations        12000

#----------------------------------------------
# https://en.wikipedia.org/wiki/Lissajous_curve
# x = LBO1(t)
# y = LBO2(t)

math _lissajou
# second frame_set (B)


#----------------------------------------------
math _multiply

#----------------------------------------------
math  displacement      0.0  0.5  0.0
math  move

#----------------------------------------------
math  fulcrum           0.0  0.0  0.0
math  rotation          0.0  0.0  1.0
math  rotate_acceleration    0.0
math  rotate_

#----------------------------------------------
math  rotation          0.0  0.0  0.0
math _rotation          0.0  0.0 -1.0
math _rotate

#----------------------------------------------
math hues_span_factor   2.0
math hues_shift         5
math color_span_hues

math render

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