�服装
var textures = [];
$.getJSON('assets/haruna/textures.json', function(data) {
  textures = data;
});

// 随机服装组合
function randomTexture(type) {
  var list = textures.filter(function(it) {
    return it.indexOf('texture_0' + type) > 0;
  });
  var idx = Math.random() * list.length | 0;
  return list[idx];
}

// 随机模型
function randomModel(type) {
  var url = location.origin + location.pathname + 'assets/haruna/'+ type;
  // https://www.52cik.com/bilibili-haruna/assets/haruna/22/22.v2.