当前位置:网站首页>七夕节代码表白
七夕节代码表白
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,
边栏推荐
- 【软件测试】自动化测试之unittest框架
- Dynamic management of massive service instances
- How to sort multiple fields and multiple values in sql statement
- 【七夕节】浪漫七夕,代码传情。将爱意变成绚烂的立体场景,给她(他)一个惊喜!(送代码)
- How to solve the error cannot update secondary snapshot during a parallel operation when the PostgreSQL database uses navicat to open the table structure?
- 从“能用”到“好用” 国产软件自主可控持续推进
- STM32 uses stm32cubemx LL library series tutorial
- 结构体初解
- [TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.3 Real-time Shadow Introduction
- Everyone in China said data, you need to focus on core characteristic is what?
猜你喜欢
Bubble Sort and Quick Sort
2022高处安装、维护、拆除考试题模拟考试题库及在线模拟考试
[Qixi Festival] Romantic Tanabata, code teaser.Turn love into a gorgeous three-dimensional scene and surprise her (him)!(send code)
2022-08-04T17:50:58.296+0800 ERROR Announcer-3 io.airlift.discovery.client.Announcer appears after successful startup of presto
Step by step how to perform data risk assessment
How to Add Category-Specific Widgets in WordPress
[Solved] Unity Coroutine coroutine is not executed effectively
.NET Application -- Helloworld (C#)
QT language file production
Beidou no. 3 short message terminal high slope in open-pit mine monitoring programme
随机推荐
Why is the pca component not associated
A small tool to transfer files using QR code - QFileTrans 1.2.0.1
冒泡排序与快速排序
sql怎么找字段里所有数据为空的字段
leetcode-每日一题1403. 非递增顺序的最小子序列(贪心)
Web3.0 Dapps——通往未来金融世界的道路
Call Alibaba Cloud oss and sms services
Syntax basics (variables, input and output, expressions and sequential statements)
private package
You may use special comments to disable some warnings. Three ways to report errors
21 Days Learning Challenge (2) Use of Graphical Device Trees
2022-08-04 The sixth group, hidden from spring, study notes
使用二维码传输文件的小工具 - QFileTrans 1.2.0.1
告白数字化转型时代,时速云镌刻价值新起点
Static method to get configuration file data
rpc-remote procedure call demo
2022-08-04 第六小组 瞒春 学习笔记
The usage of try...catch and finally in js
Intersection of Boolean Operations in SuperMap iDesktop.Net - Repairing Complex Models with Topological Errors
Dameng 8 database export and import