当前位置:网站首页>七夕节代码表白
七夕节代码表白
2022-08-05 03:26:00 【你若不离不弃,我必生死相依】
——【七夕节的由来简短介绍】——
七夕节,又称七巧节、定于我国农历日历的七月七日,是我国传统节日之一,流传至今已经有了一千多年的历史了。七夕节的最先开始是由崇拜星宿文化而诞生的,但随后由于牛郎织女这段旷世流传的爱情故事被广泛流传,从而为这个日子添加了许多的爱情色彩,随后,更是被直接定义为了象征爱情的节日,简称为“中国情人节”。
——【七夕节的传说】——
七夕节的传说就是来源于牛郎织女的爱情故事,我我国四大民间爱情传说之一。下面小编就来用简短的语言给大家讲述一下千年之前的动人爱恋吧。
相传美丽聪明、心灵手巧织女是王母身边的一位仙女,而牛郎则是人间的一位贫穷的放牛郎,牛郎因受通了灵的老牛点拨,无意中留下来凡间嬉戏的织女,两人一见钟情,就在情投意合之下结为了夫妇,并在婚后育有了一双儿女。
但奈何仙凡有别,织女被王母带上了天庭,徒留牛郎和一双儿女在人间,而牛郎则不放弃发誓要追上天庭,在二人即将相见之时,王母娘娘拔下头上的金簪向银河一挥,昔日清浅的银河霎时间变得浊浪滔天,将牛郎织女隔在银河两边。从此,牛郎织女眼泪汪汪,隔河相望。
王母娘娘拔下头上的金簪向银河一挥,昔日清浅的银河霎时间变得浊浪滔天,将牛郎织女隔在银河两边。从此,牛郎织女眼泪汪汪,隔河相望。从此七夕节这一天就成了有情人终成眷属的日子。
——【七夕节的风俗】——
在现代的近代七夕节里,大多数有情人都会将这天定义为情人节,从而进行颇有仪式感的相聚约会,而单身的人则会结伴取暖出行找乐子。总之就是一个闲不下来的日子,但是很多年轻人甚至是父母一辈的人都不太了解过去传统的民间风俗是如何庆祝七夕的,所以下面先小编就来给大家列举一下过去乞巧节的民间习俗有哪些吧。 香桥会;接露水;拜七姐;斗巧;乞求姻缘;游七姐水;种生求子;储七夕水;为牛庆生;七巧贡案;迎仙;拜神;拜牛郎;拜魁星;拜床母;染指甲;七夕观星;听悄悄话;净水视影;结红头绳;姑娘洗发;晒书晒衣;结扎巧姑;玩磨喝乐。
记录一起走过的那些日子
讲述和亲爱的TA一起经历的那些故事
- 那些初见印象
- 那些浪漫的开始
- 那些铭记于心的大小事
- 那些经历的曲折
- 那些经历的幸福与快乐
- 那些珍贵的瞬间
- 那些对未来的期许/计划
…
创意代码表白
使用js来写的,简单介绍下首页 index.html
下面的文字内容替换成自己想要的表白话语,日期变量textAnimate,表示你和你表白的人在一起的时间日期。
就改这两个就差不多了
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>给你的一封信</title>
<link type="text/css" rel="stylesheet" href="./file/default.css">
<script type="text/javascript" src="./file/jquery.min.js"></script>
<script type="text/javascript" src="./file/jscex.min.js"></script>
<script type="text/javascript" src="./file/jscex-parser.js"></script>
<script type="text/javascript" src="./file/jscex-jit.js"></script>
<script type="text/javascript" src="./file/jscex-builderbase.min.js"></script>
<script type="text/javascript" src="./file/jscex-async.min.js"></script>
<script type="text/javascript" src="./file/jscex-async-powerpack.min.js"></script>
<script type="text/javascript" src="./file/functions.js" charset="utf-8"></script>
<script type="text/javascript" src="./file/love.js" charset="utf-8"></script>
<style type="text/css">
</style>
</head>
<body>
<div id="main">
<div id="error">本页面采用HTML5编辑,目前您的浏览器无法显示,请换成谷歌(<a href="http://www.google.cn/chrome/intl/zh-CN/landing_chrome.html?hl=zh-CN&brand=CHMI">Chrome</a>)或者火狐(<a href="http://firefox.com.cn/download/">Firefox</a>)浏览器,或者其他游览器的最新版本。</div>
<div id="wrap">
<div id="text">
<div id="code"> <font color="#FF0000"> <span class="say">亲爱的宝宝,我爱你</span><br>
<span class="say"> 我知道我不会甜言蜜语,</span><br>
<span class="say"> 但是我会用行动证明一切</span><br>
<span class="say">你说我啰嗦,</span><br>
<span class="say"> 有些东西因为越在乎所以越怕失去</span><br>
<span class="say">因为我太爱你了,所以我害怕失去你</span><br>
<span class="say">因为我太爱你了,所以我对你总啰嗦</span><br>
<span class="say">希望可以执子之手,与子偕老</span><br>
<span class="say">如果上天让我许三个愿望,</span><br>
<span class="say">第一个是今生今世和你在一起, </span><br>
<span class="say"> 第二个是再生再世和你在一起,</span><br>
<span class="say">第三个是永生永世和你不分离 </span><br>
<span class="say"><span class="space"></span> -- 爱你的谁谁谁</span> </font>
<br />
<br />
</p>
</div>
</div>
<div id="clock-box">
<span class="STYLE1"></span><font color="#33CC00">亲爱的,我喜欢你</font>
<span class="STYLE1">已经是……</span>
<div id="clock"></div>
</div>
<canvas id="canvas" width="1100" height="680"></canvas>
</div>
</div>
<script>
</script>
<script>
(function(){
var canvas = $('#canvas');
if (!canvas[0].getContext) {
$("#error").show();
return false; }
var width = canvas.width();
var height = canvas.height();
canvas.attr("width", width);
canvas.attr("height", height);
var opts = {
seed: {
x: width / 2 - 20,
color: "rgb(190, 26, 37)",
scale: 2
},
branch: [
[535, 680, 570, 250, 500, 200, 30, 100, [
[540, 500, 455, 417, 340, 400, 13, 100, [
[450, 435, 434, 430, 394, 395, 2, 40]
]],
[550, 445, 600, 356, 680, 345, 12, 100, [
[578, 400, 648, 409, 661, 426, 3, 80]
]],
[539, 281, 537, 248, 534, 217, 3, 40],
[546, 397, 413, 247, 328, 244, 9, 80, [
[427, 286, 383, 253, 371, 205, 2, 40],
[498, 345, 435, 315, 395, 330, 4, 60]
]],
[546, 357, 608, 252, 678, 221, 6, 100, [
[590, 293, 646, 277, 648, 271, 2, 80]
]]
]]
],
bloom: {
num: 700,
width: 1080,
height: 650,
},
footer: {
width: 1200,
height: 5,
speed: 10,
}
}
var tree = new Tree(canvas[0], width, height, opts);
var seed = tree.seed;
var foot = tree.footer;
var hold = 1;
canvas.click(function(e) {
var offset = canvas.offset(), x, y;
x = e.pageX - offset.left;
y = e.pageY - offset.top;
if (seed.hover(x, y)) {
hold = 0;
canvas.unbind("click");
canvas.unbind("mousemove");
canvas.removeClass('hand');
}
}).mousemove(function(e){
var offset = canvas.offset(), x, y;
x = e.pageX - offset.left;
y = e.pageY - offset.top;
canvas.toggleClass('hand', seed.hover(x, y));
});
var seedAnimate = eval(Jscex.compile("async", function () {
seed.draw();
while (hold) {
$await(Jscex.Async.sleep(10));
}
while (seed.canScale()) {
seed.scale(0.95);
$await(Jscex.Async.sleep(10));
}
while (seed.canMove()) {
seed.move(0, 2);
foot.draw();
$await(Jscex.Async.sleep(10));
}
}));
var growAnimate = eval(Jscex.compile("async", function () {
do {
tree.grow();
$await(Jscex.Async.sleep(10));
} while (tree.canGrow());
}));
var flowAnimate = eval(Jscex.compile("async", function () {
do {
tree.flower(2);
$await(Jscex.Async.sleep(10));
} while (tree.canFlower());
}));
var moveAnimate = eval(Jscex.compile("async", function () {
tree.snapshot("p1", 240, 0, 610, 680);
while (tree.move("p1", 500, 0)) {
foot.draw();
$await(Jscex.Async.sleep(10));
}
foot.draw();
tree.snapshot("p2", 500, 0, 610, 680);
// 会有闪烁不得意这样做, (>﹏<)
canvas.parent().css("background", "url(" + tree.toDataURL('image/png') + ")");
canvas.css("background", "#ffe");
$await(Jscex.Async.sleep(300));
canvas.css("background", "none");
}));
var jumpAnimate = eval(Jscex.compile("async", function () {
var ctx = tree.ctx;
while (true) {
tree.ctx.clearRect(0, 0, width, height);
tree.jump();
foot.draw();
$await(Jscex.Async.sleep(25));
}
}));
var textAnimate = eval(Jscex.compile("async", function () {
var together = new Date();
together.setFullYear(2019,1 , 15); //时间年月日
together.setHours(16); //小时
together.setMinutes(53); //分钟
together.setSeconds(0); //秒前一位
together.setMilliseconds(2); //秒第二位
$("#code").show().typewriter();
$("#clock-box").fadeIn(500);
while (true) {
timeElapse(together);
$await(Jscex.Async.sleep(1000));
}
}));
var runAsync = eval(Jscex.compile("async", function () {
$await(seedAnimate());
$await(growAnimate());
$await(flowAnimate());
$await(moveAnimate());
textAnimate().start();
$await(jumpAnimate());
}));
runAsync().start();
})();
</script></body></html>
下载地址
https://download.csdn.net/download/qq_42055933/86315815
下载地址:
http://www.php.cn/xiazai/js/354
博客来源1,2,
边栏推荐
- Why is the pca component not associated
- ASP.NET application--Hello World
- Ice Scorpion V4.0 attack, security dog products can be fully detected
- XMjs cross-domain problem solving
- 龙蜥社区第二届理事大会圆满召开!理事换届选举、4 位特约顾问加入
- word column notes
- You may use special comments to disable some warnings. 报错解决的三种方式
- Physical backup issues caused by soft links
- Native js realizes the effect of selecting and canceling all the multi-select boxes
- CPDA|How Operators Learn Data Analysis (SQL) from Negative Foundations
猜你喜欢
【 genius_platform software platform development 】 : seventy-six vs the preprocessor definitions written cow force!!!!!!!!!!(in the other groups conding personnel told so cow force configuration to can
The linear table lookup
论治理与创新,2022 开放原子全球开源峰会 OpenAnolis 分论坛圆满落幕
今年七夕,「情蔬」比礼物更有爱
用CH341A烧录外挂Flash (W25Q16JV)
告白数字化转型时代,时速云镌刻价值新起点
YYGH-13-客服中心
21 Days Learning Challenge (2) Use of Graphical Device Trees
Question about #sql shell#, how to solve it?
通过模拟Vite一起深入其工作原理
随机推荐
ASP.NET application--Hello World
Increasing leetcode - a daily topic 1403. The order of the boy sequence (greed)
sql怎么找字段里所有数据为空的字段
AI + Small Nucleic Acid Drugs | Eleven Completes $22 Million Seed Round Financing
【已解决】Unity Coroutinue 协程未有效执行的问题
private package
How to sort multiple fields and multiple values in sql statement
Native js realizes the effect of selecting and canceling all the multi-select boxes
Open Source License Description LGPL
rpc-remote procedure call demo
The second council meeting of the Dragon Lizard Community was successfully held!Director general election, 4 special consultants joined
Beyond YOLO5-Face | YOLO-FaceV2 officially open source Trick+ academic point full
Why did they choose to fall in love with AI?
惨遭打脸:字节某部门竟有这么多测试员
十五. 实战——mysql建库建表 字符集 和 排序规则
One hundred - day plan -- -- DAY2 brush
Open-Falcon of operation and maintenance monitoring system
Hash table lookup (hash table)
Simple description of linked list and simple implementation of code
How to find all fields with empty data in sql