Skip to content

Commit 4759ef2

Browse files
committed
first version
0 parents  commit 4759ef2

File tree

16 files changed

+769
-0
lines changed

16 files changed

+769
-0
lines changed

.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
"es2015"
4+
]
5+
}

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "bower_components"
3+
}

.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
10+
# change these settings to your own preference
11+
indent_style = space
12+
indent_size = 2
13+
14+
# we recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
23+
[{package,bower}.json]
24+
indent_style = space
25+
indent_size = 2

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
dist
3+
.tmp
4+
.sass-cache
5+
bower_components
6+
test/bower_components
7+
.idea

.yo-rc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"generator-mocha": {}
3+
}

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# PointUniversal
2+
Demo [https://luxp.github.io/point-universe](https://luxp.github.io/point-universe)
3+
> Inspired by [https://github.com/0xHJK/love](https://github.com/0xHJK/love)
4+
5+
## Run
6+
- npm install
7+
- bower install
8+
- gulp serve
9+
10+
## Build
11+
- gulp build

app/favicon.ico

4.19 KB
Binary file not shown.

app/in-love.mp3

3.73 MB
Binary file not shown.

app/index.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!doctype html>
2+
<!--suppress ALL -->
3+
<html class="no-js" lang="">
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="description" content="">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<link rel="Shortcut Icon" href="./favicon.ico" type="image/x-icon">
9+
10+
<!-- Place favicon.ico in the root directory -->
11+
12+
<!-- build:css styles/vendor.css -->
13+
<!-- bower:css -->
14+
<!-- endbower -->
15+
<!-- endbuild -->
16+
17+
<!-- build:css styles/main.css -->
18+
<link rel="stylesheet" href="styles/main.css">
19+
<!-- endbuild -->
20+
21+
<!-- build:js scripts/vendor/modernizr.js -->
22+
<script src="/bower_components/modernizr/modernizr.js"></script>
23+
<!-- endbuild -->
24+
</head>
25+
<body>
26+
<!--[if lt IE 10]>
27+
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
28+
<![endif]-->
29+
30+
<div id="main"></div>
31+
<audio id="inLoveAudio"
32+
loop="loop"
33+
oncanplay="playAudio()">
34+
</audio>
35+
36+
<div id="sweetWordContainer">
37+
<div id="sweetName"></div>
38+
<div id="sweetWord">
39+
正在玩命加载ing</div>
40+
</div>
41+
42+
<!-- build:js scripts/vendor.js -->
43+
<!-- bower:js -->
44+
<script src="/bower_components/p5.js/lib/p5.min.js"></script>
45+
<!-- endbower -->
46+
<!-- endbuild -->
47+
48+
<!-- build:js scripts/main.js -->
49+
<script src="scripts/main.js"></script>
50+
<!-- endbuild -->
51+
</body>
52+
</html>

0 commit comments

Comments
 (0)