Category: Examples

  • GL Rotate and translate example (OpenFrameworks)

    I consistently seem to get myself confused by the order of operations when working with ofTranslate and ofRotate in openFrameworks and it feels like I have to re-teach myself each time I have to do something with those transforms.

    I made this simple bare bones cheatsheet program for myself to help show the differences between different rotate and translate orders, and I hope it helps others…hopefully will get time to post more low level tutorials like this in the near future with some of the more complicated matrix transforms/homography for projection mapping.

    Made with xCode and OF0072 but you should be able to just drop the “src” file into a Visual Studio Empty Example if you need to…enjoy!

    [Download not found]

  • Now on Github and Twitter!

    Been on github for a while, but probably a good idea to make an extra post here. Not a whole lot of useful stuff there yet, but hopefully will be posting some openFrameworks examples and stuff like that while I continue to work on that stuff.

    www.github.com/laserpilot

    www.twitter.com/laserpilot

  • Canon2Syphon v1.6

    Canon2Syphon v1.6

     

    UNFORTUNATELY – I’m getting reports that this app now crashes in macOS 10.13 High Sierra. Unfortunately, I have no plans to support this app any longer, so I’m going to have to leave it up to the next person to take the Canon SDK and mash it up with Syphon…

    A sort of beta release for using your Canon DSLR with the amazing Syphon framework. This lets you use your DSLR live in VDMX, Modul8, MadMapper, and any Syphon enabled app!

    I will be releasing the source soon, but it is literally just taking Kyle McDonald’s ofxEDSDK and the ofxSyphon addon and putting them together if you want to make something yourself. I also can’t release the EDSDK and you would have to grab it yourself from Canon’s developer website.

    Should work fine with most DSLR’s. Currently tested with t1i, t2i, t3i…and will hopefully work with 5D and 7D

    Let me know if you have issues or suggestions!

    UPDATE: v1.1 – camera stream now resizeable. icon tweak. Still working on crashing issues.
    UPDATE v1.11 – new/prettier icon from awesome user Simas Gineika. Other updates coming soon, like render to texture instead of window..just working on resizing issues

    UPDATE: v1.2 – Added render to texture instead of window…doesn’t seem to improve performance for me, but may help some people? Also added the ability to set a custom syphon server name.

    UPDATE: Bangnoise has created their own canon->syphon bridge that I can only assume is more fully featured/reliable than mine…going forward I’d say to check their solution out instead: https://github.com/v002/v002-Camera-Live

    Contact me for OLDer versions in case 1.2 doesn’t work

    NEW VERSION 1.6 – OSX 10.8 and above ONLY (stops working after 10.12) – Uses EDSDK 2.13.2 and now uses Cinder in the core – this has the advantage of only using 50% CPU as opposed to 150% in the previous version. It now uses these addons from Red Paper Heart and Astellato

    Canon2Syphon_v1.6.zip (13193 downloads )

    Version 1.5 – OS X 10.7 and above ONLY – should now support T5i and newer cameras – uses EDSDK 2.13. Runs 24fps/15cam FPS on my 2010 Macbook Pro with a lot of CPU usage – may close after 10min – Program has issues closing it’s threads properly and may need to be force quit. Use at your own risk.

    [Download not found] – 30mb download

     

    OLD VERSION 1.2 – OS X 10.6 and above but only supports T2i and similar aged cameras (maybe t3i)

    [Download not found]
  • 1024 Bezier Warp – Expanded QC Comp for VDMX

    First, make sure you have 1024’s amazing Bezier Warp QCplugin: http://1024d.wordpress.com/ (get it from their “box” on the left side of the page)

    Second, grab my expanded version of their example patch for use in VDMX: Quartz Composer – 1024 Bezier Warp – Expanded Example Patch (2600 downloads )   (see below for comp that includes POINT STORAGE)

    This comp will be really useful for those of you with VDMX beta 8 access. Although it still is extremely functional for other versions, you just won’t have mouse interaction in the VDMX preview window.

    I did the rote work to make all 16 warp points available and gave them additional offset controls for more fine-tuning within VDMX. Next I just need to figure out how to tackle point storage, since most of the would be reset every time you reload your VDMX preset…unless you’re just using the sliders for offset values. Then again…all of this kind of work will probably be moot when the actual MadMapper app comes out…but I’m really impressed by the ease of mapper…seems like it will certainly come in handy. Here’s some screenshots, and below that is Vidvox’s very helpful video on getting it all up and running

    EDIT: Got point storage working..sort of. It’s a bit clunky, but it definitely works. Requires a whole lot of tedious patching and Kineme’s File tools and Structure tools, but I’ll try and post a working version soon.

    UPDATE: Here is the hacky point storage method. Make sure to read the readme..it’s not all self explanatory: Quartz Composer – 1024 Bezier Warp – Point Storage (2584 downloads )  You need kineme’s file tools and structure tools installed for it to work! Would love to hear if there’s a more streamlined way to do it!

    (Click for full size)

  • Jit.freenect examples

    Download the patch here: Max/MSP/Jitter – Jit.freenect examples (3502 downloads ) (or right click and select “Save as”)

    Using Jean-Marc Pelletier’s amazing Jit.freenect grab tool I was able to join in on the Microsoft Kinect party. I haven’t made anything nearly as impressive as the myriad of videos flying around youtube and vimeo, but it was fun to play with the depth information for the first time.

    I’m more of a max/msp guy, so I just threw together a few examples based on what came to mind in the first few hours of playing with one. Haven’t really touched it with Openframeworks or anything like that yet, but that’s definitely the tool of choice for most people. The first time I played with the tool in Jitter, I had trouble getting the right kind of data treatment in order to get interesting looking things, but this time i was able to cobble together things based on suggestions from users on the Cycling 74 forums. Hopefully my simple experiments will be helpful to someone else. Unfortunately, I was borrowing my kinect so I’m sort of flying blind in terms of updating the example. Hopefully I didn’t break anything when I cleaned it up…

    In the example you can get a slice of the depth info and use that as a simple controller, you can control a goofy theremin, map the depth info onto 3d nurbs, and colorize the depth info.

    Screenshots are below…I have video, but it’s not very interesting, so a photo will have to do.

    (CLICK FOR LARGER VERSION)

    Freenect-screengrab

  • Quartz Composer Example: Toss image

    When posting Twitfeed and Wiipaint, I forgot about this other example of mine. It was one of my first attempts at using QC 4’s physics patches and it came out pretty well just by messing with the Apple examples. It allows you to give it a folder of images, and based on a simple pulse trigger (in this case, the space bar), it spits out another image on top of the old one. They all kind of pile on top of each other and have a nice, natural spring motion to them. It’s not the cleanest patch in the world, but let me know if you have any questions about deciphering it…a lot of the magic is in JavaScript for ease of logic, but I am the world’s sloppiest JavaScript programmer.

    Quartz Composer – Toss image quartz example (2510 downloads )
  • Quartz composer examples: Twitfeed and WiiPaint for VDMX

    Just a couple old examples that people used to ask for or could possibly find useful. The first is good ol’ WiiPaint which is a sort of lame way to use a Wiimote with VDMX or quartz composer, but it allows for drawing, erasing and color changes.

    Quartz Composer – WiiPaint (1307 downloads )

    I also made a quick patch out of the RSS feed reader patch in Quartz and set it to search for tweets and display them in real time. It is a good choice for overlays at an event where there is a specific #hashtag. It displays each tweet and allows for control of color, and duration of each tweet, as well as accepting text input for a search term. Enjoy! PLEASE NOTE: DUE TO TWITTER API CHANGES IN JUNE 2013 THE RSS FEED NO LONGER WORKS. Sorry 🙁  Quartz Composer – Twitfeed quartz comp (2593 downloads )

  • Jitter example: Color Channel Delay

    I’ve always had trouble with the jit.matrixset object so this was sort of an excuse to play with it a little more. Someone had asked a question about this kind of effect on a Cycling 74 forum a few weeks ago, so I decided to try and re-create it recently with pretty decent results. I commented the hell out of it so you should be able to figure out what’s going on if you’re curious. Hopefully this will be the beginning of a series of Jitter examples…I will post lightpainting and the color a sound patch very soon. In the meantime, enjoy this one and let me know if you’re having difficulties in the comments:

    Max/MSP/Jitter – Color channel delay example (2580 downloads )  (Right click and choose “Save As”)

    Click images for full sized version: