Skip to content

Instantly share code, notes, and snippets.

🤘

itoz itoz

🤘
Block or report user

Report or block itoz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@itoz
itoz / gist:1267232
Created Oct 6, 2011
AIR3 Desktop Captive Runtime Build Ant
View gist:1267232
<project name="build desktop captive runtime" default="build">
<property name="adt" value="[adtのパス]" />
<property name="cirtificate" value="[さーてぃふぃけいとパス]" />
<property name="cirtificate.pass" value="[ぱすわーど]" />
<target name="build">
<java jar="${adt}" fork="true">
@itoz
itoz / gist:1286088
Created Oct 14, 2011
[jsx]TRG_LENG値の正方形に収まるように画像をpsdをリサイズ
View gist:1286088
//***********************************************
//
// TRG_LENG値の正方形に収まるようにpsdをリサイズするjsx
// author itoz (www.romatica.com)
//
//***********************************************
var TRG_LENG = 60;
@itoz
itoz / gist:1292062
Created Oct 17, 2011
DisplayObjectをBase64文字列(png)に変換
View gist:1292062
// ======================================================================
/**
* DisplayObjectをBase64文字列(png)に変換.
* @param target 画像化したいDisplayObject
* @param w 幅
* @param h 高さ
*/
//import com.adobe.images.PNGEncoder;
//import mx.utils.Base64Encoder;
@itoz
itoz / gist:1302888
Created Oct 21, 2011
[AIR] ディレクトリ内ファイル一覧を取得
View gist:1302888
/**
*============================================================
* copyright(c) 2011
* @author itoz
* 2011/10/21
*============================================================
*/
package
{
import qnx.ui.buttons.LabelButton;
@itoz
itoz / AccelerometerConvertToRotation_Sample.as
Created Feb 17, 2012
[AIR] Accelerometerから、回転角度に変換
View AccelerometerConvertToRotation_Sample.as
/**
* copyright (c) 2012 www.romatica.com
* @auther itoz
* 2012.2.17 17:31:03
*/
package
{
import flash.events.AccelerometerEvent;
import flash.sensors.Accelerometer;
import flash.events.Event;
@itoz
itoz / GeometryApplyTransformation.as
Created Feb 29, 2012
Away3D 4.0 beta のプリミティブの中心点をずらす ref: http://qiita.com/items/2890
View GeometryApplyTransformation.as
/**
* copyright (c) 2012 www.romatica.com
* @auther itoz
*/
package
{
import away3d.containers.View3D;
import away3d.entities.Mesh;
import away3d.materials.TextureMaterial;
@itoz
itoz / BasicSample.as
Created Feb 29, 2012
Away3D 4.0 beta 立方体をくるくる回す、ベーシックサンプル。 ref: http://qiita.com/items/2891
View BasicSample.as
/**
* copyright (c) 2012 itoz.jp
* @auther itoz
*/
package
{
import away3d.cameras.Camera3D;
import away3d.containers.Scene3D;
import away3d.containers.View3D;
import away3d.entities.Mesh;
@itoz
itoz / CameraLookAt.as
Created Feb 29, 2012
Away3D 4.0 beta カメラの注視点を指定 ref: http://qiita.com/items/2892
View CameraLookAt.as
/**
* copyright (c) 2012 www.romatica.com
* @auther itoz
*/
package
{
import flash.geom.Vector3D;
import away3d.debug.AwayStats;
import away3d.containers.View3D;
@itoz
itoz / ClothMotion.as
Created Feb 29, 2012
Away3D 4.0 beta PlaneGeometryの頂点を移動し、布のゆらぎを表現 ref: http://qiita.com/items/2895
View ClothMotion.as
/**
* copyright (c) 2012 www.romatica.com
* @auther itoz
*/
package
{
import away3d.containers.View3D;
import away3d.core.base.SubGeometry;
import away3d.debug.AwayStats;
import away3d.entities.Mesh;
@itoz
itoz / RandomMoveVertex.as
Created Feb 29, 2012
Away3d 4.0 beta Planeの頂点をランダムに移動し、地面ぽくする ref: http://qiita.com/items/2894
View RandomMoveVertex.as
/**
* copyright (c) 2012 www.romatica.com
* @auther itoz
*/
package
{
import away3d.containers.View3D;
import away3d.core.base.SubGeometry;
import away3d.debug.AwayStats;
import away3d.entities.Mesh;
You can’t perform that action at this time.