Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

SmallRomance

> 编程语言
Open source

程序员的小浪漫

776 stars0 likes1 views
WebsiteGitHub

About

程序员的小浪漫

SmallRomance

要是觉得这个项目还不错,别忘记star哦

快速预览

[土味情话]](https://newnewking.github.io/SmallRomance/)

[虎年春节]](https://newnewking.github.io/2022chunjie/)

开发者调试

本项目是基于nodejs,所以必须要先安装nodeJs nodeJs官网

然后命令行里进入到项目目录下,先输入:

bash
npm install

安装好之后,调试预览。 输入:

bash
npm run dev

应该会自动弹出网页,如果没有,就手动在浏览器输入localhost:8888

此时可以修改文件并预览效果

打包

bash
npm run build

此时会生成一个dist文件夹,里面则是打包后的文件。

若还有问题的童鞋,可以在issue里面留言。

改动配置

大部分的参数配置都在src/config/global.js里面

只需改动参数就可开箱即用。

参数说明相见global.js注释

效果初级教程

烟花效果;

文字粒子效果;

参考项目

在canvas中使用粒子组成文字

偶然发现的github上的一个项目 --- shape-shifter

https://github.com/kennethcachia/shape-shifter

烟花效果

参考了codepen.io上的很多作品。

主要参考 --- fireworks seen in the countryside

fireworks seen in the countryside


licensed under MIT LISENCE

Issues· 10 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言