Javascript Examples at Bit101

The big talk lately is Javascript and HTML5, and if your a Flash guy, you’ve probably found yourself having to defend yourself. Let’s face it, HTML5 and Javascript are where they are today because of the huge strides Flash has made over a decade in pushing the limits of interactive design and development. It’s a great compliment to the community when you can do in other programming languages what’s been done over the years in Flash with actionscripting. What attracted me to Flash in the first place was the inovative and creative spirit. If you can do similar things with Javascript, so be it, it’s just another tool in the toolbox.

I’ve worked with Javascript in the past, but always felt the visual experience you can create in Flash surpassed it. Maybe it’s time to revisit that, and see what’s capable. To that end, I’ve started following the current blog posts at Bit101.com on Javascript. Keith Peters is one of the heavyweights in the Flash communities, I have his books, have seen him talk at conferences, so when he starts blogging about Javascript, you listen. For the month of March, Javascript is the topic of conversation. If you want to follow along, the posts begin here. I’m going to do my best to follow along, but I definitely don’t have the blogging stamina to post about it every day.

I decided to focused in on a simple example, creating a circle. On Day 2 and Day 3, Keith expands on the wireframes objects he initially sets up by adding strokes and line weights. Nothing drastic, a good start. For my example, I focussed my efforts on controlling this minor experience. 3 rings rotating with varying degress of line weights and segments. You can see the end result here.

The addCircle method basically takes an x, y, z positions, the circle’s radius, and the number of segments. The main thing I noticed was how it was rendering these three circles when I started adding weight to the circles. The first circle was a solid color, the default line width, and 10 segments. Once I added, a line width of 5 and 10, I started to see a streak or some artifact that shoots out at the top and bottom of the lines. Event when I crank up the line segments to 1000, that little notch appears. Of course, by ratcheting the numer of lines up, the performance takes a bit of a hit. Better quality versus browser performance rears its head. My variation of the javascript of the circles can be viewed here.

Keith isn’t the first in the Flash community to be exploring javascript, but I’m glad he is. If you want a really good example of Flash gurus experimenting with the potential of Javascript and HTML5, take a look at Grant Skinner’s tower defense game http://www.pirateslovedaisies.com/, it’s pretty impressive. Or even better, poke around the Javascript library he’s developing EaselJS, which is currently in alpha testing.

Keith Peters is speaking at a couple conferences coming up, geekybynature in NY, March 31st and April 1st, and then again June 9th-12th in NY at Flash and the City.

Posted in Flash, Javascript | Tagged , , , , | 1 Comment

Adding Flickr to WordPress

I was having an issue with adding my blog info to flickr, it wasn’t recognizing my login information. It requests 3 thing, the endpoint, your username and password. The endpoint address is usually something http://yoursite.com/xmlrpc.php, or if you installed the wordpress system into a different folder, such as blog or wordpress, then the end points would look something like this: http://yoursite.com/blog/xmlrpc.php or http://yoursite.com/wordpress/xmlrpc.php, respectively. The ultimate goal here is to provide the correct path to the xmlrpc.php file. I sifted through the help forum, which listed all kinds of responses, but the one that was key had to do with the settings in the writing panel in the WordPress Settings section.

About half way down there’s a check box that needs to be set, next to “XML-RPC: Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.” It wasn’t checked, but once I checked, I was able to proceed through the process.

Posted in Uncategorized | Leave a comment

Web Design is 95% Typography

Came across this post on Information Architects Japan, and how typography should be viewed as an interface element, no matter how limiting web fonts may be.

Key Points:

  • A printed work which cannot be read becomes a product without purpose.
  • Optimizing typography is optimizing readability, accessibility, usability(!), overall graphic balance.
  • Information design is not about the use of good typefaces, it is about the use of good typography. Which is a huge difference. Anyone can use typefaces, some can choose good typefaces, but only few master typography.
  • It is annoying how different browsers and platforms render fonts, But, well, it is part of a web designer’s job to make sure that texts are easy and nice to read on all major browsers and platforms. Correct leading, word and letter spacing, active white space, and dosed use of color help readability.
  • text as a user interface”. Have a look at Khoi Vinh’s website,

Read the full article

Posted in Information Design, Web Design, typography | Tagged , , | Leave a comment