愿得一人心,白首不分离。

冬镜落花响应式表白源码是一个用html5进行开发的表白网站。

修改文字内容,请修改/js/txt.js 文件即可

网页源码 可以修改文件index.html

新颖落花式表白七夕源码

JS修改部分如下:

var TEXT;
num = 0;
TEXTArray = ["你", "永远", "也", "看不见", "我", "站在", "窗边", "最难过", "的样子", "因为", "你", "知道的", "在", "所有", "看不见", "你的", "时候", "才是", "最", "难", "过", "的", "我", "爱", "你"];

QUALITY_TO_FONT_SIZE = [10, 12, 40, 50, 100, 350];
QUALITY_TO_SCALE = [20, 6, 4, 2, 0.9, 0.5];
QUALITY_TO_TEXT_POS = [10, 20, 60, 100, 370, 280];

window.onload = function () {
document.body.style.backgroundColor = BACKGROUND;

var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");

var W = canvas.width;
var H = canvas.height;

var tcanvas = document.createElement("canvas");
var tctx = tcanvas.getContext("2d");
tcanvas.width = W;
tcanvas.height = H;

total_area = W * H;
total_particles = 928;
single_particle_area = total_area / total_particles;
area_length = Math.sqrt(single_particle_area);


源码下载:http://pan.baidu.com/s/1c140N1Q

演示地址:http://www.520xx.cc/show/0824

最新SEO技术博客:重庆SEO - http://uqseo.com

搜一下

打赏作者 分享本文
取消

感谢您的大力支持,冬镜会继续努力的.

扫码支持
扫码赞赏,你说多少就多少.
关 闭 赞 赏

打开支付宝扫一扫,即可进行扫码赞赏哦

CopyRight 2017-2018 冬镜资源网,分享从这里开始,精彩与您同在.