salts   wooden boats

 
Enter what you want to search for, to search for an "exact phrase" by enclosing it in quotes. You may search for a combination of words and phrases

en

Learn more about our "How to Tie Knots" DVD/CD
May 9th 2024 - 09:13
September 13th, 2010
September 13th, 2010

Colregs Lights & Shapes

using HTML Canvas to dynamically visualize lights

Initial lights testing
Initial lights testing
For some time now I have wanted to improve the lights and shapes section of bosunsmate.org to include a more interactive experience with more light configurations. The HTML Canvas element that allows direct drawing in a web page should finally allow this...

The image shown is a screen-shot of our test area where all four of the light diagrams are generated by the web browser. There are no uploaded graphics involved. This means we can store instructions to tell the browser how to draw each configuration and change things like size, time of day, eventually even distance from the target to create a very dynamic experience. Adding new configurations for different regions and/or conditions will not pose a problem either.

Granted it is going to take some time to polish the code and create a comprehensive database of different configurations, but the possibilities are extensive and we should see the first implementation coming online soon.

Share this:
No Comments
i
You must login or register to post comments Login/Signup
RSS feed Feed Description
Subscribe to the complete The Bosunīs Mate News RSS news feedAll News RSS feed Complete RSS feed
Subscribe to the The Bosunīs Mate News RSS news feed for this category onlyBosunīs Log RSS feed for: Bosunīs Log
A Rich Site Summary (RSS) feed is an xml data file that provides a summary of the information contained here. It is not designed to be viewed in your browser, but instead by rss reader software. If you do not know what this means - you can safely ignore it, as it is provided for advanced users with rss reader software only.

salts
Copyright © 1987-2024 The Bosun's Mate
web design, virtual tours and maintenance donated: PawPrint.net