Monday , 15 July 2019
Home / Tag Archives: alpha

Tag Archives: alpha

Global Properties – Advanced JavaScript Tutorial

Global Properties

There are 2 global properties you can use to apply to your drawings. This the alpha and composition properties. They can truly effect the outcome of all your drawings. Alpha Clear your script and add this bit of code. [crayon-5d2d12b0a30c7248936203/] In the example above, we draw a rectangle with the default settings. Next, we change the globalAlpha property. This property …

Read More »

Device Events – Advanced JavaScript Tutorial

Device Events

Smartphones and tablets are devices that are frequently used to browse websites. JavaScript now has a couple of events for hand held devices.  For this tutorial, you’ll need to have a mobile phone. I’ll be using the Iphone for this tutorial. Feel free to skip this tutorial if you don’t have a device handy. Orientation The orientationchange event fires when …

Read More »