LaserBoy

Software => Laser Software => LaserBoy !!! => Topic started by: James on January 25, 2009, 03:27:50 am

Title: DOWNLOAD IT HERE !!!
Post by: James on January 25, 2009, 03:27:50 am
This is the latest version!


http://laserboy.org/code/LaserBoy_Current.zip

Please consider donating here:

http://laserboy.org (http://laserboy.org)

James.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on January 27, 2009, 02:26:58 am
Now I have one more post than you!  ::) :-* :P :o ;D

James.  :)
Title: Re: DOWNLOAD IT HERE !!!
Post by: BlinkenLights on January 27, 2009, 07:54:21 am
crap
Title: Re: DOWNLOAD IT HERE !!!
Post by: meandean on January 13, 2011, 05:39:12 pm
 I can't get the add stereo to 6ch wave to work in the latest version... >:(
Title: Re: DOWNLOAD IT HERE !!!
Post by: drlava on March 08, 2011, 09:38:49 pm
I can't either.  It runs for a while, then stops and says o points.  the saved file only has the header.  Is there a version where it works?
Also, when it's 'done' it says offset values for the colors.  Is that because it applied them, or it assumes them?
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on March 12, 2011, 09:11:01 am
I need to get back to the mother ship for the most original code. Then I can fix all kinds of stuff. I'm on a rem ote mission in a far away galaxy at the moment.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on April 19, 2011, 10:07:14 pm
WOW! I've been working on the code and found a bunch of file IO bugs. A few were total crash issues. Did you know that LaserBoy crashes if you don't have a file called in.ild in the ild subdirectory of the LaserBoy folder? Some other weird stuff too, many function calls and layers deep. Who wrote this crap anyway? Hopefully, I'll have a new release soon.

James.  :)
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on April 21, 2011, 09:35:25 pm
I just got laid. Things are looking pretty good for the code. Will update soon. Actually found a lot of new functionality that makes a lot more sense of the LaserBoy wave header information and how it might apply in many other ways. I'll keep ya'll posted. :)

James.  :)
Title: Re: DOWNLOAD IT HERE !!!
Post by: BlinkenLights on April 21, 2011, 10:39:51 pm
did not realize you were an egg....
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on December 20, 2014, 06:37:29 pm
WOW more than 13 months since the previous release!

http://laserboy.org (http://laserboy.org/code/LaserBoy_2014_12_20.zip)/code/LaserBoy_2014_12_20.zip (http://laserboy.org/code/LaserBoy_2014_12_20.zip)

Please consider donating here:

http://laserboy.org (http://laserboy.org/code/LaserBoy_2014_12_20.zip)

James.  :)
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on December 24, 2014, 06:35:14 pm
Fixed the angle_wipe, radial_wipe effects.

http://laserboy.org/code/LaserBoy_2014_12_24.zip (http://laserboy.org/code/LaserBoy_2014_12_24.zip)
Title: Re: DOWNLOAD IT HERE !!!
Post by: LaserCo on December 24, 2014, 11:43:16 pm
Thanks for the update, I will add it to my laserboy collection,

 merry christmas!

I recall that a while back you had fixed up laserboy a little so that it would run the spencer projector properly, was that a One-Off version or is there now a way to select spencer for the projection platform?
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on December 25, 2014, 01:15:51 am
Actually a guy named tribble did a lot of research on exactly what needed to be done to a set of frames to make it work better on the SD card reader. I have not yet worked out all the detales on how to make that into a LB frame set effect. I hope to work with tribble on that soon.

James.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on January 04, 2015, 02:59:39 pm
Just fixed the error I found when my nephew compiled it for Mac OSX.

Also fixed the lava and lava2 frame set effects.

http://laserboy.org/code/LaserBoy_2015_01_04.zip

James.

Title: Re: DOWNLOAD IT HERE !!!
Post by: James on January 12, 2015, 03:57:05 pm
New version time again! :)

http://laserboy.org/code/LaserBoy_2015_01_12.zip (http://laserboy.org/code/LaserBoy_2015_01_12.zip)

I added new effects:

half_cylinder
cylinder
hemisphere
sphere
film_strip

The first 4 distort a flattened image into the 3D shape of its name. These effects are defined in both frame and frame set effects. The frame effect pans the still frame across the 3D shape, making an animation of its distortion.

The frame set effects take a set of frames and distort all of them to the shape.

The "film_strip" effect takes a frame set and scrolls it across the screen like a strip of movie film.

This effect can be applied to a frame set and the result can be ditorted to one of the 3D shapes for some really nice effects!

I also re-wrote a lot of the effects code. It does bounds checking now!

James.
Title: Re: DOWNLOAD IT HERE !!!
Post by: zachnfine on July 17, 2017, 05:08:49 pm
Hmm, just finally got back to this (been away a while). Can't find my compiled copy of Laserboy so am starting over with the newest 2017 version (LaserBoy_2017_06_27.zip). Got through the editing of Makefile.brew to point to /usr/local, and then hit a ton of errors (https://pastebin.com/bTFDQQF0) (pastebin link) when trying to compile. Based on this comment (https://github.com/benlabs/sassena/issues/3), it looks like newer versions of boost don't use 'ifstream' but instead 'std::ifstream' (and equivalent for of stream).


I added a "fix_boost" flag to the Makefile.brew to change all instances of ifstream and ofstream to their std:: equivalents, but after running 'make -f Makefile.brew fix_boost' am running into other similar-sounding errors about references to 'fstream' being ambiguous.


Here's my Makefile.brew in case anyone wants to take it from where I've gotta leave it, since I'm out of tinkering time for the day.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on July 18, 2017, 01:03:25 pm
I really do not have any experience with MacOSX. I'm sorry. I wish I could help. You could try asking on the Photonlexicon to see if there is anyone there who could help you.

If you figure it out, please post the solution here so others can see how to do it. :)

It sounds like it might have something to do with the version of Boost C++ you are compiling and linking to.

If you were able to compile it before, I don't think I have modified the code so much that it wouldn't compile on the same system.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on July 19, 2017, 03:42:16 pm
When I get a chance to spend some real time on this, I will see if I can update my Linux machine with the very latest version of Boost C++ and see if I get the same errors. If so, I will have a platform to test on and I can fix all of that. Of course it will still need to compile correctly on my Windows machine.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on July 22, 2017, 06:49:53 pm
OK. I fixed it!

I just upgraded my Linux machine to the newest Boost C++ libs: version 1.64.0 and I got all the same errors about fstream, ifstream and ofstream.

So I had to edit every occurrence of an instantiation of any of these classes to scope them to std, ie: std::fstream.

Now it compiles with no errors and it still compiles on my old Windows machine without having updated my Boost C++ libs there.

http://laserboy.org/code/LaserBoy_2017_07_22.zip

Now it should compile properly on a Mac!

Enjoy!

James.

PS. None of the functionality of the code has changed in any way since the last version.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on August 06, 2017, 03:02:01 pm
Fixed another bug!

http://laserboy.org/code/LaserBoy_2017_08_06.zip

Used to be that if you went into menu k and backspaced out all the vertices and the hit x X y Y z Z or q w e, the app would crash.

Not any more!

Title: Re: DOWNLOAD IT HERE !!!
Post by: harzi on January 16, 2018, 02:01:36 am
I try to compile LaserBoy_2017_08_06 on raspian stretch.
I followed the Raspberry_Pi.txt. Everything went well, except that this "error"
# rpi-update 192
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Invalid hash given

I am not sure if that is an issue ^^ Anyhow the code does not compile here
$ time make
g++ -c LaserBoy.cpp -o ../src/LaserBoy.obj -O3 -fexpensive-optimizations -Wall -static
In file included from LaserBoy_utility.hpp:34:0,
                 from LaserBoy_real_segment.hpp:34,
                 from LaserBoy_segment.hpp:35,
                 from LaserBoy_frame.hpp:34,
                 from LaserBoy_frame_set.hpp:34,
                 from LaserBoy_space.hpp:34,
                 from LaserBoy_TUI.hpp:33,
                 from LaserBoy_GUI_base.hpp:33,
                 from LaserBoy_SDL_GUI.hpp:34,
                 from LaserBoy.cpp:30:
LaserBoy_vertex.hpp: In member function ‘void LaserBoy_vertex::to_fstream_wave(std::fstream&, LaserBoy_wave_header&, const u_int*, const bool&, const bool&) const’:
LaserBoy_vertex.hpp:718:40: error: switch quantity not an integer
         switch(abs(header.signal_id[5])) // sign indicates polarity of chanel data
                                        ^
In file included from LaserBoy_utility.hpp:34:0,
                 from LaserBoy_real_segment.hpp:34,
                 from LaserBoy_segment.hpp:35,
                 from LaserBoy_frame.hpp:34,
                 from LaserBoy_frame_set.hpp:34,
                 from LaserBoy_space.hpp:34,
                 from LaserBoy_TUI.hpp:33,
                 from LaserBoy_GUI_base.hpp:33,
                 from LaserBoy_SDL_GUI.hpp:34,
                 from LaserBoy.cpp:30:
LaserBoy_vertex.hpp: In member function ‘void LaserBoy_vertex::to_fstream_wave_inverted(std::fstream&, LaserBoy_wave_header&, const u_int*, const bool&, const bool&) const’:
LaserBoy_vertex.hpp:879:40: error: switch quantity not an integer
         switch(abs(header.signal_id[5])) // sign indicates polarity of channel data
                                        ^
Makefile:32: recipe for target '../src/LaserBoy.obj' failed
make: *** [../src/LaserBoy.obj] Error 1

real    0m28.528s
user    0m25.400s
sys     0m1.120s

Do you may help? Thank you in advance.
Title: Re: DOWNLOAD IT HERE !!!
Post by: harzi on January 16, 2018, 03:06:27 am
Now it compiles. I added an abs() to the int() function.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on January 25, 2018, 04:58:33 pm
Cool. Thanks!

Title: Re: DOWNLOAD IT HERE !!!
Post by: James on November 29, 2018, 03:53:56 pm
Here it is!

New Version: http://laserboy.org/code/LaserBoy_2018_11_29.zip

If you already have an installation of LaserBoy, I would suggest that you rename the folder that it is currently in to something else. Unzip this new version and place the LaserBoy folder where ever you want it and move or copy the contents of your previous version into the new one.

Create a new folder inside of ./LaserBoy/ild called something like old_ild and move your old ild directory contents into it. Find and delete all of the ild files that start with "font_".

Move your previous version of LaserBoy.wtf from the old wtf folder into the new one.

Now you can make new subdirectory names inside of the ild folder and sort all of your ild files into individual projects.

As always, please report any issues to me!

Enjoy!

James.



Changes:

Fixed issue with switch(abs( ... to be switch(int(abs( ... so it will compile with no errors on Raspberry Pi.

Added the ability to create directories inside of the ./LaserBoy/ild/ directory.
Added navigation into and out of these directories in the ild input and output menus.

Created a new subdirectory ./LaserBoy/ild/fonts/ and moved all of the included ild font files into this folder. Removed the "font_" from the beginning of each font file name. Now LaserBoy knows to look inside of this folder to find font files to either render DXF frames that contain TEXT ENTITES or when rendering text in the m render segments by coordinate menu.

Added new feature in the ild output menu to be able to split a frame set by selecting the first frame of every split point. Go into menu o to output, 1 for file type ild, 5 split frame set into new directory. Type the name of the new directory you want to create. Hit [Enter]. A new directory of ild files will be created with each file named [new directory name]_xxxxx.ild, where [new directory name] is the name you entered and _xxxxx is a number beginning with _00000 and incrementing to however many new files were created minus one.

Removed the color cycling effect from all frame and frame set effects. If you want to apply color cycling to a frame or frame set, there is an effect that does that called rainbow.

Added the feature to be able to name the file output by any frame or frame set effect. These files can also be placed inside of any directory inside of ./LaserBoy/ild/.

Changed the order of output options in the file output save as wav menu to put the LaserBoy optimized wave file options at the top positions of 1, 2, 3, and 4. Bumped down the unoptimized options to 5, 6, 7, and 8.

Fixed the wtf output function. The values of
auto_apply_offsets
auto_apply_rescales
were swapped between the writeing and the reading of the wtf file.

Fixed up some of the text user interface messaging to make a bit more sense.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on March 22, 2019, 03:35:36 pm
New version!

03-20-2019.

http://laserboy.org/code/LaserBoy_Current.zip

Enjoy!

James.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on May 07, 2019, 05:14:30 pm
New Version!

2019_05_07

http://laserboy.org/code/LaserBoy_Current.zip (http://laserboy.org/e/LaserBoy_Current.zip)

Fixed a big issue with the new way the background bitmap is displayed.

In the previous release for the first time ever, the background bitmap panned, zoomed and rotated with the view of space.

It takes a bit of time to render every pixel in a bitmap in 3D space.

That slowed everything way down whenever a bitmap was loaded into the display.

So I re-wrote all of that stuff so it not only renders a bit faster, but now it only does the 3D rendering calculations when the view changes.

This is a big deal when you are trying to draw anything.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on November 26, 2019, 02:37:11 pm
There is a new version of LaserBoy!

This version adds a new feature that allows you to save a frame, selected frames or the whole frame set as bitmap of the current view with rotation, offset and scale and visual artifacts like vertices, blanking, fixed and floating bounds and axis.

Also fixed some directory nav issues in dxf and bmp menus and some bugs with the way a bitmap gets opened into the display background.

http://laserboy.org/code/LaserBoy_Current.zip

Enjoy!
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on December 31, 2019, 07:10:12 pm
Fixed a lot of stuff about importing bitmap files.

Added some new features.
Now you can place a folder full of bitmap files inside the ./LaserBoy/bmp/ folder and load the whole set as the background image set to trace over. Go into menu i to input. 6 for bmp. Hit 9 open bmp directory as background. To change the bitmap index, you must be in either menu K or L where you can draw and move stuff. In those menus, (capital) W advances the bitmap in the display to be the next one in the folder and (capital) Q takes you backward. So you can load a set of raster images that make an animation and move through them with the keyboard.

Another interesting thing it does now is load a folder full of bitmaps as color maps for the currently open vector frame set. If there is a miss match between the number of bitmaps and the number of vector frames, you get the larger of the two numbers with the smaller one repeated as needed to fill.

So, you can use ffmpeg to split a video file into frames, use Imagemagick to convert them all to bmp and you can do stuff with that in LaserBoy now.

Like this: http://laserboy.org/free_art/Linus_dance.zip

http://laserboy.org/code/LaserBoy_Current.zip

James.
Title: Re: DOWNLOAD IT HERE !!!
Post by: CyberLab on April 25, 2020, 05:53:18 pm

Hey. I admit right away I'm not a specialist in compilation. When compiling, I get the following error:


Quote
make -f Makefile
g++ -c LaserBoy.cpp -o ../src/LaserBoy.obj -O3 -msse2 -mfpmath=sse -Wall -Wextra -frounding-math -fsignaling-nans -Wno-missing-field-initializers -Wno-misleading-indentation -Wno-unused-but-set-variable -fexpensive-optimizations -static
In file included from LaserBoy_macros.hpp:34,
                 from LaserBoy_common.hpp:34,
                 from LaserBoy_color.hpp:33,
                 from LaserBoy_bmp.hpp:33,
                 from LaserBoy_segment.hpp:34,
                 from LaserBoy_frame.hpp:34,
                 from LaserBoy_frame_set.hpp:34,
                 from LaserBoy_space.hpp:34,
                 from LaserBoy_TUI.hpp:33,
                 from LaserBoy_GUI_base.hpp:33,
                 from LaserBoy_SDL_GUI.hpp:34,
                 from LaserBoy.cpp:30:
LaserBoy_includes.hpp:63:10: fatal error: boost/filesystem.hpp: No such file or directory
   63 | #include <boost/filesystem.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:26: ../src/LaserBoy.obj] Ошибка 1
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on April 28, 2020, 10:27:44 am
Judging from your make command, using Makefile, you must be compiling for Linux.

Have you installed the C++ Boost Libs?

Most of that stuff is just header files that need to be in your system's include directory, but some of it needs to be compiled. You should be able to use your Linux distribution's package management system (apt or yum or whatever) to install the whole thing including the binaries.

https://www.boost.org/ (https://www.boost.org/)

Let me know how it goes!

James.
Title: Re: DOWNLOAD IT HERE !!!
Post by: CyberLab on April 28, 2020, 03:22:11 pm
Quote
make -f Makefile
g++ -c LaserBoy.cpp -o ../src/LaserBoy.obj -O3 -msse2 -mfpmath=sse -Wall -Wextra -frounding-math -fsignaling-nans -Wno-missing-field-initializers -Wno-misleading-indentation -Wno-unused-but-set-variable -fexpensive-optimizations -static
In file included from LaserBoy.cpp:30:
LaserBoy_SDL_GUI.hpp:35:10: fatal error: SDL/SDL.h: No such file or directory
   35 | #include <SDL/SDL.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:26: ../src/LaserBoy.obj] Ошибка 1



Thanks for the advice! I installed the libboost-all-dev library, but now the SDL.h library is missing
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on April 28, 2020, 03:48:03 pm
Get libSDL 1.2.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on July 01, 2020, 02:48:22 pm
This version of LaserBoy introduces something completely new.

https://laserboy.org/code/LaserBoy_Current.zip (https://laserboy.org/code/LaserBoy_Current.zip)

LaserBoy ASCII math forms!

[single frames]
math rhodonea
math epicycloid
math epitrochoid
math hypocycloid
math hypotrochoid
math lissajou
math pendulum
math pendulum_sum
math pendulum_xy
math pendulum_xyz
math harmonograph
math harmonograph_3D
math amplitude_mod
math amplitude_mod_xy
math amplitude_mod_xyz
math frequency_mod
math frequency_mod_xy
math frequency_mod_xyz

[animated frame sets]
math rhodoneas
math epicycloids
math epitrochoids
math hypocycloids
math hypotrochoids
math lissajous
math pendulums
math pendulums_sum
math pendulums_xy
math pendulums_xyz
math harmonographs
math harmonographs_3D
math amplitude_mods
math amplitude_mods_xy
math amplitude_mods_xyz
math frequency_mods
math frequency_mods_xy
math frequency_mods_xyz

Each of these take parameters in a specific order from text and render into LaserBoy frames.

All of the math is done with double float and scaled to 100% of signed short int space.

Animations are written as two sets of identical single forms.
LaserBoy does linear interpolation between them to create all the frames in between.

See:
./LaserBoy/txt/math.txt

To open this file

i to import
4 for txt
math.txt
1 to replace frame set

Each form is a solid color.

For better effect,

g frame to palette trans
up arrow 5 taps to the palette of pure hues.
C (capital) to set all frames to use this palette
^ (shift 6) to span the palette through the vertices of all frames
[Esc] back to main and hit
` ( or ~) to play the frame set

Enjoy!
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on July 01, 2020, 03:42:46 pm
This is the contents of math.txt. There is only one example of each form.

http://laserboy.org/math.mp4
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on August 23, 2020, 11:25:45 am
New version of LaserBoy!

https://laserboy.org/code/LaserBoy_Current.zip

LaserBoy_2020_08_23.zip

In this release I finally figured out how to compile and link with SDL2!

It still compiles and links with SDL 1.2.15 as well.

And it compiles in 64-bit Windows!

This distribution comes with LaserBoy.exe compiled with SDL 1.2.15 in Win32 compatible with XP and probably below AND LaserBoy64.exe compiled with SDL2 in Win64.

Since it is now possible to compile with SDL2, it should make in MacOSX.

I have to give a shout out to the people who put together MSYS2. It is really nice! If you want the GCC compiler on a Windows machine this is the way to go.
Title: Re: DOWNLOAD IT HERE !!!
Post by: glaferg on April 03, 2021, 03:16:47 pm
What would be great would be an OSC port so we could take our existing work and then apply math things to it (probably with ORCA, 100rabbits' minimal, runs-on-literally-anything livecoding library.) This is just straight art- it takes pure data and connects it to MATH and the UI is an idealized, rainbow version of your typical CLI.
I've been using this since I got a machine, a "MyEffect II" at 12. Since then I've become a programmer, learned, and this still exists; a beautiful sort of retirement for our good man James. I suspect that what a coloring book is to most people Lazserboy is to our good man James Lehmann.

Great work; you inspired me to learn code and inspired an ardence to my use of CLI tools.
You're quite possibly one of my most inspirational programmers (fathom a role a few steps below the creator of Linux, the author of Dwarf Fortress, and a role above 100Rabbits and the devs in Valve.

You have no concept how deeply your work has affected me.
Title: Re: DOWNLOAD IT HERE !!!
Post by: James on April 03, 2021, 06:32:34 pm
Wow! That's really nice. Thank you.

If you like the current version you should check out the version I work on almost every day. It has all kinds of new features. Can you compile the source?
I'd love to have a conversation with you. I bet you have a lot of good ideas.
SimplePortal 2.3.7 © 2008-2021, SimplePortal