Fragments
<script>if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`PrimerInit_Textdata`]= `⛵`
if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`PrimerInit_Textdata2`]= `🏄`
if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`PrimerInit_SpawnRate`]= 10
document.documentElement.style.overflow = 'hidden'; // For Firefox and Chrome
document.body.scroll = 'no'; // For IE
generateditem = document.createElement("div");
;generateditem.id = `background`;;generateditem.style = `width:` + `100%` + `;height:` + `100%` + `;position:` + `absolute` + `;left:` + `0` + `;top:` + `0` + `;background-color:` + `blue` + `;user-select: none` + `;`;generateditem.addEventListener('click', function (e) {});try {
document.getElementById().appendChild(generateditem);
} catch (error) {
document.body.appendChild(generateditem); };generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([],{duration: 10000,
});;generateditem.contentEditable=`false`;;if (`timercounter` in window) {
}else{
timercounter = {};timerexpire = {}
}
;intrafrag_var = `TextTimer`;
if('timerexpire' in window){}else{timerexpire = {} }
if('timercounter' in window){}else{timercounter = {} }
timerexpire[intrafrag_var] = 0;
timercounter[`TextTimer`] = setInterval(function() {timerexpire[`TextTimer`] =timerexpire[`TextTimer`] +1; ;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`LocalVar_CharacterName`]= `Bison`
;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`LocalVar_BaseModel`]= `A`
;array_name_here = `LocalVar_ModelArray`;;if (typeof array_counter == 'undefined') {
var array_counter = {} }
array_counter[array_name_here] = [`🦈`,`🦈`,`🐚`,];;array_name_here = `LocalVar_AgeMilestoneArray`;;if (typeof array_counter == 'undefined') {
var array_counter = {} }
array_counter[array_name_here] = [3,5,7,];;array_name_here = `LocalVar_ItemArray`;;if (typeof array_counter == 'undefined') {
var array_counter = {} }
array_counter[array_name_here] = [10,20,30,];;array_name_here = `LocalVar_InventoryArray`;;if (typeof array_counter == 'undefined') {
var array_counter = {} }
array_counter[array_name_here] = [10,20,30,];;array_name_here = `LocalVar_AlertArray`;;if (typeof array_counter == 'undefined') {
var array_counter = {} }
array_counter[array_name_here] = [10,20,30,];;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`LocalVar_DeathModel`]= `HUNGRY`
;if (variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')]>`0`){;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterAge`,].join('')]= parseFloat(variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterAge`,].join('')])+1
}else{;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')]= `1`
;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterAge`,].join('')]= `1`
generateditem = document.createElement("div");
;generateditem.id = [variablelist[`LocalVar_CharacterName`],`_CharacterElement`,].join('');;generateditem.innerHTML = array_counter[`LocalVar_ModelArray`][0];;generateditem.style = `width:` + `1vw` + `;height:` + `1vw` + `;position:` + `absolute` + `;left:` + `0` + `;top:` + `0` + `;color:` + `red` + `;font-size:` + `3vw` + `;user-select: none` + `;`;generateditem.addEventListener('click', function (e) {});try {
document.getElementById().appendChild(generateditem);
} catch (error) {
document.body.appendChild(generateditem); };generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([],{duration: 10000,
});;generateditem.contentEditable=`false`;};;if (variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')]==`1`){;if (variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterAge`,].join('')]<array_counter[`LocalVar_AgeMilestoneArray`][0]){;generateditem = document.getElementById([variablelist[`LocalVar_CharacterName`],`_CharacterElement`,].join(''));generateditem.src = `` ;;generateditem.addEventListener('click', function (e) {;console.log(`My String`)});;generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([{transform: '' + 'translate3d(' + [Math.floor(Math.random()*(95 + 1 - 5) + 5),`vw`,].join('') + ',' + [Math.floor(Math.random()*(95 + 1 - 5) + 5),`vh`,].join('')+ ',' + `0` + `) `+ `rotate3d(` + 0 + ',' + 0 + ',' + 1+ ',' + [Math.floor(Math.random()*(360 + 1 - 100) + 100),`deg`,].join('') + `) `,},],{duration: 1200,
fill: `forwards`});;generateditem.innerHTML = array_counter[`LocalVar_ModelArray`][parseFloat(variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')])-1];}else{;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')]= `2`
};}else{};;if (variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')]==`2`){;if (variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterAge`,].join('')]<array_counter[`LocalVar_AgeMilestoneArray`][1]){;generateditem = document.getElementById([variablelist[`LocalVar_CharacterName`],`_CharacterElement`,].join(''));generateditem.addEventListener('click', function (e) {;console.log(`My String`)});;generateditem.innerHTML = array_counter[`LocalVar_ModelArray`][parseFloat(variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')])-1];}else{;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')]= `3`
};}else{};;if (variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')]==`3`){;if (variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterAge`,].join('')]<array_counter[`LocalVar_AgeMilestoneArray`][2]){;generateditem = document.getElementById([variablelist[`LocalVar_CharacterName`],`_CharacterElement`,].join(''));generateditem.src = `` ;;generateditem.addEventListener('click', function (e) {;console.log(`My String`)});;generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([{},],{duration: 1200,
fill: `forwards`});;generateditem.innerHTML = array_counter[`LocalVar_ModelArray`][parseFloat(variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')])-1];}else{;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[variablelist[`LocalVar_CharacterName`],`_CharacterState`,].join('')]= `4`
;generateditem = document.getElementById([variablelist[`LocalVar_CharacterName`],`_CharacterElement`,].join(''));generateditem.addEventListener('click', function (e) {;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[this.id.split(`_CharacterElement`)[0],`_CharacterState`,].join('')]= `-1`
generateditem = document.createElement("div");
;generateditem.id = `My String`;;generateditem.innerHTML = `🦴`;;generateditem.style = `width:` + `10vw` + `;height:` + `10vw` + `;left:` + document.getElementById(this.id).getBoundingClientRect().left + `;top:` + document.getElementById(this.id).getBoundingClientRect().top + `;color:` + `red` + `;font-size:` + `10vw` + `;position:` + `absolute` + `;`;generateditem.addEventListener('click', function (e) {});try {
document.getElementById().appendChild(generateditem);
} catch (error) {
document.body.appendChild(generateditem); };generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([],{duration: 10000,
});;generateditem.contentEditable=`false`;// Make the DIV element draggable:
// find the element that you want to drag.
var box =generateditem
/* listen to the touchMove event,
every time it fires, grab the location
of touch and assign it to box */
box.addEventListener('touchmove', function(e) {
// grab the location of touch
var touchLocation = e.targetTouches[0];
// assign box new coordinates based on the touch.
box.style.left = touchLocation.pageX -box.offsetWidth/2 + 'px';
box.style.top = touchLocation.pageY -box.offsetHeight/2 + 'px';
})
/* record the position of the touch
when released using touchend event.
This will be the drop position. */
box.addEventListener('touchend', function(e) {
// current box position.
var x = parseInt(box.style.left);
var y = parseInt(box.style.top);
})
//begin nonmobile
dragElement(generateditem);
function dragElement(elmnt) {
var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
// otherwise, move the DIV from anywhere inside the DIV:
elmnt.onmousedown = dragMouseDown;
function dragMouseDown(e) {
e = e || window.event;
e.preventDefault();
// get the mouse cursor position at startup:
pos3 = e.clientX;
pos4 = e.clientY;
document.onmouseup = closeDragElement;
// call a function whenever the cursor moves:
document.onmousemove = elementDrag;
}
function elementDrag(e) {
e = e || window.event;
e.preventDefault();
// calculate the new cursor position:
pos1 = pos3 - e.clientX;
pos2 = pos4 - e.clientY;
pos3 = e.clientX;
pos4 = e.clientY;
// set the element's new position:
elmnt.style.top = (elmnt.offsetTop - pos2) + "px";
elmnt.style.left = (elmnt.offsetLeft - pos1) + "px";
}
function closeDragElement() {
// stop moving when mouse button is released:
document.onmouseup = null;
document.onmousemove = null;
}
}try{document.getElementById(this.id).remove()}catch(err){}});;generateditem.innerHTML = [variablelist[`LocalVar_DeathModel`],].join('');};}else{};},1000);
if ("loop_name_here" in window) {
PriorLoopName = loop_name_here
} else {
PriorLoopName = ``
}
loop_name_here = `Xloop`
try{loop_counter[loop_name_here] = 1}catch(err){var loop_counter = {}
loop_counter[loop_name_here] = 1
}for (loop_counter[loop_name_here] = 0; loop_counter[loop_name_here] < 50; loop_counter[loop_name_here]++) {if ("loop_name_here" in window) {
PriorLoopName = loop_name_here
} else {
PriorLoopName = ``
}
loop_name_here = `Yloop`
try{loop_counter[loop_name_here] = 1}catch(err){var loop_counter = {}
loop_counter[loop_name_here] = 1
}for (loop_counter[loop_name_here] = 0; loop_counter[loop_name_here] < 50; loop_counter[loop_name_here]++) {;if (Math.floor(Math.random()*(variablelist[`PrimerInit_SpawnRate`] + 1 - 1) + 1)==`1`){;generateditem = document.createElement("div");
;generateditem.id = [loop_counter[`Xloop`]+1,`_`,loop_counter[`Yloop`]+1,].join('');;generateditem.innerHTML = variablelist[`PrimerInit_Textdata`];;generateditem.style = `width:` + `2vw` + `;position:` + `absolute` + `;opacity:` + `1` + `;top:` + [parseFloat(loop_counter[`Xloop`])*2,`vw`,].join('') + `;left:` + [parseFloat(loop_counter[`Yloop`])*2,`vh`,].join('') + `;text-align:` + `center` + `;color:` + `white` + `;font-size:` + `2vw` + `;user-select: none` + `;font-family:` + `arial` + `;height:` + `2vw` + `;`;generateditem.addEventListener('click', function (e) {});;generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([{transform: '' + 'translate3d(' + `0` + ',' + `0`+ ',' + `0` + `) `,},{transform: '' + 'translate3d(' + [Math.floor(Math.random()*(10 + 1 - -10) + -10),`vw`,].join('') + ',' + [Math.floor(Math.random()*(10 + 1 - -10) + -10),`vw`,].join('')+ ',' + `0` + `) `,},{transform: '' + 'translate3d(' + [Math.floor(Math.random()*(10 + 1 - -10) + -10),`vw`,].join('') + ',' + [Math.floor(Math.random()*(10 + 1 - -10) + -10),`vw`,].join('')+ ',' + `0` + `) `,},{transform: '' + 'translate3d(' + `0` + ',' + `0`+ ',' + `0` + `) `,},],{duration: Math.floor(Math.random()*(40000 + 1 - 8000) + 8000),
iterations:Infinity,});try {
document.getElementById().appendChild(generateditem);
} catch (error) {
document.body.appendChild(generateditem); };if (typeof array_counter == 'undefined') {
var array_counter = {} };
array_name_here = `CollisionListA`;;if (array_name_here in array_counter){}else{array_counter[array_name_here] = []};
array_counter[array_name_here].push([loop_counter[`Xloop`]+1,`_`,loop_counter[`Yloop`]+1,].join(''));
;if (typeof array_counter == 'undefined') {
var array_counter = {} };
array_name_here = `CollisionListB`;;if (array_name_here in array_counter){}else{array_counter[array_name_here] = []};
array_counter[array_name_here].push([`Bison_CharacterElement`,].join(''));
if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[loop_counter[`Xloop`]+1,`_`,loop_counter[`Yloop`]+1,`_collision`,].join('')]= `0`
}else{};};loop_name_here = PriorLoopName;};loop_name_here = PriorLoopName;if ("loop_name_here" in window) {
PriorLoopName = loop_name_here
} else {
PriorLoopName = ``
}
loop_name_here = `Xloop`
try{loop_counter[loop_name_here] = 1}catch(err){var loop_counter = {}
loop_counter[loop_name_here] = 1
}for (loop_counter[loop_name_here] = 0; loop_counter[loop_name_here] < 50; loop_counter[loop_name_here]++) {if ("loop_name_here" in window) {
PriorLoopName = loop_name_here
} else {
PriorLoopName = ``
}
loop_name_here = `Yloop`
try{loop_counter[loop_name_here] = 1}catch(err){var loop_counter = {}
loop_counter[loop_name_here] = 1
}for (loop_counter[loop_name_here] = 0; loop_counter[loop_name_here] < 50; loop_counter[loop_name_here]++) {;if (Math.floor(Math.random()*(20 + 1 - 1) + 1)==`5`){;generateditem = document.createElement("div");
;generateditem.id = [loop_counter[`Xloop`]+1,`_`,loop_counter[`Yloop`]+1,].join('');;generateditem.innerHTML = variablelist[`PrimerInit_Textdata2`];;generateditem.style = `width:` + `2vw` + `;font-family:` + `arial` + `;height:` + `2vw` + `;position:` + `absolute` + `;opacity:` + `1` + `;top:` + [parseFloat(loop_counter[`Xloop`])*2,`vw`,].join('') + `;left:` + [parseFloat(loop_counter[`Yloop`])*2,`vh`,].join('') + `;text-align:` + `center` + `;color:` + `white` + `;font-size:` + `2vw` + `;user-select: none` + `;`;generateditem.addEventListener('click', function (e) {});;generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([],{duration: 10000,
});try {
document.getElementById().appendChild(generateditem);
} catch (error) {
document.body.appendChild(generateditem); };generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([{transform: '' + 'translate3d(' + [Math.floor(Math.random()*(10 + 1 - -10) + -10),`vw`,].join('') + ',' + [Math.floor(Math.random()*(10 + 1 - -10) + -10),`vw`,].join('')+ ',' + `0` + `) `,},{transform: '' + 'translate3d(' + `0` + ',' + `0`+ ',' + `0` + `) `,},{transform: '' + 'translate3d(' + [Math.floor(Math.random()*(0 + 1 - -10) + -10),`vw`,].join('') + ',' + `5vw`+ ',' + `0` + `) `,},],{duration: 10000,
iterations:Infinity,});;if (typeof array_counter == 'undefined') {
var array_counter = {} };
array_name_here = `CollisionListA`;;if (array_name_here in array_counter){}else{array_counter[array_name_here] = []};
array_counter[array_name_here].push([loop_counter[`Xloop`]+1,`_`,loop_counter[`Yloop`]+1,].join(''));
;if (typeof array_counter == 'undefined') {
var array_counter = {} };
array_name_here = `CollisionListB`;;if (array_name_here in array_counter){}else{array_counter[array_name_here] = []};
array_counter[array_name_here].push([`Bison_CharacterElement`,].join(''));
if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[loop_counter[`Xloop`]+1,`_`,loop_counter[`Yloop`]+1,`_collision`,].join('')]= `0`
}else{};};loop_name_here = PriorLoopName;};loop_name_here = PriorLoopName;;if (`timercounter` in window) {
}else{
timercounter = {};timerexpire = {}
}
;intrafrag_var = `CollisionTimer`;
if('timerexpire' in window){}else{timerexpire = {} }
if('timercounter' in window){}else{timercounter = {} }
timerexpire[intrafrag_var] = 0;
timercounter[`CollisionTimer`] = setInterval(function() {timerexpire[`CollisionTimer`] =timerexpire[`CollisionTimer`] +1; if ("loop_name_here" in window) {
PriorLoopName = loop_name_here
} else {
PriorLoopName = ``
}
loop_name_here = `CollisionLoop`
try{loop_counter[loop_name_here] = 1}catch(err){var loop_counter = {}
loop_counter[loop_name_here] = 1
}for (loop_counter[loop_name_here] = 0; loop_counter[loop_name_here] < array_counter[`CollisionListA`].length; loop_counter[loop_name_here]++) {;Collision_ID =`Collision1`;;case_A =array_counter[`CollisionListA`][loop_counter[`CollisionLoop`]];;case_B=array_counter[`CollisionListB`][loop_counter[`CollisionLoop`]];aRect = document.getElementById(case_A).getBoundingClientRect();
bRect = document.getElementById(case_B).getBoundingClientRect();
if ( !(
((aRect.top + aRect.height) < (bRect.top)) ||
(aRect.top > (bRect.top + bRect.height)) ||
((aRect.left + aRect.width) < bRect.left) ||
(aRect.left > (bRect.left + bRect.width))
)){
try{collision_counter[Collision_ID] = collision_counter[Collision_ID] + 1} catch(err){ try{collision_counter[Collision_ID] = 0}catch(err) {collision_counter = {};collision_counter[Collision_ID] = 0} collision_counter[Collision_ID] = collision_counter[Collision_ID] + 1 }
;if (variablelist[[array_counter[`CollisionListA`][loop_counter[`CollisionLoop`]],`_collision`,].join('')]==`0`){;generateditem = document.getElementById(array_counter[`CollisionListA`][loop_counter[`CollisionLoop`]]);generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([{transform: '' + 'scale(' + `6`+ ',' + `6` + `) `,opacity:`0`,},],{duration: 1000,
fill: `forwards`});if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[[array_counter[`CollisionListA`][loop_counter[`CollisionLoop`]],`_collision`,].join('')]= `1`
}else{};
}
};loop_name_here = PriorLoopName;},20);