<div class="hypermodel-container"></div>
$(function() {
$('.hypermodel-container').hypermodel({
time: {
animate: 300, // The line animation time when either window resize event be fired or user playing with drag&drop.
frame: 3000 // The dash line's dash moving total seconds.
},
grad: 1, // The gradient of line 0.1(curve), 10(straight).
strokeSpeed: 500, // How many dash line moves one second.
strokeColor: 'rgba(192, 192, 192, .5)', // Default line color (rgba, rgb, hash color).
strokeDashColor: 'rgba(60, 180, 148, .65)', // Dash line color (rgba, rgb, hash color).
strokeWidth: 1, // Default line thickness (px).
strokeDashWidth: 1, // Dash line thickness (px).
strokeDashWeight: 8, // Each of dash dottes's length (px).
strokeDashMargin: 6 // Gap about each of dash line's dottes (px).
});
});
.hypermodel-container {
background-color: #f8f8f8;
border: 1px solid #d8d8d8;
font-size: 115%;
overflow: hidden;
box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
}
.hypermodel-container .hypermodel-area {
margin: 40px;
}