Twist Of Love

Twist Of  Love -:






# School_Management_System

JS code for snowfall//modified from https://codepen.io/ivanodintsov/pen/KVgwRG?editors=0010. Snow size, speed, and wind ...
13/03/2018

JS code for snowfall

//modified from https://codepen.io/ivanodintsov/pen/KVgwRG?editors=0010. Snow size, speed, and wind modified.

var canvas = document.getElementById('snow'),
ctx = canvas.getContext('2d'),
width = ctx.canvas.width = document.body.offsetWidth,
height = ctx.canvas.height = document.body.offsetHeight,
animFrame = window.requestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.msRequestAnimationFrame,
snowflakes = [];

window.onresize = function() {
width = ctx.canvas.width = document.body.offsetWidth,
height = ctx.canvas.height = document.body.offsetHeight;
}

function update() {
for (var i = 0; i < snowflakes.length; i++) {
snowflakes[i].update();
}
}

function Snow() {
this.x = random(0, width);
this.y = random(-height, 0);
this.radius = random(0.75, 5.0);
this.speed = random(4, 2);
this.wind = random(-0.75, 0.25);
}

Snow.prototype.draw = function() {
ctx.beginPath();
ctx.arc(this.x, this.y, this.radius, 0, 2 * Math.PI);
ctx.fillStyle = ' ';
ctx.fill();
ctx.closePath();
}

Snow.prototype.update = function() {
this.y += this.speed;
this.x += this.wind;

if (this.y > ctx.canvas.height) {
this.y = 0;
this.x = random(0, width);
}
}

function createSnow(count) {
for (var i = 0; i < count; i++) {
snowflakes[i] = new Snow();
}
}

function draw() {
ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height);
for (var i = 0; i < snowflakes.length; i++) {
snowflakes[i].draw();
}
}

function loop() {
draw();
update();
animFrame(loop);
}

function random(min, max) {
var rand = (min + Math.random() * (max - min)).toFixed(1);
rand = Math.round(rand);
return rand;
}

createSnow(150);
loop();

//test for accessibility
axe.run(function(err, results) {
console.log(results.violations);
});

Snow on canvas...

CSS code for snow falling* { margin: 0; padding: 0; box-sizing: border-box; background-repeat: no-repeat;}body, html{ wi...
13/03/2018

CSS code for snow falling

* {
margin: 0;
padding: 0;
box-sizing: border-box;
background-repeat: no-repeat;
}

body, html{
width: 100%;
height: 100%;
background-color: ;
}
box {
position: relative;
width: 100vw;
height: 100vh;
background-image: url(https://images.unsplash.com/photo-1477601263568-180e2c6d046e?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&s=b1513745691d88b8f370f9fe31b24460);
background-size: cover;
margin: auto;
}
snow {
height: 100%;
position: absolute;
width: 100%;
background-image: linear-gradient(rgba(31, 50, 70, .9) 10%, transparent 100%);
background-blend-mode: overlay;
}

13/03/2018

Html code for snow falling



25/10/2017

ये उम्र लम्हों में सिमट जाये तो क़रार आये ...
बात बिगड़ी भी सँवर जाये तो क़रार आये....t@nu

25/10/2017

बिछड़कर फिर मिलेंगे यकीन कितना था…
बेशक ख्वाब ही था मगर.. हसीन कितना था….t@nu

25/10/2017

अहंकार तुम्हारा भी अच्छा
स्वाभिमान मेरा भी जरूरी......

25/10/2017

मेरी सादगी से लोग जलें तो मेरा क्या कसूर…
पैसौ की अमीरी तो आम बात है ..
दिल की अमीरी खुदा किसी किसी को देता है....

17/09/2017

बस साँस लेने से साँस थमने थक
,,😍😍,,
जो भी लम्हें है, मेरे
सब तुम्हारे है . . .$
एक अजनबी . . ।

16/09/2017

कितना मजबूर होगा वो शख्स,
जिसने सिर्फ मज़बूरी में कुछ दिन मोहब्बत की थी !!

20/06/2017

hi friends, i am back.

25/07/2015

अजब मुकाम पे ठहरा हुआ है काफिला जिंदगी का🌺
🍂उसके साथ सुकून ढूंढने चले थे नींद ही गंवा बैठे ...राज

05/07/2015

तू जो भूल गयी मुझको क़सूर तेरा नहीं है,
जब तक़दीर ही बुरी हो तो कोई अपना नहीं बनता!!....raaz

Address

Ramnagar/Fatehpur Road, Burhwal
Barabanki
225205

Alerts

Be the first to know and let us send you an email when Twist Of Love posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Twist Of Love:

Share

Category