Skip to content
Stephen K edited this page Apr 4, 2014 · 2 revisions

notificationFallback(options, options.title, options.icon, options.body, options.tag, options.duration)

Fallback function in case HTML5 notifications aren't supported

Parameters

options: Object,

options.title: String, The title of the notification

options.icon: String, The location of the icon to use

options.body: String, The body of the notification

options.tag: String, The tag of the notification

options.duration: Number, How long the message will stay up

clearNotifications()

Function to clear the notifications

init()

Initialize the app

main()

Entry point of app

createRay()

Create a Ray from the dom inputs and send it to the worker

createTri()

Create a triangle from the dom inputs and send it to the worker

createSphere()

Create a sphere from the dom inputs and send it to the worker

Clone this wiki locally