Our core library. Includes all standard chart types and more.
ブログ内検索 タグクラウド 最近の記事 2009-10-13 (火) 1. [Canvas] FlashCanvas のデモを先行公開 2009-09-27 (日) 1. [Canvas] IE で Canvas を使えるようにする FlashCanvas を高速化してみました 2009-09-24 (木) 1. [AS3] Debian lenny に Flex SDK をインストール 2009-09-16 (水) 1. [PHP] HTML_Emoji で「ここギコ!」さんの絵文字対応表を使えるようにしました 2009-08-13 (木) 1. [PHP] SHA-256 計算ライブラリのベンチマーク 2009-08-11 (火) 1. [PHP] PHP4 で HMAC-SHA256 などの hash_hmac() 関数を使えるようにする 2009-08-04 (火) 1. [inf
修正したソースコードも含めてまとめておきましたので、欲しい人は持っていって下さい。 ただし、Canvas の基本的なコマンドしか実装されていないので、 現段階では上のサンプルくらいしか動かず、実用性は乏しいです。 FlashCanvas-0.2a.tar.gz 覚え書きとして、どのような改良を行ったかを記しておきます。 stroke(), fill() のタイミングでデータを送信するようにした 例えば、Canvas で座標 (x0, y0) から (x1, y1) への直線を描くために、 ctx.beginPath(); ctx.moveTo(x0, y0); ctx.lineTo(x1, y1); ctx.stroke(); のようなコマンドを実行した場合、 オリジナルの FlashCanvas では、各コマンドごとに ActionScript の関数を呼んでいました。 これははっきり言
Firefox、Opera、WebKitで確認。けっこう楽しい。 javascript:(function(){ var canvas = document.createElement("canvas"); canvas.width = Math.max(document.documentElement.scrollWidth, window.innerWidth); canvas.height = Math.max(document.documentElement.scrollHeight, window.innerHeight); canvas.style.position = "absolute"; canvas.style.top = "0"; canvas.style.left = "0"; canvas.style.zIndex = "9999"; document.body.
JANの仕様 ここが分かりやすい。→ バーコードの作り方 プログラミングでの話 まずは、 バーコードの部分だけ写ってる写真を用意する 高さ1px分どこかを切り取る コントラスト調整 2値化 ビットの文字列にする モジュールの幅を調節 左右のガードバーからスケールを推測 ガードバー部分を削除 みたいな準備をします。結構写真写りに左右されるかも。 13桁の数字のうち、画像として表現されているのは2-13文字目までの12文字で、最初の1文字目は2-7文字目によって判別します。なので、とりあえず2文字目以降を判別します。対応表は下みたいな感じ。 { left: { odd: { "0001101": 0, "0011001": 1, "0010011": 2, "0111101": 3, "0100011": 4, "0110001": 5, "0101111": 6, "0111011": 7,
追記: uupaa-excanvas.js をリリースしました。 excanvas.js は IE で canvas 要素のエミュレートを行う Google 謹製の JavaScript ライブラリです。 このライブラリは、最初のとっかかりが結構難しいです。 実体験を元に、ハマリポイントを列挙してみます。 動的に生成したcanvas要素は、すぐにドキュメントツリーに追加し、その場で初期化する必要がある。 以下が、動的にcanvas要素を生成し2Dコンテキストを取得する例です。が… var e = document.createElement("canvas"); document.body.appendChild(e); var ctx = e.getContext("2d"); 上記のコードでは、IEでは動作しません(Firefox,Safari,OperaはOK)。 動的に生成したca
<a href="http://digg.com/programming/Ajax_Javascript_8_Ways_to_Create_Graphics_on_the_Fly">Ajax/Javascript: 8 Ways to Create Graphics on the Fly - digg this</a> The ability to create rich graphics on the fly is one of the critical gaps in Ajax. There are indeed techniques to do it, albeit far from perfect, and some are do-able today if you take a pragmatic view of things and keep graceful degradat
This tutorial describes how to use the <canvas> element to draw 2D graphics, starting with the basics. The examples provided should give you some clear ideas about what you can do with canvas, and will provide code snippets that may get you started in building your own content. <canvas> is an HTML element which can be used to draw graphics via scripting (usually JavaScript). This can, for instance
Since Apple’s introduction of canvas earlier this year support for it has been added to both Mozilla and Opera, making it more widespread than, the much older, SVG. I suspect that’s largely due to the complexity of the later and the simplicity of canvas. However it still cannot see widespread deployment as it’s not supported by Internet Explorer, which has around 80-90% of the browser market. IE d
canvas を使った JavaScript によるグラフ描画ライブラリ 2006-02-13-1: [JavaScript][Code] - new Javascript/Canvas Graph library http://aslakhellesoy.com/articles/2006/02/09/announcement-new-javascript-c ... HTML の canvas タグを使ったグラフ描画ライブラリ.アルゴリズムはスプリングモデル. canvas タグは Safari 2,Firefox 1.5,Opera 9 でサポートされている. 使い方は非常に簡単で,上記の画像は以下のソースで実現.本体は graph.js というファイル. <canvas id="people" width="350" height="350" style="border: 1px
Overview TextCanvas provides an API similar to that of the WHATWG canvas element, but with the addition of a drawString method. drawString gives the appearance of rendering a string on the canvas surface, although it is actually implemented by creating an HTML element that is absolutely positioned within the canvas’s container. For example: // <div id="canvasContainer"></div> var container = docum
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く