Skip to content

Instantly share code, notes, and snippets.

Avatar
🥦
Create node.js app for developer

Yoshiyuki Hisamatsu hisasann

🥦
Create node.js app for developer
View GitHub Profile
View protoBox2d.js
/*
* protoBox2d JavaScript Library, version 1.0
* http://lab.hisasann.com/protoBox2d/
* require : prototype.js 1.6
*
* Copyright (c) 2009 hisasann http://hisasann.com/
* Dual licensed under the MIT and GPL licenses.
*/
var protoBox2d = function() {};
protoBox2d.prototype = {
View Papervision3DImage.as
package {
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.geom.Point;
import org.papervision3d.scenes.Scene3D;
import org.papervision3d.view.Viewport3D;
View Papervision3DImage2.as
package {
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.geom.Point;
import org.papervision3d.scenes.Scene3D;
import org.papervision3d.view.Viewport3D;
View jAltTip.js
(function($) {
var id = "altTip", // Tip id
$this, // Target elem
opts = {
addClass: null
};
$.fn.jAltTip = function(options) {
$.extend(opts, options);
View jStack.js
(function($) {
/*
* jStack jQuery Plugin version 1.0
* http://lab.hisasann.com/jStack/
*
* Copyright (c) 2009 hisasann http://hisasann.com/
* Dual licensed under the MIT and GPL licenses.
*/
var maxIndex = 10000,
View addCommand.js
(function() {
/*
* addCommand jQuery Plugin version 0.3
* http://lab.hisasann.com/addCommand/
*
* Copyright (c) 2009 hisasann http://hisasann.com/
* Dual licensed under the MIT and GPL licenses.
 *
* addCommandはProgression(http://progression.jp/ja/)のaddCommandに影響を受けて制作しました。
* 複数のアニメーションを逐次実行したい場合は、jQueryのanimateではネストが深くなる場合があります。
View addCommand - scrollbar.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>untitled</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="">
<style type="text/css" media="screen">
View HellWorld.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>addCommand - HelloWorld</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="">
<style type="text/css" media="screen">
View HelloWorld2.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>addCommand - HelloWorld2</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="">
<style type="text/css" media="screen">
View NoTechnoNoLife.as
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.Timer;
import flash.events.TimerEvent;
public class Main extends Sprite {
public function Main() {
stage.scaleMode = "noScale";