Trevor
0
- Joined
- Jul 17, 2009
- Messages
- 4,386
- Points
- 113
So I haven't written any PHP in a while, and since swatmugga posted one, I figured I'd take a stab at it too.
This is what the better part of my day yielded:
Laser Warning Label Generator
For whatever wavelength in the visible spectrum you choose, it colors the beam on the label that color. Anything outside it shows up black. It just now occurred to me that could be annoying if you just want a standard red beam, so I'll code an override option and build a better GUI tomorrow.
Instead of using a pre-built image and printing text, I re-rendered the whole thing using PHP's GD library to completely avoid quality issues.
Hope some of you find it useful.
Please leave a note here if you want me to add laser classes (all I used was the old system) or system types (I added just a few to test it).
-Trevor
This is what the better part of my day yielded:
Laser Warning Label Generator
For whatever wavelength in the visible spectrum you choose, it colors the beam on the label that color. Anything outside it shows up black. It just now occurred to me that could be annoying if you just want a standard red beam, so I'll code an override option and build a better GUI tomorrow.
Instead of using a pre-built image and printing text, I re-rendered the whole thing using PHP's GD library to completely avoid quality issues.
Hope some of you find it useful.
Please leave a note here if you want me to add laser classes (all I used was the old system) or system types (I added just a few to test it).
-Trevor
Last edited: