Processing, Ported to JavaScript

imageProcessing derives its power from its use from Java, and using Java applets, you can run Processing sketches in a browser. (You can even use 3D — OpenGL included, with some trickery.) But what if you could use Processing syntax with JavaScript — even just for the heck of it?

John Resig has done just that, porting Processing’s syntax and basic functionality to JavaScript, using the browser support for the Canvas element:

Processing.js

Incredibly, the whole project fits in a svelte 5000 lines — a 10kb compressed download. Now that it’s done, is there any advantage? Well, I can see using it for simple, lightweight JavaScript visualizations in the context of a Web design in which an embedded Java applet didn’t make sense. You will want to keep your expectations realistic: you lose out on some of the performance and functionality advantages provided by Java, and John has the additional warnings:

NOTE: I highly recommend that you use the latest Firefox 3 beta to view the demos. Most will work in the latest WebKit Nightly and a majority will work in Opera 9.5, but all will work in Firefox 3.

Note again: A lot of these demos will peg your CPU. As I mentioned above, I’m trying to squeeze the most out of the browser, as possible - be ready for it!

That said, I’m running Firefox 2 on a modest CPU and most of the demos are actually just fine. Anyone out there who, for some reason, has been waiting for this, I’ll be curious to hear more about how you think it might be used. But for the rest of us, it proves that some of the power of Processing is in the underlying concept and syntax, not just the literal implementation — and that’s a cool thing. As for those crazy hackers out there, well, keep on hacking!

For a previous example of this kind of in-browser insanity on Create Digital Music:

Lily: Browser Beatboxes and the Rebirth of Max-Like Patching

Play the NY Times Website Like an Instrument, and Other New Lily Tricks

Why FreeFrameGL 1.5, Open 3D Plug-in Format, Rocks Our Teenage Party World

image Bart from Resolume has posted some details of the release of FreeFrame 1.5, including OpenGL-based FreeFrameGL:

FreeFrame 1.5 Release

Here’s why it makes us smiling, happy visualists:

  • Open and wide: It’s open, and supported by multiple hosts (the creators of VJamm, Resolume, and Salvation all contributed to the 1.5 team)
  • GPU, go! It gives you GPU-powered goodness, meaning more flexibility, power, and speed for 2D and 3D effects alike
  • More pixels, more frames: It runs at higher resolutions and frame rates
  • Third Dimension: It supports 3D functions and pixel shaders for joyous new eye candy
  • Timing: A timing function allows time-dependent visual effects like particle systems and physical simulations (tasty!)
  • Developer-friendly: Sample projects (Microsoft Visual Studio, Delphi, Xcode) and source should help get coders up and running — and the coders then turn out goodness for you non-coders
  • User-friendly: If you don’t want to code, you can expect lots more awesome plug-ins for your VJ app of choice.

Join us in CDM Labs: If you’re interested in joining a special CDMotion team working on additional documentation and sample projects, give me a holler. Otherwise, stay tuned.

Pictured: one of the Resolume team’s plug-ins in development.

Anyone up for doing the Death Star?

WiiWhorld Released: Generative Visuals with Wiimote and Windows

By Jaymis

Aforementioned visual synthsizer slash exercise tool WiiWhorld has been released for public consumption.

Jeff Mission has tied together GlovePIE (for Bluetooth/Wiimote input (previously on CDMo)), Whorld, and his own secret sauce (a GlovePIE script to control Whorld).

Put them all together with a dash of virtual midi port, and you get this:

Or as Jeff describes it:

Whorld is a free, open-source, live visual synthesizer for sacred geometry. It uses math to create a seamless animation of mesmerizing psychedelic images. You can VJ with it, make unique digital artwork with it, or sit back and watch it like a screensaver. The WiiWhorld project makes it possible to control the Whorld visualizer with the Nintendo Wiimote.

WiiWhorld.

3L Beta Winners Announced: Insert “Thrill” Pun Here

By Jaymis

After a little random number generation, I have the pleasure of announcing the winners of our 3L Beta Giveaway.

  • Leon Grant Bussinger
  • Chateau Bezerra
  • eri
  • Michael Hart
  • Nek

3L Opening Interface

Soon you’ll be gaping at this interface in awe, wondering what to do next. So I hope you’ve read the manual!

Those of you who didn’t win, don’t fret! You will soon be receiving an invitation from artificialeyes to join the 3L mailing list, so you’ll be among the first to know when the commercial release happens. Stay tuned for more 3L information as the software nears release, and those lucky Beta winners, please tell us when you have some 3L output available online for others to see!

3L Beta Entries Closed: Winners Announced on Monday

By Jaymis

Thanks to everyone who ran the system spec gauntlet and proudly entered our 3L Beta Giveaway. We’ll draw and announce the winners on Monday when ExiledSurfer and I have finished our respective travel itineraries.

In the meantime, for those who would like to get a head start on the 3L interface, artificialeyes have released the manual for public consumption (Download link: 1.2MB PDF).

When you open that file, you’ll be confronted with the following image.

3L Manual RTFM

Sage advice. artificialeyes have made some very interesting interface design choices with this software, and while they’ve packed a huge amount of control and signal flow functionality into a single screen interface, few would accuse it of being intuitive. Even with Michael and Todd showing you through the system it’s still quite confusing, and takes some time for the 3L paradigm to sink in. So for those 5 new beta testers hitting the software on Monday, getting a head start on the manual will have you blasting pixels out smoother and faster.

Good luck! As the commercial release of 3L approaches I’m sure we’ll have more exciting news coming.

Hang tight — we will have that announcement here. It’s Monday in New York for another few hours. -Ed.

3L Beta Giveaway: artificialeyes’ Generative Performance Tool Nearing Release

By Jaymis

It’s been 2 months since artificialeyes announced their new Mac-only visualist tool 3L ("Thrill"). The ae guys have just pushed out a new beta release, updated the 3L manuals, posted a new features page with screenshots, and the word from Michael is that the commercial release will happen as soon as they have the infrastructure in place for selling it.

To further whet your appetite, over 100 free VJ loops created with 3L have been posted to archive.org:

Free VJ LOOPS created with 3L
3L VJ Loops Series 2
Free VJ Loops created with 3L Series 3

3Lsampler01thumbs

… and leading by example, they have also released two content DVDs on VMS. These feature content generated almost entirely in 3L and are designed to be used with the VMS Video Moving Systems.

Hungry? Well, how would you like a main course of "Free 3L Private Beta" to go with that? artificialeyes have provided CDMo with five invitations to give away. The beta group is currently under 50 people, so this isn’t your average web2.0 style "put it out there and call it a beta so we don’t have to make it stable" software release.

Before you go putting up your hand, however, there are some conditions. Most importantly: You’ll need a machine which is capable of running 3L.

2.33GHz Intel based MacBook Pro or Mac Pro running:

  • OSX 10.4.1 or later (leopard included)
  • Quicktime 7.2 or later
  • Minimum screen resolution 1440 x 900 pixels
  • 2Gb RAM
  • 256Mb VRAM ATI or NVIDIA video card

If you can tick those boxes, then all you need to do is leave a comment on this post (edit: Entries are now closed. Winners will be announced on Monday). Entries will be open for 72 hours, then we will randomly select 5 people to join this exclusive group of visual visionaries beating their graphics chips into submission. Those who have been chosen will receive a beta invitation, and the others will receive an invitation to join the 3L mailing list (opt-in, of course).

If you miss out, don’t fret. The pricing for 3L - €200, €150 for students - is very competitive, and I’m sure that artificialeyes will keep us in the loop on their release progress.

Refresh: Asides

Free VJ Clips: MoRpH Releases First of Series on Archive.org -

Australian VJ MoRpH is planning to release a pack of free videos each month leading up to a European tour in August. CDMo readers may have seen some of MoRpH’s work projected on buildings in the intro to our VMS video. The first pack is now available on Archive.org (Screenshots here). (Update: Follow-up pack released).

If you’re still looking for some more free stuff, then also mentioned in the VJForums thread is VJVault, which currently contains 900 videos for download (sign up required).

WiiWhorld: Wii-Controlled Generative Visuals Make Your Partygoers Say Wiiiiii

Jeff Mission writes to say he’s been working on a new project that couples the Wii remote with generative visuals — all built in free software. Like it, but think it could go further? It’s free, so have a go (soon, at least). Jeff writes:

Chris Korda, developer of the open-source VJ softwares Whorld and FFRend, and I have been working on a project to control real-time, generative geometric visuals with the ever-popular Nintendo Wiimote. We dubbed the project WiiWhorld.

I am pleased to announce that the first proper WiiWhorld demo video is now available online:

http://youtube.com/watch?v=bw1bHVPHk_g

Swirly colors, techno, dancing, and lots of smiling faces! Anyway, I think it does a decent job of capturing people having fun playing with our little digital toy.

The video was cobbled together from about 90 minutes of party footage shot a couple months ago. We set up our rig and invited people to play around, with a minimum of instruction. It was great fun to watch people play around, figure it out, and then teach new techniques to one another.

As for the project itself, it requires a Wiimote and a bluetooth-enabled computer. All the software involved (GlovePIE, Whorld, and FFRend) is 100% free, making this (we hope) a project that others can adopt and expand in the future, at minimal cost. We hope to publish more detailed information soon, so that others can try WiiWhorld for themselves.

Please give it a look, leave comments and ratings, and pass it on!

The project is apparently brand new — and Jeff says more web content and videos and documentation and such are all coming soon.

And yes, GlovePIE, Whorld, and FFRend are all free and open-source Windows apps. (And you thought Linux had all the fun.) beatfix (aka Jeff) suggested them and got our Windows free apps round-up going:

VisualJockey Goes Freeware; Free Windows and Cross-Platform VJ - Visualist Round-Up

Anyone who wants to get us rolling on a similar Mac or Linux list, drop us a line.

NIN Ghosts: An Open Call for YouTube Visualists

By vade

We’re big fans of NIN’s new album, Ghosts. Now, visualists will get to freely interpret the album in an open YouTube “festival”…

I’ve come out of my self-imposed solitary confinement only due to my man love for Trent Reznor. (Don’t ask.) Following up on the huge success of the Ghosts I-IV release (grossing a cool $1.6 mil during the first week), Trent is announcing a partnership with YouTube to present a user-submitted film festival for works inspired by Ghosts. From NIN.com:

First of all, a sincere THANK YOU for the response to Ghosts. We are all amazed at the reaction for what we assumed would be a quiet curiosity in the NIN catalog. My faith in all of you has been restored - let’s all go have coffee somewhere (my treat)!

Today we announce the expansion of the Ghosts project into the visual world. This record began as an experiment with us using sound as a means to describe visuals. Early in the project we thought it would be interesting to see what the community could create / collaborate on as a reaction to the music we were making. We wanted to keep the canvas as blank as possible for you, hence the lack of descriptive song titles and the primarily textural artwork and packaging.

So here’s the plan: we’ve teamed up with YouTube to host a “film festival” around Ghosts. The concept is for you to take whatever tracks you feel inspired by from Ghosts and create what you feel should accompany them visually. You will be able to see all of the submissions, and a team of us (including me) will be sorting through them and setting aside ones we feel are exceptional. Eventually (within a couple of months?) we will present a virtual “film festival” with me and some special guests presenting selections of your work.

This isn’t a contest and you don’t win elaborate prizes - it’s meant to be an experiment in collaboration and a chance for us to interact beyond the typical one-way artist-to-fan relationship. We’ve discussed some interesting ways this could go, including multiple installments of the online “film festivals,” to broadcast TV specials, to a one-time live performance of the entire Ghosts record with your visuals involved. It really depends on how this progresses and develops.

We are all very much looking forward to what you come up with, and hope you enjoy the experience. Visit our YouTube channel for information on how to participate.

NIN’s music has been and continues to be some of the most visually inspiring and cinematic music I listen to; now here’s a chance for myself — and everyone else — to freely be share their work and use NIN’s music without repercussion. If only there were more time!

VisualJockey Goes Freeware; Free Windows and Cross-Platform VJ - Visualist Round-Up

visualjockey

Blending patching, performance, and timeline metaphors, with a healthy dose of effects and sound capabilities, VisualJockey is a unique tool you can now have for free. Need an excuse to load Boot Camp, Mac users?

The Mac may be in the spotlight these days, but Windows may boast the broadest access to freeware and open source tools for live visuals.

The latest edition: VisualJockey, as pointed out (alongside other free Windows tools) by beatfix on comments.

VisualJockey: Real-time Animation

You get a pretty powerful set of tools in this app, first introduced in 1999:

  • Full Windows support, including Vista
  • Alpha support throughout; image, AVI, QuickTime file format compatibility
  • Global keystone capability
  • MIDI, multi-monitor support
  • Compatible with FreeFrame plug-ins (open plug-in spec for visuals)
  • Sound beatmatching, internal LFOs with lots of waveshapes
  • Generators for particles, patterns
  • 2D color filtering, effects, blue screen
  • 20+ transitions or custom bitmap transitions
  • 3D support for 3DS import, primitives, 3D animation
  • Export to AVI (which means it can double as an editor)

In fact, VisualJockey’s approach I think is unique — a set of tabs controlling different approaches, a hybrid blend of other interface paradigms. Want a timeline? A reactive sound system? A modular, generative 3D patch? It’s all in there. The UI is decidedly retro, and you get more flexibility from true modular patching environments, but at this price, if you feel like you want another tool in your belt, it’s hard to resist. And with export, this could be handy to have around alongside your existing tool of choice.

But VisualJockey is just the start — here are a few more from beatfix (and me):

read more