Laser pointer discussion. Read/write reviews of laser pointers and laser pointer companies. Learn about all types of laser pointers and lasers





Welcome to Laser Pointer Forums! If you are looking for a laser pointer or want to compare different laser pointer companies, you may want to check out the LPF Laser Pointer Company Database. The link will open in a new window for your convenience.








Green Laser Pointers by Category Blue Laser Pointers by Category Red Laser Pointers by Category
Yellow Laser Pointers by Category Violet Laser Pointers by Category Orange Laser Pointers by Category
Top Laser Pointers by Power - 1 Watt+ Top Laser Pointers by Power - 500mW+ Top Laser Pointers by Power - 250mW+
Laser Pointer Database High Power Laser Pointers Laser Pointer Diodes
Laser Technology Laser Pointer Parts Lasers by Wavelength
Top 10 Laser Pointer Companies Laser Pointer Company Database Visible Beam Laser Pointers


One laser store meets all your needs

























Go Back   Laser Pointer Forums - Discuss Laser Pointers > Lasers > Safety & Legal Issues



LPF List of Laser Pointer Companies (link opens new window)



Reply
 
LinkBack Thread Tools Display Modes
Old 05-20-2013, 03:23 PM #1
Class 1 Laser
 
Join Date: Apr 2010
Location: Ft. Worth, TX
Posts: 81
Rep Power: 9
Parabola949 has a spectacular aura aboutParabola949 has a spectacular aura about
Send a message via Skype™ to Parabola949
Parabola949 Parabola949 is offline
Class 1 Laser
 
Join Date: Apr 2010
Location: Ft. Worth, TX
Posts: 81
Rep Power: 9
Parabola949 has a spectacular aura aboutParabola949 has a spectacular aura about
Send a message via Skype™ to Parabola949
Smile [WIP] Laser Safety Calculation App / Webpage

Still very much a work in progress, but will be updating this post as I go.
I'm writing both a webpage and an Android app for doing quick laser safety calculations (very simplistic for now - continuous wave only)
I am posting the incomplete product right now because I would like validation from the community (i.e. are the calculations accurate? Is the information given accurate?) If you find something wrong, please reply or PM me and let me know, so I can correct it. Yes, the code is sloppy right now, because I'm just banging out the calculations. I'll organize the code once all is complete, most likely putting it all into a js file that can be reused.
Right now, only the webpage is up, and even then, has a very very simple UI.
URL: http://www.tryptrecords.com/safety.html
Here's an example of the output of the webpage:


Once I get everything I want into the webpage, I'll port it over to Android.

[UPDATE] The webpage UI has been updated:


__________________
My lasers:
O-Like Gatlin 100mw :RECEIVED!!!:
250mW MiniMag Hack :STOLEN: (from me, not by me...)
Various Wal-mart <3mW lasers
2W 445nm 18650 (jayrob host) :IN PROGRESS:

Last edited by Parabola949; 05-20-2013 at 07:07 PM.
Parabola949 is offline   Reply With Quote







LPF List of Laser Pointer Companies (link opens new window)







Old 05-20-2013, 03:34 PM #2
ryansoh3's Avatar
Class 3R Laser
 
Join Date: Feb 2012
Location: Pittsburgh
Posts: 1,282
Rep Power: 276
ryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond repute
ryansoh3 ryansoh3 is offline
Class 3R Laser
ryansoh3's Avatar
 
Join Date: Feb 2012
Location: Pittsburgh
Posts: 1,282
Rep Power: 276
ryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond repute
Default Re: [WIP] Laser Safety Calculation App / Webpage

Can't seem to get the webpage to load...
__________________
Is your laser a BAMF?

With great power comes a great need for safety.

I am SICK of spoon feeding noobs who just don't care to search the forum.

Lasers:
405nm Amazon Set
445nm BAMF Link
445nm 2358mW Peak The Bushwhacker by Dogs Best Friend
445nm Fantasy Link
532nm "200mW" DealExtreme Pointer
532nm Amazon Set
650nm Amazon Set
FastTech is the new DX. (Nope, prices have gone up, nevermind!)

ryansoh3 is offline   Reply With Quote
Old 05-20-2013, 03:44 PM #3
Class 1 Laser
 
Join Date: Apr 2010
Location: Ft. Worth, TX
Posts: 81
Rep Power: 9
Parabola949 has a spectacular aura aboutParabola949 has a spectacular aura about
Send a message via Skype™ to Parabola949
Parabola949 Parabola949 is offline
Class 1 Laser
 
Join Date: Apr 2010
Location: Ft. Worth, TX
Posts: 81
Rep Power: 9
Parabola949 has a spectacular aura aboutParabola949 has a spectacular aura about
Send a message via Skype™ to Parabola949
Default Re: [WIP] Laser Safety Calculation App / Webpage

Quote:
Originally Posted by ryansoh3 View Post
Can't seem to get the webpage to load...
What browser please? I have tested in Chrome, FireFox, and IE. Also, do you get an error? 404, 500?

Also.... this might seem like an odd question:
IP subnet? (###.###.###.0)
Reason I ask, our webserver blocks some IP ranges due to many hack attempts from the Asia region.
__________________
My lasers:
O-Like Gatlin 100mw :RECEIVED!!!:
250mW MiniMag Hack :STOLEN: (from me, not by me...)
Various Wal-mart <3mW lasers
2W 445nm 18650 (jayrob host) :IN PROGRESS:

Last edited by Parabola949; 05-20-2013 at 03:45 PM.
Parabola949 is offline   Reply With Quote
Old 05-20-2013, 03:47 PM #4
ryansoh3's Avatar
Class 3R Laser
 
Join Date: Feb 2012
Location: Pittsburgh
Posts: 1,282
Rep Power: 276
ryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond repute
ryansoh3 ryansoh3 is offline
Class 3R Laser
ryansoh3's Avatar
 
Join Date: Feb 2012
Location: Pittsburgh
Posts: 1,282
Rep Power: 276
ryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond reputeryansoh3 has a reputation beyond repute
Default Re: [WIP] Laser Safety Calculation App / Webpage

I'm using Chrome, probably the latest version.

The website just times out, pings resulting in 100% loss.

Perhaps my ISP is blocking the site? I've known couple other sites that just won't load for some reason.

Edit: So the problem should be on my part. Wish I could try the calculator out though.
__________________
Is your laser a BAMF?

With great power comes a great need for safety.

I am SICK of spoon feeding noobs who just don't care to search the forum.

Lasers:
405nm Amazon Set
445nm BAMF Link
445nm 2358mW Peak The Bushwhacker by Dogs Best Friend
445nm Fantasy Link
532nm "200mW" DealExtreme Pointer
532nm Amazon Set
650nm Amazon Set
FastTech is the new DX. (Nope, prices have gone up, nevermind!)


Last edited by ryansoh3; 05-20-2013 at 03:47 PM.
ryansoh3 is offline   Reply With Quote
Old 05-20-2013, 03:52 PM #5
Class 1 Laser
 
Join Date: Apr 2010
Location: Ft. Worth, TX
Posts: 81
Rep Power: 9
Parabola949 has a spectacular aura aboutParabola949 has a spectacular aura about
Send a message via Skype™ to Parabola949
Parabola949 Parabola949 is offline
Class 1 Laser
 
Join Date: Apr 2010
Location: Ft. Worth, TX
Posts: 81
Rep Power: 9
Parabola949 has a spectacular aura aboutParabola949 has a spectacular aura about
Send a message via Skype™ to Parabola949
Default Re: [WIP] Laser Safety Calculation App / Webpage

I have another webserver, I'll try uploading to that later (site blocked by my company's web filter, due to gaming content)

If you want to test it though, feel free (I am a firm believer in open source)
HTML Code:
<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
<form name='calculations'>
    Wavelength:<br>
    <input type="radio" name="wavelength" value="0.03050"><font color='blue'>445</font><br>
    <input type="radio" name="wavelength" value="0.88016"><font color='green'>532</font><br>
    <input type="radio" name="wavelength" value="0.23825"><font color='RED'>633</font><br>
    Milliradians: <input type="number" name="milrad" value='1'> <br>
    Power (mW): <input type="number" name="power"> <br>
    <button type='button' onClick="calculate(document.forms['calculations'])">Calculate</button>

    <script>

        function log10(val) {
            return Math.log(val) / Math.LN10;
        }
        function calculate(form)
        {
            var wave = 0;
            var x = form.wavelength;
            for (var i = 0;i< x.length;i++)
            {
                if (x[i].checked)
                    wave = x[i].value;
            }
            var millirad = form.milrad.value;
            var power = form.power.value;
            var msg = "";
            var NOHD = (32.8/millirad)*Math.sqrt(0.5*power);


            var ED50 = NOHD / 3.16;
            var SZED = (32.8/millirad)*Math.sqrt(12.7*power*wave);
            var CZED = SZED*4.47;
            var LFZED = CZED*10;
            var OD1 = -log10(0.001/(power/1000));
            var OD5 = -log10(0.005/(power/1000));
            var OD100 = -log10(0.1/(power/1000));
            //Convert feet to miles if needed
            {
            var ED50miles = false;
                if (ED50 > 5280)
                {
                    ED50 = ED50 / 5280;
                    ED50miles = true;
                }
            var SZEDmiles = false;
                if (SZED > 5280)
                {
                    SZED = SZED / 5280;
                    SZEDmiles = true;
                }
            var CZEDmiles = false;
                if (CZED > 5280)
                {
                    CZED = CZED / 5280;
                    CZEDmiles = true;
                }
            var LFZEDmiles = false;
                if (LFZED > 5280)
                {
                    LFZED = LFZED / 5280;
                    LFZEDmiles = true;
                }
            var nmiles = false;
            if (NOHD > 5280)
            {
                NOHD = NOHD / 5280;
                nmiles = true;
            }
            }
            SZED = SZED.toFixed(2);
            NOHD = NOHD.toFixed(2);
            ED50 = ED50.toFixed(2);
            CZED = CZED.toFixed(2);
            LFZED = LFZED.toFixed(2);
            var msg = "";
            msg += "Safe* Distance to view direct laser: " + NOHD + (nmiles?" mi.":" ft.");
            msg += "\n";
            msg += "50/50 chance of retinal damage at: " + ED50 + (ED50miles?" mi.":" ft.");
            msg += "\n";
            msg += "Flashblind distance: " + SZED + (SZEDmiles?" mi.":" ft.");
            msg += "\nGlare distance: " + CZED + (CZEDmiles?" mi.":" ft.");
            msg += "\nDistraction distance: " + LFZED + (LFZEDmiles?" mi.":" ft.");
            msg += "\n";
            msg += "\n";
            msg += "----- Optical Density Recommendations -----\n";
            msg += "OD Rating are listed as such:  for the given power of laser, the OD rating will give the laser the appearance of x amount of power.  Example: A 1W laser through OD3 will give the appearance of a 1mW laser.\n";
            msg += "For safety reasons, it's best to always round up, and ALWAYS check that your safety glasses are for the given wavelength.\n";
            msg += "1mW: " + OD1.toFixed(2);
            msg += "\n5mW: " + OD5.toFixed(2);
            msg += "\n100mW: " + OD100.toFixed(2);
            msg += "\n\nIt is always best to go for the 1mW rating, to avoid damage to your eye.\n\n";
            msg += "*Safe is a relative term.  Never point a laser at a person, animal, vehicle, or anything you wouldn't point a gun at.";
            alert(msg);
        }
    </script>
</form>
</body>
</html>
__________________
My lasers:
O-Like Gatlin 100mw :RECEIVED!!!:
250mW MiniMag Hack :STOLEN: (from me, not by me...)
Various Wal-mart <3mW lasers
2W 445nm 18650 (jayrob host) :IN PROGRESS:

Last edited by Parabola949; 05-20-2013 at 03:55 PM.
Parabola949 is offline   Reply With Quote
Reply





Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On











Loading








Green Laser Pointers by Category Blue Laser Pointers by Category Red Laser Pointers by Category
Yellow Laser Pointers by Category Violet Laser Pointers by Category Orange Laser Pointers by Category
Top Laser Pointers by Power - 1 Watt+ Top Laser Pointers by Power - 500mW+ Top Laser Pointers by Power - 250mW+
Laser Pointer Database High Power Laser Pointers Laser Pointer Diodes






Privacy Policy | Advertising Disclaimer | Terms of Use


 


All times are GMT. The time now is 01:53 AM.


Powered by: vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
Privacy Policy | Advertising Disclaimer | Terms of Use
Copyright (C) 2017 Laser Pointer Forums, LLC