define('WP_CACHE', true); javascript | jonny's blog

Posts Tagged ‘javascript’

Free Useful Visual Studio 2012 Plugins

What do you do when you find yourself struggling to write even the most basic of code having been using Resharper with VS2010 and you really don’t want to spend any money on a license?

Luckily there is free stuff out there to help (some of which is also available for 2010):

Read more

Random effect based on Particle system

Just a small update with a random effect I created based on my particle engine. A fiddle of the effect is here.

Particle smoke effect

Having just finished a basic particle engine I thought I would quickly use this as a basis to make a smoke / fog effect.

Read more

Particle System backlog

Features I plan to do as enhancements for by basic particle engine. Please add comments / vote on what you would like to see in the comments.
  • Use multiple technologies to render the particles but keep the engine inside JavaScript
  • Particle lifespans
  • Particle colouring / size throughout lifespan (lerp)
  • Use image as particle + rotate
  • Emitters (line, panel, angled)
  • Gravitational fields
  • Flocking
  • Repulsion fields
  • Collision detection between particles.
  • Some sort of performance benchmark (maybe swap to use dojo)
  • Smoke effects
  • Fire effects

Using Silverlight and JavaScript to prevent leaving a webpage

Recently I have been thinking about applications with data input and the problems of being in a browser. One of the perils of being in a browser is that a user may have some unsaved data input tasks. The data can be easily lost by accidently navigating to a different webpage, closing the browser or closing the tab.

Preventing this is relatively easy making use of Silverlight and JavaScript communication in conjunction with the window.onbeforeunload function. See below for example and code snippets. 😀

Read more

Return top