You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
WebGL ライブラリの Babylon.js を使って、ゲームを作ってみました。 初音ミクを使った簡単な迷路ゲームです。クリアするとミクちゃんが勝利の舞い (※) を踊ってくれます。 ※ 最後に詳述しますが、残念ながら端末によっては、ミクにアニメーションがつきません。 こちらからご覧になれます。 http://miku-miku-maze.herokuapp.com ソースはこちら。 https://github.com/kimamula/miku-miku-maze TL;DR 書いてみたらダラダラ長くなってしまったので最初にまとめを。 WebGL 用のモデルは、そのライブラリ向けに提供された素材か、チュートリアルなどを読んで自作したものを使うのがおすすめ Unity や MMD から持ってくるのは、お手軽そうに思えて茨の道 ボーンが多くなるとアニメーションできる端末が限定されることに
organize your code in a way that doesn’t pollute and exposes only what is necessary Larger interactive d3 programs can be difficult to organize. After all your elements are on the screen you want to glue them together inside event callbacks. The conventional methods of calling d3.selectAll() against a large DOM tree end up resulting in a lot of additional code to make sure your selections are accu
I held a survey last monday where I asked for feedback about the kinds of things you want me to write about. It was quite useful, and one of the topics that seem to interest quite a few people is regarding module testing. Using tape, proxyquire, and sinon is the best possible combination of modules when it comes to testing JavaScript applications, regardless of them being server-side or front-end
In this post we'll explore an enlightened approach to managing control flow in asynchronous javascript applications. We'll look at powerful new ES6 patterns and the happy future that awaits with ES7. So we are all on the same page, when we discuss control flow we mean the following: Control flow refers to the specification of the order in which the individual statements, instructions or function c
Задумывались ли вы о том, как в языке JavaScript появляется новый функционал? Попробуем разобраться, как пройти путь от черновика предложения до включения в стандарт ECMA-262. Страница доклада — https://moscowjs.org/talks/process-standartizacii-ecmascript/ Все новости и анонсы MoscowJS — в нашем телеграм-канале https://t.me/moscowjs
http://cycle.js.org/ http://reactivex.io/ A dev talk I gave at Powershop.
Just want examples of ES6 in use? I’ve put four ES6 projects on Github. ES6 has been getting a lot of press lately. And with all of the benefits that the new syntax and built-ins bring, it damn well should. But given the breadth of the changes, how is a forward-thinking developer to know where to start? What is worth practicing now, and what is best left for a rainy day? Well, after spending the l
You Might Not Need Underscore During past years utility libraries like Underscore and lodash have found their way into the toolchain of many JavaScript programmers. While those utility libraries might make the code easier for you to write, they don’t necessarily make the code simpler or easier to understand. People reading and maintaining the code are obliged to, in addition to knowing the languag
I've decided to stop writing DailyJS. It's part of my weekday ritual, and so it's a difficult decision to make, but it's time to move on to other things. I love writing regularly, but mistakes have started to creep in that mean it's difficult for me to publish articles with the level of confidence that I'd like. There's been a small community of contributors that have made DailyJS great and encour
INDEX はじめに ~ InstagramのフィルタをJSで作ってみる Canvasで画像ピクセルを抽出 セピア化やミラー反転などで練習してみる若きあの頃 フィルター効果を実現する方法がわからない トーンカーブをいじればいけんじゃん? ラグランジュ補間が使えそう でもこれってめっちゃ時間かかりそう?→ Web Worker APIでかいけつ 最後に はじめに ~ InstagramのフィルタをJSで作ってみる 先日、Canvasを練習したいと思って画像変換でいろいろ遊んでたところ、「Instagram」の画像フィルターを実現してみたら面白そうかねと思って作ってみようと思いました。が、それまでに結構紆余曲折があったので、記録も兼ねて記事にまとめてみることにします。 個人的には、Instagramの本当のフィルターそっくりにはまだ動いていないものもあり、実践的でないものも多いかもしれませんが
A Formal Commitment to New Language Features The JSHint team Jul 7th, 2015 In recent months, JSHint has been receiving requests to support proposed JavaScript language features like async/await, method decorators, and class property declarations [1]. The JSHint team has turned down each request, even after the release of ES2015. This has not been easy; as open source project maintainers, nothing g
This post was originally published on February 20th, 2011 on my personal blog. Your sadly pathetic bleatings are harshing my mellow. — Douglas Crockford This Friday we released JSHint, a code quality tool designed to detect errors and potential problems in JavaScript code and to enforce your team’s coding conventions. JSHint is a fork of JSLint, the tool written and maintained by Douglas Crockford
JavaScriptでプログラミングした麻雀の小粒プログラム集を公開しています。稚拙なものばかりですが、プログラムのヒントや参考になれば幸いです。
Over the last couple of months I’ve made a few enhancements to JSHint, mainly as a way of learning ES6 (I’m most proud of re-implementing variable scope detection) and during that process I’ve come across a few things that surprised me, mostly about ES6 but also in ES3, including the following feature, which I’ve never used and this is where I will start. Break from any block You should be aware t
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く