hex_doctor - JSFiddle

by Admiral Potato

HTML

<script src="https://unpkg.com/vue-perfectlooper"></script>
<link rel="stylesheet" href="https://admiralpotato.github.io/vue-perfectlooper/demo.css">
<div id="app" class="container">
	<div v-for="item in animationList">
		<h2>{{item.id}}</h2>
		<vue-perfectlooper v-bind="item"></vue-perfectlooper>
	</div>
</div>

JavaScript

Vue.component('vue-perfectlooper', VuePerfectlooper);
const base = 'http://root.nuclearpixel.com/animation_frames/hex_doctor/';
const animationNameList = 
`00-comp_a 48
01-comp_a 48
02-comp_a 48
03-comp_a 64
03-high-comp_a 64
04-comp_a 64`.split('\n').reverse();
const animationList = animationNameList.map(function(animationName){
	const split = animationName.split(' ');
	const path = split[0];
	const frames = split.length > 1 ? parseInt(split[1], 10) : 48;
	return {
		"id": animationName,
		"poster": base + path + "/0001.png",
		"src": base + path,
		"frames": frames,
		"suffix": ".png",
		framerate: 24
	}
});
new Vue({
	el: '#app',
	data: {
		animationList: animationList
	}
});