Page 39 of 39 FirstFirst ... 293536373839
Results 381 to 388 of 388

Thread: The LaserBoy Thread

  1. #381
    Join Date
    Jul 2008
    Posts
    520

    Default

    Quote Originally Posted by james View Post
    This is what I am currently working on with LaserBoy.

    http://laserboy.org/convergence.mp4


    There are 4000 frames. Each frame is exactly the same line equation; a spiral made by 100 iterations around the unit circle and progressively linearly scaled from 0.0 to 1.0. The only difference between each frame is the number of vertices plotted along the line. It starts with 96 and ends with 303.

    This was rendered from the new version of LaserBoy Formatted ASCII Text.
    This is what it looks like in text:

    Code:
    math one_rotation          360.0
    math one_period            1.0
    math hues_shift_per_frame  3
    
    #    form       frames
    math lissajous  4000
    # amplitude   frequency   phase
      1.0         1.0         0.00
      1.0         1.0         90.0
    # duration    iterations
      100.00      96
    # amplitude   frequency   phase
      1.0         1.0         0.00
      1.0         1.0         90.0
    # duration    iterations
      100.00      303
    
    math cumulative_scale
    # from X Y Z
       0 0 0
    # to X Y Z
       1 1 1
    # acceleration
       0
    
    math render_form_span_hues 1.0
    It will probably take me just as long to document how the new text format works and how to use it as it has to write the code that reads and renders it.

    Would anyone be interested in getting a preview version of LaserBoy and experimenting with the new text format?

    That might be very helpful for me to write instructions. I already know how it works (I think).

    James.
    Reminds me of my QuickBasic days back in the 486 era, plotting parametric EQ's to bmp at high res with a limited number of calculated points- just a change of a given count vs count+1 resulted in a radically different rendering. Now, you've automated the process into an animation and then some. Awesome!

    I also like the fact that you're getting more into color modulation!
    Once milk has been poured over corn flakes, the clock starts ticking.

  2. #382
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    1,498

    Default

    Thanks Dean.

    You and I both have 40+ years of experience with rendering math into images.

    This stuff draws on every bit of that experience and then some!

    I've learned so much in these past few months.

    I hope others will check it out and learn how it works so they can express themselves in 3D color vectors!

    Like I said, I have a lot of work to do just documenting how this new text format works.
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows and Linux (including Raspberry Pi!).
    Download LaserBoy!
    YouTube Tutorials
    Ask me about my LaserBoy Correction Amp Kit for sale!
    Either do or do not do. There is no undo!

  3. #383
    Join Date
    Sep 2014
    Location
    Colorado USA
    Posts
    393

    Default

    Quote Originally Posted by dchammonds View Post
    just a change of a given count vs count+1 resulted in a radically different rendering.
    Ah, yes, the power of the increment!
    ________________________________
    Everything depends on everything else

  4. #384
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    1,498

    Default

    It's a shame so many people seem to be so intimidated by a little math.

    Once you've spent some 40+ years relentlessly pursuing it, it's really no big deal.
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows and Linux (including Raspberry Pi!).
    Download LaserBoy!
    YouTube Tutorials
    Ask me about my LaserBoy Correction Amp Kit for sale!
    Either do or do not do. There is no undo!

  5. #385
    Join Date
    Sep 2014
    Location
    Colorado USA
    Posts
    393

    Default

    Quote Originally Posted by james View Post
    It's a shame so many people seem to be so intimidated by a little math.

    Once you've spent some 40+ years relentlessly pursuing it, it's really no big deal.
    So true. I did a little bit of math back in the 80's, as I said it reminded me of something. Everything new is old.

    Click image for larger version. 

Name:	Stars-001a-L016a.jpg 
Views:	0 
Size:	2.13 MB 
ID:	57306

    Keep up the outstanding work!
    ________________________________
    Everything depends on everything else

  6. #386
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    1,498

    Default

    Very nice!

    .......................
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows and Linux (including Raspberry Pi!).
    Download LaserBoy!
    YouTube Tutorials
    Ask me about my LaserBoy Correction Amp Kit for sale!
    Either do or do not do. There is no undo!

  7. #387
    Join Date
    Sep 2014
    Location
    Colorado USA
    Posts
    393

    Default

    Quote Originally Posted by james View Post
    Very nice!

    .......................
    Thanks.
    The big difference between yours and mine is that yours is true animation while my color modulated "swirls" were generated by an HP mini-mainframe on a hires vector color display and shot as a time-lapse with a 35mm camera at a university. We couldn't do that kind of linear color mod with lasers back then, just RYGB TTL with A/O's, but the general transfer function was developed on my Apple IIe and color enhanced (for fun...and to dream) on the mini. We did a series of 4,5,6 and 8 point "swirls" with incremental degrees of swirl. With the IIe and laser I could do monochromatic or two color variants using single or dual color laser scanners w/on-off blanking. They were always among my favorite effects. I'm working on incorporating 7 color (RGB combinations) TTL modulation in my old Apple IIe FP Basic program. ...just for fun.
    Last edited by lasermaster1977; 11-22-2020 at 10:15.
    ________________________________
    Everything depends on everything else

  8. #388
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    1,498

    Default

    Here's a short one:

    https://laserboy.org/thing.mp4

    Code:
    math one_rotation                  360.0
    math one_period                    1.0
    math iterations                    40000
    math frames                        300
    math normalize_frames_individually 0
    math normalize_frames_with_origin  0
    
    
    #----------------------------------------------
    # https://en.wikipedia.org/wiki/Lissajous_curve
    #     form      frames
    math lissajous  -1
    #     amplitude   frequency   phase
          1.0         1.0         0.00
          1.0         1.0         90.0
    #     duration    iterations
          2000.00      -1
    #     amplitude   frequency   phase
          1.0         1.0         0.00
          1.0         1.0         90.0
    #     duration    iterations
          2000.00     -1
    #----------------------------------------------
    #    form          frames
    math pendulums_xy  -1
    #     x(t) = P1(t)
    #     y(t) = P2(t)
    #     amplitude   frequency   phase   damping   offset
          0.50        7.00        0.00    0.00      0.7
          0.50        7.00        0.00    0.00      0.7
    #     duration    iterations
          1.0         -1
    #     _amplitude  _frequency  _phase  _damping  _offset
          0.50        7.00        0.00    0.00      0.7
          0.50        7.00        0.00    0.00      0.7
    #     _duration   _iterations
          15.0        -1
    math compound_scale
    #----------------------------------------------
    math cumulative_rotates
    #    fulcrum
    #    X        Y        Z
         -2.50    0.00     0.00
    #    rotation * math one_period
    #    X        Y        Z
         0.00     0.00     1.00
    #    acceleration
         0.0
    #    fulcrum
    #    X        Y        Z
         -2.50    0.00     0.00
    #    rotation * math one_period
    #    X        Y        Z
         0.00     0.00     11.00
    #    acceleration
         0.0
    #----------------------------------------------
    math cumulative_rotate
    #    fulcrum
    #    X        Y        Z
         -7.00    0.00     0.00
    #    rotation * math one_period
    #    X        Y        Z
         0.00     0.00     1.00
    #    acceleration
         0.0
    #----------------------------------------------
    math pendulum_xyz
    #     x(t) = P1(t)
    #     y(t) = P2(t)
    #     z(t) = P3(t)
    #     amplitude  frequency  phase  damping  offset
          0.5        2.0        0.0    0.00     1.0
          0.5        3.0        120.0  0.00     1.0
          0.5        5.0        0.0    0.00     1.0
    #     duration  iterations
          1.0       -1
    math compound_rgb
    math render_form
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows and Linux (including Raspberry Pi!).
    Download LaserBoy!
    YouTube Tutorials
    Ask me about my LaserBoy Correction Amp Kit for sale!
    Either do or do not do. There is no undo!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •