Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
- <script src="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.6.5/dat.gui.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.11.0/d3.min.js"></script>
- <script src="https://roleplay.chat/jquery.tooltipster.js?v=8"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.3/TweenMax.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/87/three.js"></script>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css">
- <link href="https://roleplay.chat/tooltipster.css" rel="stylesheet" type="text/css">
- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
- <script defer>
- window.onload = function() {
- const canvas = document.getElementById('stars');
- const context = canvas.getContext('2d');
- const bcanvas = document.createElement('canvas');
- const bcontext = bcanvas.getContext('2d');
- bcanvas.height = canvas.height = canvas.parentNode.offsetHeight;
- bcanvas.width = canvas.width = canvas.parentNode.offsetWidth;
- // shitty debounce
- window.addEventListener('resize', (event => {
- const bounce = 100;
- let start = Date.now()
- return event => {
- if( Date.now() - start > bounce ) {
- bcanvas.height = canvas.height = canvas.parentNode.offsetHeight;
- bcanvas.width = canvas.width = canvas.parentNode.offsetWidth;
- start = Date.now()
- }
- }
- })())
- let maxSize = 5;
- let minSize = 3;
- const starmap = Array.from(Array(128), initializr);
- maxSize /= 2;
- minSize /= 2;
- drawBackground();
- canvas.style.backgroundImage = `url(${bcanvas.toDataURL()})`;
- animate();
- function initializr() {
- const seed = Math.random() > 0.1 ?
- Math.floor(Math.random()*15000+3000) :
- Math.floor(Math.random()*3000 + 500) ; // too many red dwarfs look weird.
- const {red, green, blue} = colorTemperature2rgb(seed);
- const properties = {
- x: Math.random()*canvas.width,
- y: Math.random()*canvas.height,
- size: Math.random()*(maxSize-minSize)+minSize
- };
- properties.color = `rgba(${red},${green},${blue},${properties.size/maxSize})`;
- properties.twinkle = Math.random()* + 1;
- return properties;
- }
- function drawBackground() {
- const backgroundmap = Array.from(Array(2000), initializr);
- for( const star of backgroundmap ) {
- bcontext.beginPath();
- bcontext.fillStyle = star.color;
- bcontext.shadowColor = star.color;
- bcontext.shadowBlur = star.twinkle * 10;
- bcontext.arc(star.x, star.y, star.size/2, 0, Math.PI*2);
- bcontext.fill();
- bcontext.closePath();
- }
- }
- function animate() {
- context.clearRect(0, 0, canvas.width, canvas.height);
- for( const star of starmap ) {
- star.twinkle += (Math.random()*2-1) / 2;
- star.twinkle = Math.max(1, Math.min(8, star.twinkle));
- // so the whole idea was to see if it was faster to draw two squares than
- // one circle. it isn't. kinda looks neat though.
- // this gets me 60fps
- context.beginPath();
- context.fillStyle = star.color;
- context.shadowColor = star.color;
- context.shadowBlur = star.twinkle * 10;
- context.arc(star.x, star.y, star.size/2, 0, Math.PI*2);
- context.fill();
- context.closePath();
- // this gets me like 40fps.
- // context.save();
- // context.beginPath();
- // context.translate(star.x - star.size/2, star.y - star.size/2);
- // context.fillStyle = star.color;
- // context.shadowColor = star.color;
- // context.shadowBlur = star.twinkle * 10;
- // context.fillRect(0, 0, star.size, star.size);
- // context.translate(star.size/2, -star.size/4);
- // context.rotate(45 * Math.PI / 180);
- // context.fillRect(0, 0, star.size, star.size);
- // context.closePath();
- // context.restore();
- }
- requestAnimationFrame(animate);
- }
- // I was too lazy to figure out this on my own.
- // shamelessly stolen from here:
- // https://github.com/neilbartlett/color-temperature/blob/master/index.js
- function colorTemperature2rgb (kelvin) {
- var temperature = kelvin / 100.0;
- var red, green, blue;
- if (temperature < 66.0) {
- red = 255;
- } else {
- // a + b x + c Log[x] /.
- // {a -> 351.97690566805693`,
- // b -> 0.114206453784165`,
- // c -> -40.25366309332127
- //x -> (kelvin/100) - 55}
- red = temperature - 55.0;
- red = 351.97690566805693+ 0.114206453784165 * red - 40.25366309332127 * Math.log(red);
- if (red < 0) red = 0;
- if (red > 255) red = 255;
- }
- /* Calculate green */
- if (temperature < 66.0) {
- // a + b x + c Log[x] /.
- // {a -> -155.25485562709179`,
- // b -> -0.44596950469579133`,
- // c -> 104.49216199393888`,
- // x -> (kelvin/100) - 2}
- green = temperature - 2;
- green = -155.25485562709179 - 0.44596950469579133 * green + 104.49216199393888 * Math.log(green);
- if (green < 0) green = 0;
- if (green > 255) green = 255;
- } else {
- // a + b x + c Log[x] /.
- // {a -> 325.4494125711974`,
- // b -> 0.07943456536662342`,
- // c -> -28.0852963507957`,
- // x -> (kelvin/100) - 50}
- green = temperature - 50.0;
- green = 325.4494125711974 + 0.07943456536662342 * green - 28.0852963507957 * Math.log(green);
- if (green < 0) green = 0;
- if (green > 255) green = 255;
- }
- /* Calculate blue */
- if (temperature >= 66.0) {
- blue = 255;
- } else {
- if (temperature <= 20.0) {
- blue = 0;
- } else {
- // a + b x + c Log[x] /.
- // {a -> -254.76935184120902`,
- // b -> 0.8274096064007395`,
- // c -> 115.67994401066147`,
- // x -> kelvin/100 - 10}
- blue = temperature - 10;
- blue = -254.76935184120902 + 0.8274096064007395 * blue + 115.67994401066147 * Math.log(blue);
- if (blue < 0) blue = 0;
- if (blue > 255) blue = 255;
- }
- }
- return {red: Math.round(red), blue: Math.round(blue), green: Math.round(green)};
- }
- };
- </script>
- <style>
- html,body {
- height: 100%;
- width: 100%;
- margin: 0;
- padding: 0;
- background: radial-gradient(rgba(0, 0, 0, 0), #000),
- linear-gradient(130deg, #000 0%, #0e1449 37%, #330a2d 51%, #0e1449 67%, #000 100%);
- }
- canvas {
- position: absolute;
- }
- </style>
- </head>
- <body>
- <html>
- <body><style type="text/css">
- @import url(https://fonts.googleapis.com/css?family=Great+Vibes|Cookie);
- html, body {
- background: #000;
- background-image:url("");
- background-size:400px;
- background-repeat:no-repeat;
- background-position:center bottom;
- }
- ::-webkit-scrollbar-button:vertical:{
- background-color: #transparent;}
- ::-webkit-scrollbar-thumb:vertical {
- background-color:#transparent;
- height:150px;}
- ::-webkit-scrollbar-thumb:horizontal {
- background-color:#transparent;
- height:60px;}
- ::-webkit-scrollbar {
- height:60px;
- width:5px;
- background-color:#transparent;}
- #image {
- width: 600px;
- margin: 0px;
- border: none;
- height: 100%;
- background-color:transparent;
- position: absolute;
- right: 0%;
- bottom: 0%;
- background-image:url("http://i.picpar.com/eJEc.png");
- background-repeat:no-repeat;
- background-position: bottom right;
- background-size: 100%;
- }
- .header{
- position:absolute;
- width:500px;
- background:#transparent;
- height:150px;
- overflow:hidden;
- font-family: 'Great Vibes', cursive;
- font-size: 50px;
- font-weight:lighter;
- font-style:none;
- color:#9f45b0;
- letter-spacing: 0px;
- text-transform:none;
- text-align:center;
- }
- #content {
- background-color:#ffe4f2;
- width: 550px;
- height: 350px;
- margin:auto;
- position: absolute;
- font-family: 'Cookie', cursive;
- font-size: 22px;
- left: 15%;
- bottom: 11%;
- z-index:1;
- border: #000000 solid 1px;
- }
- #image2 {
- width: 400px;
- margin: 0px;
- border: none;
- height: 600px;;
- background-color:transparent;
- position: absolute;
- left: 4%;
- bottom: 15%;
- background-image:url("http://i.picpar.com/BbEc.png");
- background-repeat:no-repeat;
- background-position: bottom right;
- background-size: 100%;
- }
- h1 {
- font-family: 'Great Vibes', cursive;
- font-size: 30px;
- line-height: 22px;
- color:#7F61FF;
- text-align: center;
- letter-spacing:1px;
- word-spacing: 2px;
- text-decoration:none!important;
- }
- #navi1 {position: absolute;
- left: 20%;
- top: 0%;}
- #navi1 a {background-color: #600;
- background:url('http://i.picpar.com/gcEc.png')
- center center no-repeat;;
- background-size: 100%;
- display: inline-block;
- height: 150px;
- width: 150px;
- border: 0px solid #000;}
- #navi2 {position: absolute;
- left: 3%;
- bottom: 25%;}
- #navi2 a {background-color: #600;
- background:url('https://t4.rbxcdn.com/8cee66e82cf318bf49d5a8aed10f91f8')
- center center no-repeat;;
- background-size: 100%;
- display: inline-block;
- height: 150px;
- width: 150px;
- border: 0px solid #000;}
- #navi3 {position: absolute;
- right: 30%;
- top: 3%;}
- #navi3 a {background-color: #600;
- background:url('http://i.picpar.com/dcEc.png')
- center center no-repeat;;
- background-size: 100%;
- display: inline-block;
- height: 150px;
- width: 150px;
- border: 0px solid #000;}
- #navi4 {position: absolute;
- right: 35%;
- bottom: 40%;}
- #navi4 a {background-color: #600;
- background:url('http://i.picpar.com/ecEc.png')
- center center no-repeat;;
- background-size: 100%;
- display: inline-block;
- height: 150px;
- width: 150px;
- border: 0px solid #000;}
- .text{
- height: 200px;
- width: 400px;
- margin: 20px;
- text-align: justify;
- font-family: dosis;
- font-size: 12px;
- color: #8a8790;
- overflow: auto;
- }
- .credit{
- position: fixed;
- bottom: 0px;
- right: 2px;
- height: 25px;
- width: 25px;
- line-height: 15px;
- font-size: 10px;
- color: #000;
- text-align: center;
- font-family: roboto;
- }
- i{color: #00076f;}
- b{color: #44008b;}
- a{color: #9f45b0;}
- </style>
- <div class="credit" title="By RageQxeen">♛</div>
- <div id="image"></div>
- <div id="image2"></div>
- <div class="header" style="top: 27%; left: 22%;">The Pet of the Heavens</div>
- <div id="content">
- <div style="width: 550px; height: 350px; overflow-y: hidden;">
- <a name="one"></a>
- <div style="width: 550px; height: 350px; overflow: auto;" align="center">
- <span style="float:left;"><b>Name</b></span><span style="float:right;">Space Kitty</span><br>
- <span style="float:left;"><b>True Name</b></span><span style="float:right;">Marratu</span><br>
- <span style="float:left;"><b>Alias(es)</b></span><span style="float:right;"><a title="None">Hover</a>.</span><br><br>
- <span style="float:left;"><b>Gender</b></span><span style="float:right;">Female</span><br>
- <span style="float:left;"><b>Birth Date</b></span><span style="float:right;">[N/A]</span><br>
- <span style="float:left;"><b>Height</b></span><span style="float:right;">162 cm</span><br>
- <span style="float:left;"><b>Weight</b></span><span style="float:right;">49 kg</span><br><br>
- <span style="float:left;"><b>Orientation</b></span><span style="float:right;">[N/A]</span><br>
- <span style="float:left;"><b>Relationship</b></span><span style="float:right;">None</span><br><br>
- <span style="float:left;"><b>Species</b></span><span style="float:right;">Celestial Beast</span><br>
- <span style="float:left;"><b>Eyes</b></span><span style="float:right;">Blue Stars</span><br>
- <span style="float:left;"><b>Hair</b></span><span style="float:right;">Turquoise</span><br>
- </div>
- <a name="two"></a>
- <div style="width: 550px; height: 350px; overflow: auto;" align="center">
- <br><br>
- <a href="profile.php?user=" target="_blank"><img src="" class="circle" width="70" height="70" border="1px solid #000000" a title="Words"></a>
- <a href="profile.php?user=" target="_blank"><img src="" class="circle" width="70" height="70" border="1px solid #000000" a title="Words"></a>
- <a href="profile.php?user=" target="_blank"><img src="" class="circle" width="70" height="70" border="1px solid #000000" a title="Words"></a>
- <a href="profile.php?user=" target="_blank"><img src="" class="circle" width="70" height="70" border="1px solid #000000" a title="Words"></a>
- <a href="profile.php?user=" target="_blank"><img src="" class="circle" width="70" height="70" border="1px solid #000000" a title="Words"></a>
- <a href="profile.php?user=" target="_blank"><img src="" class="circle" width="70" height="70" border="1px solid #000000" a title="Words"></a>
- <a href="profile.php?user=" target="_blank"><img src="" class="circle" width="70" height="70" border="1px solid #000000" a title="Words"></a><br><br>
- <h1>The Naughty Files</h1>
- <b>Measurements</b>: 37B-24W-37H<br>
- <b>Kinks</b>: N/A<br><br>
- <a target="_blank" href=""><img style="border-radius: 20%" src="" align="center" height="100" width="100"></a>
- <a target="_blank" href=""><img style="border-radius: 20%" src="" align="center" height="100" width="100"></a>
- </div>
- <a name="three"></a>
- <div style="width: 550px; height: 350px; overflow: auto;" align="center">
- <br><br>
- Created by an unknown God, she rested among the stars and watched the multiverse grow, mature and come to fruiation before she lost her way. It is not known how she came to be within a universe, only that she is there, and she is unaware of where she came from. Time will reveal more, as she is now bound by it's continuation within the laws set by the God that created her.
- </div>
- <a name="four"></a>
- <div style="width: 550px; height: 350px; overflow: auto;" align="center">
- <h1>OOC</h1>
- <li> IC =/= OOC.<br>
- <li> Smut is 99.99999% more likely with story, but I am not against it otherwise.<br>
- <li> PM Friendly.<br>
- <li>Female Typist whom is taken IRL.<br>
- <li>9 years RP experience, 6 on RPC.<br>
- <li> Discord/Skype is earned.<br>
- <li> Any questions, comments or concerns? Please don't hesitate to PM me.<br>
- </div>
- </div>
- </div>
- <canvas id="stars"></canvas>
- <div id="navi1"><a href="#one"></a></div>
- <div id="navi2"><a href="#two"></a></div>
- <div id="navi3"><a href="#three"></a></div>
- <div id="navi4"><a href="#four"></a></div>
- </body>
- </html>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement