Author Topic: DOWNLOAD IT HERE !!!  (Read 51385 times)

0 Members and 1 Guest are viewing this topic.

Offline CyberLab

  • Newbie
  • *
  • Posts: 2
  • Milliwatts: 0
    • View Profile
Re: DOWNLOAD IT HERE !!!
« Reply #30 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

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2113
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #31 on: April 28, 2020, 03:48:03 pm »
Get libSDL 1.2.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2113
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #32 on: July 01, 2020, 02:48:22 pm »
This version of LaserBoy introduces something completely new.

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!
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2113
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #33 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
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2113
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #34 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.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline glaferg

  • Newbie
  • *
  • Posts: 1
  • Milliwatts: 0
    • View Profile
Re: DOWNLOAD IT HERE !!!
« Reply #35 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.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2113
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #36 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.
« Last Edit: April 03, 2021, 10:51:00 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2021, SimplePortal