LET GRAVITY WRITE THE MELODY.
让重力,替你写一首歌。
每一次碰撞都是一个音符;有些旋律,连你自己也猜不到。
READY TO PLAY♪ —
MARBLE / 08GRAVITY · COLLISION · MELODY
点击画面,投下一颗弹珠。
拖动可连续投放 · 滚轮缩放
拖动可连续投放 · 滚轮缩放
三维画面需要 WebGL 2请使用近期桌面浏览器,并开启硬件加速。
每一次碰撞都是一个音符;有些旋律,连你自己也猜不到。
空格 开始 / 暂停 · Esc 关闭说明。切换到后台会自动暂停。
录音使用 Web Audio 与 MediaRecorder;若当前浏览器不支持录音,仍可演奏并保存乐谱。乐谱保存音阶、音色、节奏与控制参数,不保存正在下落的弹珠或录音。
碰撞与重力在二维平面上计算,三维模型负责呈现。为避免声音堆积,单次碰撞有触发间隔,最多同时合成 20 个音符;最多 96 颗弹珠。这不是严格的乐谱播放器,音符到达时间由物理运动决定。
The MIT License Copyright © 2010-2024 three.js authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.