Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScript で VJ をやってみた
Search
KoYelie
August 24, 2017
Programming
0
1.8k
JavaScript で VJ をやってみた
KoYelie
August 24, 2017
Tweet
Share
Other Decks in Programming
See All in Programming
Python札幌 LT資料
t3tra
7
1.1k
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
140
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
500
Patterns of Patterns
denyspoltorak
0
410
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
690
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
240
ローカルLLMを⽤いてコード補完を⾏う VSCode拡張機能を作ってみた
nearme_tech
PRO
0
220
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
870
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
130
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
CSC307 Lecture 02
javiergs
PRO
1
730
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
4.1k
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
0
130
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
A better future with KSS
kneath
240
18k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
140
Mind Mapping
helmedeiros
PRO
0
43
Paper Plane
katiecoart
PRO
0
45k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Heart Work Chapter 1 - Part 1
lfama
PRO
3
35k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
0
34
Transcript
JavaScript で VJ をやってみた
経緯 ➔ Kinect を使って面白いことやりたい ➔ インタラクティブな VJ やりたい ➔ 仕事に活かすために
JavaScript (ブラウザ)でやろう ➔ あ、映像と操作の 2 画面必要だ… ➔ WebSocket でやってみる → サーバーサイドの実装がめんどい… ➔ デスクトップアプリでいいじゃん → Electron
やりたいこと • ビジュアルとコントロールの2画面表示 • ビジュアルの切り替え(フェードイン・アウト) • 複数のビジュアルの重ね合わせ
DEMO npm run dev (開発モード) ※ npm run build は未対応のためできません
… https://github.com/ko-yelie/vj-electron
仕組み
使用ツール • electron-vue (ベース) ◦ Vuex • Vue Material (デザイン)
• vue-range-slider (フェーダー © ktsn) • Vue.Draggable (重なり順並び替え)
感想 • JavaScript でもなんとかなる、可能性は無限大 • electron-vue 楽 • canvas だと背景透過できるから他と組み合わせやすい
• パーティクルとトンネルは VJ にしやすい(バンドライブ) • canvas アニメーションを入れすぎると重くなる • トラックパッドでの操作はつらい
今後の展望 • 自分でビジュアルを作る • センサー(マイク、 Kinect など)からの入力に応じて ビジュアルを変化させる • マウス以外のハードから操作できるようにする