This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PixelBounds.cpp | |
// Demonstrates calculating the actual pixel bounds ( non-transparent bounds ) for a texture in Cinder | |
// More information here: http://wp.me/pPFvc-42 | |
// | |
#include <cinder/app/AppBasic.h> | |
#include <cinder/Font.h> | |
#include <cinder/Text.h> | |
#include "cinder/gl/Texture.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import urllib | |
from xml.etree.ElementTree import Element, ElementTree, SubElement, dump | |
from BeautifulSoup import BeautifulSoup | |
import re | |
import sys | |
# create a root xml node | |
root = Element('data') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package makemachine.display.demos | |
{ | |
import aze.motion.eaze; | |
import com.bit101.components.*; | |
import flash.display.*; | |
import flash.events.*; | |
import flash.geom.Point; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package makemachine.examples.audio | |
{ | |
import com.bit101.components.*; | |
import flash.display.*; | |
import flash.events.*; | |
import flash.geom.Point; | |
import flash.media.*; | |
import flash.net.URLRequest; | |
import flash.utils.ByteArray; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package makemachine.demos.audio.wavetables | |
{ | |
import com.bit101.components.*; | |
import flash.display.*; | |
import flash.events.*; | |
import flash.media.*; | |
import flash.utils.*; | |
[SWF( width="620", height="260", backgroundColor="0x222222", frameRate="60" )] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package makemachine.demos.audio.wavetables | |
{ | |
import com.bit101.components.*; | |
import flash.display.*; | |
import flash.events.*; | |
import flash.media.*; | |
import flash.utils.*; | |
[ SWF( width='620', height='225', frameRate='60', backgroundColor="0x222222" ) ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package makemachine.examples.audio.note_visualizer | |
{ | |
import com.bit101.components.*; | |
import flash.display.*; | |
import flash.events.*; | |
import flash.media.*; | |
import flash.utils.ByteArray; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package aze.motion.specials | |
{ | |
import aze.motion.*; | |
import aze.motion.specials.*; | |
/** | |
* A hex tween plug-in for use with Eaze animation engine | |
* For instructions on use visit: | |
* http://labs.makemachine.net/2010/10/gradient-tween-for-eaze/ | |
* |
NewerOlder