Fugio 2.0.0 – Timeline

Happy Fugio Friday!

The first Fugio release of 2017 brings a new powerful timeline plugin for sequencing values, colours, grids, and signals over time.  The timeline was the whole reason Fugio exists in the first place, though it has taken me a while to get it ready for its public debut.  Despite this, there are a few caveats:

Caveat #1: I’ll be working on a new tutorial video to introduce the plugin in the next week or two, and I’m going to be adding to the wiki too

Caveat #2: I haven’t released the media timeline node yet as I’m still testing it

Caveat #3: I haven’t added the source to GitHub yet as it still needs quite a bit of a tidy, so there’s no timeline support on Linux yet

You’ll also notice I’ve bumped the version of Fugio up to 2.0.0.  As Fugio is more an incremental project that changes over time rather than having distinct versions, I’m going to increment the major version by one every year, the minor version for every release, and the point version for every hotfix.

Also, with the addition of the timeline nodes, Fugio now has over 200 nodes available.

NEW

  • Timeline plugin
  • Supports single pass rendering to OpenGL cubemap using geometry shader
  • ImageSaveNode takes a frame number
  • Added texture compare support in OpenGL
  • Added CubeMapRender node to OpenGL
  • OSC decoding of more types, including blobs

CHANGED

  • Updated FFMPEG on Windows to 3.2
  • Updated Lua on Windows to 5.3.3
  • API: moved node creation to context – plugins need rebuild

FIXED

  • Nodes rendering outside of the editor window (reported by @braedenf)
  • OSC decoding with multiple arguments wasn’t suggesting correct pin type (reported by C. Littleford)
  • PortAudio loading on macOS
  • Plugin loading issue on Windows (reported by A. Fundorin)
  • Handling of multibyte device name handling in PortAudio on Windows (reported by A. Fundorin)
  • OpenGL initialisation on Windows

Merry Christmas!

While we’re still wrapping the final presents at bigfug HQ, I wanted to wish you all a very Merry Christmas and thank you for your kind support over the 12 months.

It’s been a full and exciting year (albeit with a few weird bumps along the road (am still sad about Bowie!)) and I’m looking forward to working on some great projects and releasing some very exciting features for Fugio and Painting With Light in 2017.

Do keep your comments, suggestions, and bug reports coming in.  They’re invaluable to helping me make the software even better.

Now, where are the mince pies…

Fugio Friday – 9th December 2016

 

Happy Fugio Friday (on a Saturday!)

My flight back from Tel Aviv developed a technical problem and we had to make an unscheduled stop in Athens, finally arriving back in the UK seven hours later than expected, hence the late post!

I’m happy to release an update to the Windows version of Fugio, bringing it up to speed with the macOS release from last week.

There was also a bug report about plugin loading under Windows that I’ve now fixed.

Updated your installation using the maintenance tool in the application directory, or download and install a fresh version:

Download Fugio 1.11.0 for Windows (7, 8, 8.1, 10)

Download Fugio 1.11.0 for macOS (OS X) (Mavericks 10.9+)

Fugio Friday – Media Playback with FFMPEG

Happy Fugio Friday!

This week sees the initial release of the FFMPEG plugin that enables media playback in Fugio.

It’s taken some time to get this one ready, even though it was one of the first plugins I wrote, as it needed quite some testing with all manner of different video and audio files.

There are also a couple of new nodes in the Core plugin: “Trigger Boolean” and “Trigger Array”, which both have examples showing how to use them.

I’ve also found a way to package up all the support libraries on macOS so you don’t need to install or update Homebrew anymore.  This makes it much easier to install Fugio and make it work out of the box for new users.  If you want to compile Fugio on macOS, it’s still recommended to use Homebrew for installing the dependencies.

As I’m still in Tel Aviv with only a MacBook to work on, so the updated Windows version will be released next week.

If you have already installed Fugio you can use the Maintenance Tool in the application directory to get the latest version, or download the installer:

Download Fugio 1.11.0 for macOS/OS X (10.9+)

Don’t forget to join the Fugio Users Group (FUG) on Facebook and Like the Facebook Page.

Have fun!

Fugio Friday – 25th November 2016

Happy Fugio Friday!

Landed in Tel Aviv last night and I’m in Israel for a couple of weeks.

Currently there’s some exciting stuff going on with Fugio (and Painting With Light) in the background as I’m gearing up for releasing the next plugin, which will be media playback and recording.

Ever since I started releasing software on Mac I’ve moved between various strategies for how to package it to include all the required libraries.  Fugio has required the installation of Homebrew to activate plugins like Lua and PortAudio.  This never quite seemed ideal as, though I think Homebrew (and MacPorts) are excellent, and about as simple as you can get, I’d rather simplify the Fugio installation to a one-step process.

To this end, I’ve been experimenting with a custom build of required libraries, and – with some very helpful testing by Mchiele C and Scott W (thanks, guys!) – it looks like I might have got it working.

If you want to try out the latest macOS installer, which doesn’t require Homebrew, it’s available by clicking on this link:

Fugio-1.11.2-OSX.dmg (OS X/macOS 10.9+)

Fixing this is key to releasing the media plugin, which is based on the FFMPEG libraries.  Work is still progressing on this, and I hope to release it for macOS next week (Windows version will be the following week when I’m back in the UK).

Have a good weekend!

Fugio Friday – 21st October 2016

Happy Fugio Friday!

This last week I went down to Cornwall for a meeting at Eden Project that I am one of several artists and many scientists who are were called on for some advice for a large project they’re working on.

It was also a great opportunity to check on the status of the interactive Fugio powered installation “The Human Super Organism” that I installed as part of their Invisible You permanent exhibition.

The Human Super Organism

Eden Project gets around one million visitors a year, so it’s an amazing opportunity to see how Fugio copes with that level of activity.  I’m happy to report, other than someone managing to steal the Leap Motion sensor (we’ve locked it down now!), the installation has run perfectly since it was installed, so I’m chuffed about that!

As well as giving a talk about my art practise and Fugio as part of Lewes Light last week, it’s been a busy week with no time for programming, so no Fugio updates this week.  I’m off to Cambridge next week and should have some time for something new…

Have a good week!

Alex

Fugio 1.9.0 – Leap Motion and XInput

Happy Fugio Friday!

I’m back from California, somewhat jetlagged, with two new Fugio plugins!

Download Fugio 1.9.0 for Windows and macOS (get the source code)

The Leap Motion controller picks up the positions of your hands in space. It’s supported on Windows and macOS. I used it for this Theremin inspired synthesizer patch:

The Leap Motion plugin doesn’t support finger positions yet – this will be added in a later update.

The XInput plugin brings the Microsoft XBox controller into Fugio (on Windows).  It supports four devices simultaneously.

Along with the compiled Kinect plugin from last week (again, Windows only) we have a new range of exciting input devices to play around with.

Obviously two of these plugins are Windows only, which is due to the fact that the hardware is built by Microsoft, but I have Kinect support for macOS coming too via OpenNI.

I’ll be speaking (in part) about Fugio at the Lewes Light festival conference today.

Next week I’m off to Cornwall for a couple of days as I’m on an advisory panel for something exciting at the amazing Eden Project.

NEW

  • Leap Motion plugin
  • XInput plugin
  • MatrixInverse and MatrixOrthographic nodes

UPDATED

  • New options in serial port configuration

FIXED

  • GL_INT_SAMPLER_2D had disappeared from ShaderCompiler
  • Rendering to depth textures
  • OpenGL command line option to open windows full screen

 

Fugio Friday – 30th September 2016

Happy Fugio Friday!

This week I’m in Irvine, California installing of my Fugio based artwork “Shadows of Light” at the Beall Center for Art + Technology.  The exhibition “Embodied Encounters” is open from October 1st 2016 to January 21st 2017 and features work by seven international contemporary artists.

There is an opening reception on Saturday, October 1st, 2-5pm – I’ll be there!

As I’ve been busy doing that, and the V&A show last weekend, there is no binary release this week, but there are some goodies to be had in the source code, if you’re compiling along at home:

  • NEW Kinect plugin (Kinect version 1 for Microsoft Windows only)
  • NEW MatrixInverse and MatrixOrthographic nodes
  • UPDATED Serial Port device configuration with many more options
  • FIXED rendering to OpenGL depth buffers
  • FIXED missing GL_INT_SAMPLER_2D support from ShaderCompiler
  • FIXED OpenGL command line option to make windows full screen

I’m not expecting to do a Fugio Friday next week as I’m taking a sort of holiday after the show opens, but I’ll be around to answer questions and such.

Fugio 1.8.0 – Serial port and Firmata plugins

Arduino Uno

Happy Fugio Friday!

Today we have two new plugins that enable Fugio to talk to hardware that uses a serial port interface, which includes the Arduino range of open source hardware (like the Arduino Uno above), which means that we can control LED lights, motors, servos, and use sensors for touch, magnetism, temperature, and many more!

The serial plugin handles the raw data communication between the Arduino and Fugio, and can be used to implement any kind of custom protocol between the two, but we can go one further and use the rather nice Firmata plugin to talk directly to the Arduino pins without writing any Arduino code at all.

Download Fugio 1.8.0 for Windows and OS X

Get the source code on GitHub

I haven’t had time to do a tutorial video (yet), but here’s some pointers to get you started:

Setting up a Serial Port

  • In the new Devices menu, choose Serial Ports
  • Add an entry for your Arduino.  Make sure you choose the right port, and set the baud rate (the speed the serial port will work at) to 57600 (bits per second)
  • Remember to press the Enable button for the entry you’ve just added

Arduino Serial Configuration

Reading from the Arduino (without Firmata)

Upload the following code to your Arduino:

void setup()
{
  Serial.begin( 57600 );
  
  while( !Serial )
  {
    // wait for serial port to connect.
  }
}

void loop()
{
  Serial.println( "Hello, World!" );
  
  delay(1000);              // wait for a second
}

Create the following:

Fugio reading from Arduino

And use the following Lua program:

fugio = require "fugio"

PinInputStrings = fugio.input( "Strings" )

function main()
	local Strings = PinInputStrings:get()

	for i = 1,#Strings do
		fugio.log( i .. ": " .. Strings[ i ] )
	end
end

Setting up Firmata

Instructable for installing Firmata on Arduino

And here’s what you have to do in Fugio:

Quit the Arduino software and load Fugio:

  • Add a Serial Input node, a Firmata node, and a Serial Output node
  • Connect the Serial input and Serial output to the Firmata node
  • Connect a button to the Reset pin

Firmata setup

If everything is connected and configured properly, you should see the pins appearing on the Firmata node.  Check the logger window for additional messages.

Firmata with pins

If this doesn’t happen first time, you may need to close the patch and reload it.

At this point you should be able to read and write to the Arduino pins!

Click the Edit Pins button to configure pins for inputs (digital INPUT (true/false) and ANALOG input (0-1023)), and outputs (digital OUTPUT (true/false), and PWM mode is supported):

Firmata pins

I’m going to be showing a couple of artworks at the prestigious V&A Museum in London for the next few days with the High Altitude Bioprospecting team (and fellow members of the Institute of Unnecessary Research) for the Digital Design Weekend as part of the London Design Festival.

23rd September: 6-8pm
24th and 25th September: 10:30am-5pm

I’ll have Fugio on hand (creating music from genomic data) so come and say hello!

Fugio on Raspberry Pi detailed guide

 

Happy Fugio Friday!

This week I have written a detailed guide for getting Fugio up and running on a Raspberry Pi using cross compiling:

Cross Compile Fugio to Raspberry Pi (bigfug wiki)

This guide covers installing a virtual Linux machine (if you need one), compiling Qt 5.7 with accelerated OpenGL support, and building Fugio with all the currently supported libraries.

Have fun…

pjGzeon