Monthly Archives: October 2011

Interactive Physics Animations Javascript Canvas 05

canvas05

Now we’ll apply this object oriented programming to each dot and give them all random placement. interactive physics animations via javascript & canvas | 05. $(function () {     var canvas, context, width, height, x, y, radius = 25, clickX, clickY, drag = false;             canvas = $("#canvas")[0];   [...]

Posted in interactive javascript canvas, tutorial | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Interactive Physics Animations Javascript Canvas 04

canvas04

This time we won’t make the canvas any different visually, it’s more just cleaning up the code. We’re making the circle into a dot object, then later it will be easier to keep track of it (and any others). interactive physics animations via javascript & canvas | 04. $(function () {     var canvas, [...]

Posted in interactive javascript canvas, tutorial | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Interactive Physics Animations Javascript Canvas 03

canvas03

This iteration really isn’t that big, but I figured baby steps may be the way to go here. We’re just giving the first circle a random position. The other dots are positioned relative to the first one still. interactive physics animations via javascript & canvas | 03. $(function () {     var canvas, context, [...]

Posted in interactive javascript canvas, tutorial | Tagged , , , , , , , , , , , , , , , | Leave a comment

Interactive Physics Animations Javascript Canvas 02

canvas02

Adding more circles, each a multiple of the first circle’s coordinates. I like the effect of having them all move in unison. Ceck the source: interactive physics animations via javascript & canvas | 02 $(function () {     var canvas, context, width, height, x, y, radius = 25, clickX, clickY, drag = false;   [...]

Posted in interactive javascript canvas, tutorial | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Interactive Physics Animations Javascript Canvas 01

canvas01

Adding a second circle, always at twice the x and y as the first. The first is still draggable. View the source: interactive physics animations via javascript & canvas | 01 $(function () {     var canvas, context, width, height, x, y, radius = 25, clickX, clickY, drag = false;         [...]

Posted in interactive javascript canvas, tutorial | Tagged , , , , , , , , , , , | Leave a comment

Interactive Javascript Canvas 00

canvas00

I’ve played a lot with physics experiments in flash and moving more to javascript and canvas for simple things I wanted to test it out with some physics and animations. I’ve been curious to find out how the performance compares. Obviously this will depend on the browser, but the browsers that do support canvas should [...]

Posted in interactive javascript canvas, tutorial | Tagged , , , , , , , , , , , , | Leave a comment

Link: Custom user taxonomies in WordPress

Attaching a taxonomy to a user? This will help. I was thinking just the other day about how to go about it, and this post by Justin Tadlock seems to answer all my questions on that. Link: Custom user taxonomies in WordPress – (http://devpress.com/blog/custom-user-taxonomies-in-wordpress/?utm_source=rss&utm_medium=rss&utm_campaign=custom-user-taxonomies-in-wordpress) from (author unknown) at DevPress

Posted in blog | Leave a comment

Interactive Javascript Canvas Series

javascript-canvas-art

I’ve been playing with canvas and different javascript drawing libraries a lot lately in my projects at work. I’ve been antsy to play with the techniques I’ve learned and apply it to some more interactive experiments. Much like my last series on generative art in flash, but this will all be in javascript! In case [...]

Posted in interactive javascript canvas, tutorial | Tagged , , , , , , , , , , , , , | Leave a comment

Link: Circles, Spirals, and Sunflowers

Here’s a great writeup/tutorial on javascript animations involving circles, spirals, roses, starfish and sunflowers from one of my favorites: jbum/KrazyDad Link: Circles, Spirals, and Sunflowers – (http://www.krazydad.com/blog/2011/10/circles-spirals-and-sunflowers/) from (author unknown) at KrazyDad

Posted in blog | Leave a comment

Link: Why are standards such a good thing?

Flash is always the bleeding edge and can move/adapt much faster than html because it is controlled by one entity. Which is some people’s criticism – they don’t want to rely too much on Adobe, I partly agree, but I’d much rather rely on Adobe than many other tech companies: especially Microsoft, Apple or even [...]

Posted in blog | Leave a comment
  • Recent Posts

    Adobe-like Arrow Headers | CSS-Tricks

    Zero images is something that always gets me excited, I really like these arrow button styles! I like the css used more and the hover/active states too, nice css3 transitions. via Adobe-like Arrow Headers | CSS-Tricks.

    snow

    Snow via Javascript & Canvas – Tis the Season

    After playing with the settings in my experiments I found a few settings I liked and wanted to develop further. The first was snow! An added bonus I was able to work on a project just for the holidays and used much of this code in it! I looked around the web and saw a [...]

    MSTouchArt_3386_5400x2910.9375

    Microsoft Touch Mouse and The Art of Touch | Giveaway

    Microsoft has a new line of TouchMouse. They have a campaign to cooinside with it called the Art of Touch and have invited a few artists to participate and more to drive interest with free shwag! Basically that boils down to me having a to give away! So go play with the app and link [...]

    canvas17

    Interactive Physics Animations Javascript Canvas 17

    I’m really enjoying giving a control panel of sorts to the end user and letting them control the physics rules of their canvas. Let’s add more motion to it by applying a jitter to the velocity of each dot. This is similar to earlier, when we first started animating by applying a random number to [...]

  • Recent Shares

    Screen shot 2012-01-26 at 2.46.59 PM

    Yiibu – About the site…

    Here’s a great article about the process of responsive design & mobile first design and how to practically use them both in a project. This site is a proof of concept for many of the ideas described in Rethinking the Mobile Web or (Mobile First Responsive Design). via Yiibu – About this site….

    gridpak

    Link: Introducing Gridpak | Erskine Labs

    Here’s a great tool to make responsive grid layouts. Thanks to Erskine Labs! Introducing Gridpak | Erskine Labs.

    css-multiply

    Link: HTML5 multiply filter with canvas | Alberto Gasparin

    Here’s a great little script I found useful today as I was working on having dynamic effects applied to javascript via canvas. “The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, or other visual images on the fly.” Thanks to the canvas APIs I was [...]

    css-refresh

    Link: CSSrefresh – automatically refresh CSS files

    A great css developer helper script from Fred. CSSrefresh is a small, unobstructive javascript file that monitors the CSS-files included in your webpage. As soon as you save a CSS-file, the changes are directly implemented, without having to refresh your browser. When you’re coding a website, nothing can be more frustrating than having to switch [...]

  • Recent Comments

    Karl

    Karl

    I have been using for some time this nice Banner, from developer FX. They have a really nice Live...
    Karl

    Karl

    Thank you for this wonderful link… recommend it! Fast, simple, easy… :-)
    Gabriel

    Gabriel

    Hi Valerie, I don’t know if you are still following this post, but I tried seeing if it is...
    avinash

    avinash

    Hi Evan, I am using the same code and trying it on chrome/firefox it is not working on neither...
    Matt

    Matt

    I needed to store url variables from advertising tracking servers – this method works like a...
    Evan Mullins

    Evan Mullins

    @Saket – you may want to look into swfaddress. I believe it will be more what...