background preloader

JS

Facebook Twitter

KineticJS HTML5 Canvas Framework. Tangle: a JavaScript library for reactive documents. Tangle is a JavaScript library for creating reactive documents.

Tangle: a JavaScript library for reactive documents

Your readers can interactively explore possibilities, play with parameters, and see the document update immediately. Tangle is super-simple and easy to learn. This is a simple reactive document. When you eat 3 drag cookies, you consume 150 calories. This is the HTML for that example. When you eat <span data-var="cookies" class="TKAdjustableNumber"> cookies</span>, you consume <span data-var="calories"> calories</span>.

And this is the JavaScript. Write your document with HTML and CSS, as you normally would. Try out some examples. Proposition 21: Vehicle License Fee for State Parks The way it is now: California has 278 state parks, including state beaches and historic parks. What Prop 21 would do: Proposes to charge car owners an extra $18 on their annual registration bill, to go into the state park fund. Analysis: Suppose that an extra $18 was charged to 100 % of California taxpayersvehicle registrations. Fc = 2 KHz Q = 0.8 Unstable. Web Animation Infographics: A Map of the Best Animation Libraries for JavaScript and CSS3 plus Performance Tips. Today we have decided to showcase a 'map' of the current state of web animation by compiling highly regarded libraries, frameworks and plugins based on their versatility and performance.

Web Animation Infographics: A Map of the Best Animation Libraries for JavaScript and CSS3 plus Performance Tips

Infographic 1: The Map of Web Animation The infographic is divided into three sections, the first part is a selection of a few of the most comprehensive animation libraries which offer up all the tools one could ever wish for from easing functions and callbacks to timing control, not to mention the generic animation functions we have come to expect. We have segregated libraries which use CSS3 transition to animate elements from libraries which call on JavaScript instead. We have also selected libraries geared towards animations for SVG, WebGL or HTML5 Canvas. Infographic 2: List of Tools The second section is dedicated to the various methods for animating UI elements and any others objects in the DOM like scroll animation, parallax, sprites, 3D transformations, physics engines, and transitions. CodePen - Front End Developer Playground & Code Editor in the Browser.

How to play a sound when an element is clicked in HTML page. In this example we will demonstrate how to play a "click" sound when a link or other element is clicked in HTML pages.

How to play a sound when an element is clicked in HTML page

A sample code for jQueryMobile is also provided. An MP3 audio file is used play the actual sound. You have to have jQuery in your page for this to work. Sound is played through HTML5 <audio /> tag but instead of embedding the tag manually, the tag is created via Javascript/JQuery. Below is how this is done. For best results place this code at the bottom of the page just before the closing </body> tag. For PrimeFaces menuitem see below. jQueryMobile For jQueryMobile pages use the following code. Here is a collection of sound files (wav and mp3). That's it good luck. Animated Text and Icon Menu with jQuery. Shape Hover Effect with SVG. Animated SVG Icons: Using Snap.svg to animate SVG icons. Simple Icon Hover Effects with CSS Transitions and Animations. Previous Demo Back to the Codrops Article Mobile Desktop Partners Support Security Settings Time Videos List Refresh Images Edit Link Mail Location Archive Chat Bookmarks User Contact Note that the dashed border on a round pseudo-element (border-radius: 50%) does not work in FF 21.0 Mobile Desktop Partners Support Security Settings Support Fav Contract Refresh Settings Time Videos List Refresh Archive Chat Bookmarks User Contact Images Edit Link Mail Location If you enjoyed these effects you might also like: Creative Button Styles Creative Link Effects.

Simple Icon Hover Effects with CSS Transitions and Animations

Circular Tooltip (SO) Making an animated radial menu with CSS3 and JavaScript. Today, let’s look at how we can easily make a simple animated radial menu with CSS3 and JavaScript.

Making an animated radial menu with CSS3 and JavaScript

Have a look at the demo below and click the button for the radial menu to pop out. The code is readily available in the codepen demo above, so let’s go over some of the specifics. The HTML Let’s look at the HTML. We will be using the HTML5 nav element with some links inside of it and the button to activate the radial menu. I have also used Font Awesome icons and added the necessary classes to the a-tag to get some nice icons for the menu items in the radial menu.

Animated Text and Icon Menu with jQuery. Knockout.