Skip to content

Instantly share code, notes, and snippets.

@scivola
scivola / a-frame-protein-sample.html
Last active May 9, 2020 10:02
A-Frame protein sample
<!DOCTYPE html><html lang="ja"><meta charset="UTF-8" /><title>protein</title><script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script><body><main><a-scene><a-sky color="#334"></a-sky><a-camera fov="60" near="3" position="0 0 80"></a-camera><a-entity animation="property: rotation;from: 0 0 0;to: 0 360 0;dur: 20000;easing: linear;loop: true;"><a-sphere color="#3050F8" position="-4.91044 16.40145 -18.52787" radius="0.455"></a-sphere><a-sphere color="#909090" position="-6.05244 16.21445 -17.62887" radius="0.49"></a-sphere><a-sphere color="#909090" position="-5.65544 16.31645 -16.14487" radius="0.49"></a-sphere><a-sphere color="#FF0D0D" position="-4.49644 16.16245 -15.79887" radius="0.42"></a-sphere><a-sphere color="#909090" position="-6.52544 14.79745 -17.95187" radius="0.49"></a-sphere><a-sphere color="#909090" position="-5.27944 14.09545 -18.42687" radius="0.49"></a-sphere><a-sphere color="#909090" position="-4.49544 15.14045 -19.16987" radius="0.49"></a-sphere><a-sphere color="#3050F8" position="-