首页
留言
友链
壁纸
统计
归档
娱乐
关于
推荐
云U盘
备忘录
梦未图床
梦未云盘
陶冶情操
烟花
Search
1
《莉可丽丝》井之上泷奈壁纸特辑
60 阅读
2
2024情人节壁纸特辑
51 阅读
3
《天气之子》天野阳菜壁纸
46 阅读
4
Happy Birthday!2023初音未来16周年生日壁纸特辑
43 阅读
5
凉风吹白了清晨的孤单,满眼的桃花掉落一地
38 阅读
美图
软件
音乐
动画
其他
杂谈
随笔
技术
Typecho
登录
Search
标签搜索
壁纸
美图
节日
莉可丽丝
软件
励志
白沙的水族馆
动画
插画
ssl
原神
伊蕾娜
ShareMoe
反诈
星空
源码
宝塔
天气之子
天野阳菜
中国画师SWKL:D
梦未
累计撰写
176
篇文章
累计收到
89
条评论
今日撰写
0
篇文章
首页
栏目
美图
软件
音乐
动画
其他
杂谈
随笔
技术
Typecho
页面
留言
友链
壁纸
统计
归档
娱乐
关于
推荐
云U盘
备忘录
梦未图床
梦未云盘
陶冶情操
烟花
用户登录
登录
搜索到
15
篇与
的结果
2024-02-17
广告横幅在线生成源码
源码介绍logo广告横幅在线生成网站源码,玩网必备,上传源码后解压访问即可,修改网站名信息在文件Config.php效果图下载链接https://wwxq.lanzoub.com/iDDU50lfbnzg
2024年02月17日
10 阅读
0 评论
0 点赞
2024-02-16
新年快乐 烟花源码
效果图:<!DOCTYPE html> <html dir="ltr" lang="zh-CN"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width" /> <title>夜空烟花</title> <script type="text/javascript" src="http://g.huceo.com/weixin/qw/jquery.min.js"></script> <script type="text/javascript"> </script> <style> body { background: #000; margin: 0; } canvas { cursor: crosshair; display: block; } .STYLE1 {color: #333333} </style> </head> <div style="text-align:center;clear:both"> </div> <canvas id="canvas"><span class="STYLE1">Open IE effect more perfect </span></canvas> <script> window.requestAnimFrame = ( function() { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function( callback ) { window.setTimeout( callback, 1000 / 60 ); }; })(); var canvas = document.getElementById( 'canvas' ), ctx = canvas.getContext( '2d' ), cw = window.innerWidth, ch = window.innerHeight, fireworks = [], particles = [], hue = 120, limiterTotal = 5, limiterTick = 0, timerTotal = 80, timerTick = 0, mousedown = false, mx, my; canvas.width = cw; canvas.height = ch; function random( min, max ) { return Math.random() * ( max - min ) + min; } function calculateDistance( p1x, p1y, p2x, p2y ) { var xDistance = p1x - p2x, yDistance = p1y - p2y; return Math.sqrt( Math.pow( xDistance, 2 ) + Math.pow( yDistance, 2 ) ); } function Firework( sx, sy, tx, ty ) { this.x = sx; this.y = sy; this.sx = sx; this.sy = sy; this.tx = tx; this.ty = ty; this.distanceToTarget = calculateDistance( sx, sy, tx, ty ); this.distanceTraveled = 0; this.coordinates = []; this.coordinateCount = 3; while( this.coordinateCount-- ) { this.coordinates.push( [ this.x, this.y ] ); } this.angle = Math.atan2( ty - sy, tx - sx ); this.speed = 2; this.acceleration = 1.05; this.brightness = random( 50, 70 ); this.targetRadius = 1; } Firework.prototype.update = function( index ) { this.coordinates.pop(); this.coordinates.unshift( [ this.x, this.y ] ); if( this.targetRadius < 8 ) { this.targetRadius += 0.3; } else { this.targetRadius = 1; } this.speed *= this.acceleration; var vx = Math.cos( this.angle ) * this.speed, vy = Math.sin( this.angle ) * this.speed; this.distanceTraveled = calculateDistance( this.sx, this.sy, this.x + vx, this.y + vy ); if( this.distanceTraveled >= this.distanceToTarget ) { createParticles( this.tx, this.ty ); fireworks.splice( index, 1 ); } else { this.x += vx; this.y += vy; } } Firework.prototype.draw = function() { ctx.beginPath(); ctx.moveTo( this.coordinates[ this.coordinates.length - 1][ 0 ], this.coordinates[ this.coordinates.length - 1][ 1 ] ); ctx.lineTo( this.x, this.y ); ctx.strokeStyle = 'hsl(' + hue + ', 100%, ' + this.brightness + '%)'; ctx.stroke(); ctx.beginPath(); ctx.arc( this.tx, this.ty, this.targetRadius, 0, Math.PI * 2 ); ctx.stroke(); } function Particle( x, y ) { this.x = x; this.y = y; this.coordinates = []; this.coordinateCount = 5; while( this.coordinateCount-- ) { this.coordinates.push( [ this.x, this.y ] ); } this.angle = random( 0, Math.PI * 2 ); this.speed = random( 1, 10 ); this.friction = 0.95; this.gravity = 1; this.hue = random( hue - 20, hue + 20 ); this.brightness = random( 50, 80 ); this.alpha = 1; this.decay = random( 0.015, 0.03 ); } Particle.prototype.update = function( index ) { this.coordinates.pop(); this.coordinates.unshift( [ this.x, this.y ] ); this.speed *= this.friction; this.x += Math.cos( this.angle ) * this.speed; this.y += Math.sin( this.angle ) * this.speed + this.gravity; this.alpha -= this.decay; if( this.alpha <= this.decay ) { particles.splice( index, 1 ); } } Particle.prototype.draw = function() { ctx. beginPath(); ctx.moveTo( this.coordinates[ this.coordinates.length - 1 ][ 0 ], this.coordinates[ this.coordinates.length - 1 ][ 1 ] ); ctx.lineTo( this.x, this.y ); ctx.strokeStyle = 'hsla(' + this.hue + ', 100%, ' + this.brightness + '%, ' + this.alpha + ')'; ctx.stroke(); } function createParticles( x, y ) { var particleCount = 30; while( particleCount-- ) { particles.push( new Particle( x, y ) ); } } function loop() { requestAnimFrame( loop ); hue += 0.5; ctx.globalCompositeOperation = 'destination-out'; ctx.fillStyle = 'rgba(0, 0, 0, 0.5)'; ctx.fillRect( 0, 0, cw, ch ); ctx.globalCompositeOperation = 'lighter'; var i = fireworks.length; while( i-- ) { fireworks[ i ].draw(); fireworks[ i ].update( i ); } var i = particles.length; while( i-- ) { particles[ i ].draw(); particles[ i ].update( i ); } if( timerTick >= timerTotal ) { if( !mousedown ) { fireworks.push( new Firework( cw / 2, ch, random( 0, cw ), random( 0, ch / 2 ) ) ); timerTick = 0; } } else { timerTick++; } if( limiterTick >= limiterTotal ) { if( mousedown ) { fireworks.push( new Firework( cw / 2, ch, mx, my ) ); limiterTick = 0; } } else { limiterTick++; } } canvas.addEventListener( 'mousemove', function( e ) { mx = e.pageX - canvas.offsetLeft; my = e.pageY - canvas.offsetTop; }); canvas.addEventListener( 'mousedown', function( e ) { e.preventDefault(); mousedown = true; }); canvas.addEventListener( 'mouseup', function( e ) { e.preventDefault(); mousedown = false; }); window.onload = loop; </script>
2024年02月16日
3 阅读
0 评论
0 点赞
2024-01-10
良应&经历/滑稽
暂无简介
2024年01月10日
2 阅读
1 评论
0 点赞
2023-12-17
国忠滑冰
{bilibili bvid="BV1Xu4y1J7X6" page=""/}
2023年12月17日
5 阅读
0 评论
0 点赞
2023-12-03
罕见!多地出现极光
12月1日晚我国北部黑龙江漠河、大庆内蒙古额尔古纳等地的不少网友拍到了震撼的极光画面当晚#北京极光#话题也冲上热搜北京怀柔、门头沟区罕见地记录到了极光现象
2023年12月03日
15 阅读
1 评论
0 点赞
2023-10-22
读林徽因的诗,美得如此优雅!
1904年6月10日,林徽因出生了。从此,中国文坛像注入了一股清洌的泉水,甘甜而灵动。林徽因是建筑家、诗人,也是一个母亲。无论在什么位置上,她的表现都十分出众。作为建筑家,她参与了人民英雄纪念碑和国徽的设计,设计了八宝山革命公墓。她和梁思成实地勘察了数十处古代建筑,为古建筑的发掘和保护做出了贡献。作为文学家,她留下了散文、诗歌、小说等优秀作品,其中《你是人间的四月天》成为脍炙人口的名作。她是一个善解人意的妻子,一个坚强的母亲。这个热情、果敢、富有才华的女子,一直带给我们感动。斯人已逝,我们更希望在诗作中去寻找林徽因的样子,一起来看看诗人林徽因有多浪漫优雅吧!你是人间的四月天——一句爱的赞颂我说 你是人间的四月天;笑响点亮了四面风;轻灵在春的光艳中交舞着变。你是四月早天里的云烟,黄昏吹着风的软,星子在无意中闪,细雨点洒在花前。那轻,那娉婷,你是,鲜妍百花的冠冕你戴着,你是天真,庄严,你是夜夜的月圆。雪化后那片鹅黄,你像;新鲜初放芽的绿,你是;柔嫩喜悦,水光浮动着你梦期待中白莲。你是一树一树的花开,是燕在梁间呢喃,——你是爱,是暖,是希望,你是人间的四月天!【灵动】有人说,这是林徽因为孩子所写,有人说,这是为徐志摩所写。不论是谁,这样轻快灵动的一首诗,给明媚的四月天落下了最好的注解。笑笑的是她的眼睛,口唇,和唇边浑圆的漩涡。艳丽如同露珠,朵朵的笑向贝齿的闪光里躲。那是笑——神的笑,美的笑:水的映影,风的轻歌。笑的是她惺松的鬈发,散乱的挨着她耳朵。轻软如同花影,痒痒的甜蜜涌进了你的心窝。那是笑——诗的笑,画的笑:云的留痕,浪的柔波。【微笑】这首诗是林徽因早期作品的艺术风格,语言玲珑剔透,带着些青草和阳光的气息,让人想到春天和露珠,透出美的芳馨。
2023年10月22日
2 阅读
0 评论
0 点赞
1
2
3