Archive for November, 2007

Silverlight 1.1 is now 2.0

Thursday, November 29th, 2007

So I was reading Tim Sneath’s blog post about Silverlight v.Next getting rebranded to 2.0.  He goes into some new features and leaves out a few surprises.  Anyway, it looks like with this release they’re really trying to get Silverlight and WPF more consistent so its easy to build desktop apps that are easily portable to Silverlight.  They haven’t released anything yet so I can’t get very detailed but here’s a brief…

Adding the Common Language Runtime, Base Class Libraries, Dynamic Language Runtime, the UI Frameworks, DRM, etc.  The UI framework is supposedly the kicker (extensible control framework, two-way data binding, templates, styles, all the standard controls (TextBox, ScrollBar, CheckBox, RadioButton etc.), multiple layout containers (Grid, StackPanel, Canvas)), so we’ll see what they’ve been up to soon.

Blogged with Flock

Ice Cube promoting Silverlight

Wednesday, November 28th, 2007

This is the silliest promotion I’ve seen yet.

AS3 BulkLoader Released

Tuesday, November 27th, 2007

BulkLoader is a minimal library written in Actionscript 3 (AS3) that aims to make loading and managing complex loading requirements easier and faster. BulkLoader takes a more dynamic, less architecture heavy aproach. Few imports and making heavy use of AS3’s dynamic capabilities, BulkLoader has a one-liner feel that doesn’t get your way.

BulkLoader tries to hide the complexity of loading many data types in AS3, providing a unified interface for loading, accessing and events notification for different types of content.

This library is licensed under an open source MIT license. Features:

  • Connection pooling.
  • Unified interface for different loading types.
  • Unified progress notification.
  • Events for individual items and as groups.
  • Priority
  • Stop and resuming individually as well as in bulk.
  • Cache managing.
  • Statistics about loading (latency, speed, average speed).
  • Multiple kinds on progress indication: ratio (items loaded / items to load), bytes , and weighted percentage.
  • Multiple number of retries.
  • Configurable logging.

Design goals:

  • Minimal imports.
  • Few method to learn.
  • Dynamic nature: items can be added by specifying a url as a String or a URLRequest .
  • Items can be assigned an identifier key to be used on retrival.
  • Only one class to learn / use.

BulkLoader tries to gracefully handle progress notification in these use cases:

  • Few connections to open: bytes total can be used instantly.
  • Many connections opened: progress by ratio
  • Many connections opened for data of widely varying sizes: progress by weight.

More details on the authors blog

SWFAddress 2.0 Released

Monday, November 26th, 2007

SWFAddress is a small, but powerful library that provides deep linking for Flash and Ajax. It’s a developer tool, allowing creation of unique virtual URLs that can point to a website section or an application state. SWFAddress enables a number of important capabilities which are missing in today’s rich web technologies including:

  • Bookmarking in a browser or social website
  • Sending links via email or instant messenger
  • Finding specific content with the major search engines
  • Utilizing browser history and reload buttons

What’s new in 2.0

  • Support for multiple Flash movies and Ajax.
  • Event listeners for ActionScript and JavaScript.
  • New SWFAddressEvent class with support for INIT and CHANGE types.
  • New unobtrusive SEO technique.
  • Support for Adobe Flash CS3.
  • Support for Flash Player 7 with the Flash/JavaScript Integration Kit.
  • Support for SWFObject 2.0, UFO and Adobe’s Active Content embedding.
  • New strict mode that adds trailing slashes by default.
  • New helper methods for link, window and popup management.
  • Ability to configure the script with query parameters.
  • The swfaddress.html is optional and not used by default.
  • Lots of new and improved Flash based samples.
  • Various optimizations and fixes.
  • API docs for ActionScript 3 and JavaScript.

Book: Processing

Tuesday, November 13th, 2007

Processing Processing is an open-source programming language that can be used by students, artists, designers, architects, researchers, and anyone who wants to program images, animation, and interactivity. 

Now MIT Press has published a book by the original developers Casey and Ben on Processing and the recommendations it goes with are worth quoting:

“Processing is a milestone not only in the history of computer software, of information design, and of the visual arts, but also in social history. Many have commented on the pragmatic impact of the open source movement, but it is time to also consider Processing’s sociological and psychological consequences. Processing invites people to tinker, and tinkering is the first step for any scientific and artistic creation. After the tinkering, it leads designers to their idea of perfection. It enables complexity, yet it is approachable; it is rigorous, yet malleable. Its home page exudes the enthusiasm of so many designers and artists from all over the world, overflowing with ideas and proud to be able to share. Processing is a great gift to the world.”
Paola Antonelli, Curator, Architecture and Design, MOMA

“This long-awaited book is more than just a software guide; it is a tool for unlocking a powerful new way of thinking, making, and acting. Not since the Bauhaus have visual artists revisited technology in such a world-changing way. Ben Fry and Casey Reas have helped a growing community of visual producers open up fresh veins of expression. Their work proves that code is open to designers, architects, musicians, and animators, not just to engineers. Providing a powerful alternative to proprietary software, Processing is part of a new social phenomenon in the arts that speaks to self-education and networked engagement.”
Ellen Lupton, Director of the graphic design MFA program at Maryland Institute College of Art, Baltimore, and Author of D.I.Y: Design It Yourself

“A whole generation of designers, artists, students, and professors have been influenced by Processing. Now, a handbook is published that goes far beyond explaining how to handle the technology and boldly reveals the potential future for the electronic sketchbook.”
Joachim Sauter, University of the Arts, Berlin, Founder, Art+Com

Tags:

Great Little Code Repository

Sunday, November 11th, 2007

Here’s a great little resource for for AS3 code snippets.

Tags: , , , ,

New as3 physics engine

Wednesday, November 7th, 2007

A new AS3 physics engine has been released from generalrelativity and adds itself to the block. It is in early alpha but this is looking pretty good so far. APE, the highly anticipated Motor Physics from polygonal labs and now FOAM, so many wonderful physics toys to build games with!

Current Features:

  • Rigid body simulation
    • Arbitrary convex polygons
    • Circles
    • Cubic Bezier curves
    • Lines
  • Constraints
    • Springs
    • Bungees
  • Easily swappable numerical integrators
    • RK4
    • Euler
    • Midpoint
  • Separation Axis Theorem based collision detection
  • Modular force generation

Source

Demos:

SVN:

  • http://foam-as3.googlecode.com/svn/trunk/

Here’s a list of classes in the repo:
AABR
AABRDetector
AbstractSolver
AxisProjection
BezierDetector
Bungee
Circle
CircleAxisProjection
CircleCircleDetector
CirclePolygonDetector
CollisionResolver
CollisionType
Contact
CubicBezierCurve
Euler
Foam
FOAM_AS3
Friction
Gravity
IBody
ICoarseCollisionDetector
ICollisionFactory
IFineCollisionDetector
IFoamRenderer
IForceGenerator
IODE
IODESolver
ISimulatable
KeyDrivenTorqueGenerator
MathUtil
MouseSpring
PhysicsEngine
PointPolygonDetector
PolygonPolygonDetector
Renderable
RenderingUtil
RigidBody
RigidBodyBungee
RigidBodySpring
RK4
RotationMatrix
SATCollisionFactory
ShapeUtil
SimpleFoamRenderer
SimpleForceGenerator
SimpleMap
SimpleParticle
Simplification
Spring
Vector
ZeroGravityToyChest

game on! Thanks Drew!

Cool WPF Augmented Reality Example

Friday, November 2nd, 2007

Here is a cool example of manipulating 3d objects using small barcodes.  But what’s really cool is that you could probably do this with Papervision and Flash as well.