HTML5 Canvas 3D WebGL (TM) javaScript Library

taccgl FAQ

Can I disable the epilepsy warning message?

When developing and publishing animations we very much recommend to carefully consider the warnings in W3C guidelines and to design animations accordingly -- regardless whether you are using taccgl™ or other tools.

taccgl™ tries to assist you by per default displaying the epilepsy warning message, however take into account that the warning might not work well because people, e.g. children, might not carefully read or understand the message (see W3C guidelines).

You can decide per particular animation if the warning message should be displayed or not by providing the parameter 'no epilepsy warning' to taccgl.start('no epilepsy warning') as documented here: start.

How can I run the taccgl library locally (using files instead of a web server) in Chrome, e.g. to do some offline development? I tried but some images and some example do not show.

You can use the taccgl™ library locally with "file://" URLs for testing and development, however, browsers in this case have security measures that prevent loading of images and 3D model files. The best way to overcome this problem is to install a local web server. This permits using "http://" URLs instead of the "file://" URLs, which avoids this problem. A very easy to install local web server is the chrome extension "Web Server for Chrome".

Alternatively you can start chrome with the "allow-file-access-from-files" option. This has some security implications, so make sure to read the documentaion of the option.

chrome.exe --allow-file-access-from-files
See Chrome Options for Local Use and also Installing the Library for details.

Please send questions to

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:Links
Previous Page: About