zhilei1107 / love Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ysx1993/love
这是一个表白的h5程序
This project forked from ysx1993/love
这是一个表白的h5程序
ps:这是一个"参数化指令"表白程序... 在你的表白文字中添加参数就可以控制整个表白流程了... 支持的参数: -n 表示文字延时n秒再输入 -br 表示文字换行 -drawheart 开始画心 -drawfullheart 全屏画心 -scale Love文字开始动画 -shake 左上角表白标签开始动画 $n 表示跳到第n张幻灯片 #xxxxxx 表示表白文字开始变色 如:#ff6ec7 表白文字变到粉色 提示: 1.文字默认输入延时为0.1秒,在startType函数中修改第一个delay变量就行 2.修改全屏画心的数量、大小以只需修改以下代码即可: new Snow($("#snow")[0], img, [30, 80], 33); 第三个参数为图片的宽度范围 第四个参数为画心的数量 3.修改画心的大小 找到 drawHeart(134); 参数越大心越大,不要超过父容器大小即可 4.修改歌曲 找到 var mp3List = ['bg1']; bg1是歌曲名, 需要加歌在mp3文件夹下放好歌曲然后在数组里填加歌曲名即可, curMp3Index 变量则是当前播放歌曲的序号 by Yasin qq:619351349
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.