Skip to content

Commit 0d8f152

Browse files
author
Lemon Orange
committed
improved home page, fixed training bug
1 parent 3baa801 commit 0d8f152

13 files changed

Lines changed: 169 additions & 49 deletions

File tree

about/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@
2222
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico">
2323
</head>
2424

25-
<body style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column">
25+
<body id="particles-js" style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column">
2626
<section style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column; margin-bottom:6rem;
2727
width:60rem">
28-
<h2 class='unselectable' style="font-size: 2.5rem; font-weight:430; font-family: Montserrat;">
28+
<h2 class='unselectable' style="font-size: 2.5rem; font-weight:300; font-family: Montserrat; letter-spacing: 0.1rem;">
2929
<Strong>What Is This?</Strong>
3030
</h2>
3131

32-
<p style='text-align:center; margin-top: 2rem; cursor: text; font-size: 1rem; margin-bottom:0.5rem'>
32+
<p style='text-align:center; margin-top: 2rem; cursor: text; font-size: 1rem; margin-bottom:0.5rem; font-weight: 200;'>
3333
In a nutshell: DeepFusion is an app that provides allows you to create and train neural networks graphically.
3434
</p>
3535
<hr style="width:20rem">
36-
<p style='text-align:center; margin-top: 0.5rem; cursor: text; font-size: 1rem;'>
36+
<p style='text-align:center; margin-top: 0.5rem; cursor: text; font-size: 1rem; font-weight: 200'>
3737
It uses the power of nodes and connections to make creating even the most complex neural networks an easy task,
3838
which also eliminates the need to debug technical errors and annoying problems that comes with the traditional way of making NNs.
3939
</p>
@@ -59,6 +59,8 @@ <h2 class='unselectable' style="font-size: 2.5rem; font-weight:430; font-family:
5959
Copyright &copy; 2021 LemonOrange
6060
</a>
6161

62+
<script src="../minjs/particles.min.js"></script>
63+
6264
<script src="../anime.min.js"></script>
6365
<script src="index.js"></script>
6466
<script data-host="https://microanalytics.io" data-dnt="false" src="https://microanalytics.io/js/script.js" id="ZwSg9rf6GA" async defer></script>

about/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
particlesJS.load('particles-js', '../minjs/part-config.json', function() {
2+
console.log('callback - particles.js config loaded');
3+
});

blank/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@
2222
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico">
2323
</head>
2424

25-
<body style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column">
25+
<body id="particles-js" style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column">
2626

2727
<p class='copyrightmsg unselectable' style='position: absolute; bottom:1vh; color:gray'>
2828
Copyright &copy; 2021 LemonOrange
2929
</p>
3030
<script src="../anime.min.js"></script>
31+
<script src="../minjs/particles.min.js"></script>
32+
3133
<script src="index.js"></script>
3234
<script data-host="https://microanalytics.io" data-dnt="false" src="https://microanalytics.io/js/script.js" id="ZwSg9rf6GA" async defer></script>
3335
</body>

blank/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
particlesJS.load('particles-js', '../minjs/part-config.json', function() {
2+
console.log('callback - particles.js config loaded');
3+
});

index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
2424
</head>
2525

26-
<body style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column">
27-
28-
<section style="padding-top: 10vh;">
26+
<body id="particles-js" style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column; padding:0; top:-1vh; width:102vw; left:-1vw">
27+
<section style="padding-top: 10vh; z-index: 5">
2928
<section style='display:flex; flex-direction: row; padding-right: 2vw'>
3029
<a href="https://github.com/LemonOrangeWasTaken/DeepFusion" style="position: relative; width: fit-content;">
3130
<img src="icon-colored.svg" style='height: 10rem; margin-right: 3vw; padding-top: 3vh; position: absolute; filter: blur(5px); opacity: 0.5;'
@@ -36,12 +35,12 @@
3635

3736
<section>
3837
<h1 class='unselectable' style='cursor: default; font-weight: 300; font-size: 5rem;
39-
letter-spacing: 0.1rem; margin:0; margin:0'>
38+
letter-spacing: 0.1rem; margin:0; margin:0; text-shadow: 0 0 7px rgba(255, 255, 255, 0.582);'>
4039
DeepFusion
4140
</h1>
4241
<section style="display:flex; flex-direction: row; justify-content: space-between; align-items: center; padding-left:0rem; padding-right:0.7vw">
4342
<h2 class='unselectable' style='cursor: default; font-weight: 300; font-size: 1.4rem;
44-
letter-spacing: 0.1rem; margin:0; margin-left:0.3vw'>
43+
letter-spacing: 0.1rem; margin:0; margin-left:0.3vw; text-shadow: 0 0 7px rgba(255, 255, 255, 0.582)'>
4544
By LemonOrange
4645
</h2>
4746
<h3 class='unselectable' style='cursor: default; font-weight: 500; font-size: 1.2rem;
@@ -52,24 +51,26 @@
5251
</section>
5352
</section>
5453
</section>
55-
<section style="margin-top:3rem; width:50vw; display:flex; justify-content: center; align-items: center;">
54+
<section style="margin-top:3rem; width:50vw; display:flex; justify-content: center; align-items: center; z-index: 5">
5655
<a class='buttonlike nolinkunderline absolute-btn large-btn' href='model-maker'>
5756
Create Model
5857
</a>
5958
<a class='buttonlike nolinkunderline absolute-btn large-btn' href='about'>
6059
What Is This
6160
</a>
6261
</section>
63-
<a style="font-size: 0.85rem; color:#767676; margin-top: 0.75rem;" href="https://github.com/LemonOrangeWasTaken/DeepFusion/issues" target="_blank">Report Bug</a>
62+
<a style="font-size: 0.85rem; color:#767676; margin-top: 0.75rem; z-index: 5" href="https://github.com/LemonOrangeWasTaken/DeepFusion/issues" target="_blank">Report Bug</a>
6463

6564
<!-- github corner thing -->
66-
<a href="https://github.com/LemonOrangeWasTaken/DeepFusion" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#ffffff; color:#1d2021; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
65+
<a style="position: fixed; right:0; top:0" href="https://github.com/LemonOrangeWasTaken/DeepFusion" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#ffffff; color:#1d2021; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
6766

6867
<a href="./license-info/" class='copyrightmsg unselectable' style='position: absolute; bottom:1vh; color:gray'>
6968
Copyright &copy; 2021 LemonOrange
7069
</a>
7170

7271
<script src="anime.min.js"></script>
72+
<script src="minjs/particles.min.js"></script>
73+
7374
<script src="index.js"></script>
7475
<script data-host="https://microanalytics.io" data-dnt="false" src="https://microanalytics.io/js/script.js" id="ZwSg9rf6GA" async defer></script>
7576
</body>

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
particlesJS.load('particles-js', 'minjs/part-config.json', function() {
2+
console.log('callback - particles.js config loaded');
3+
});

license-info/index.html

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,19 @@
2222
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico">
2323
</head>
2424

25-
<body style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column">
25+
<body id="particles-js" style="display:flex; align-items: center; justify-content: center; height:100vh; flex-direction: column">
2626

27-
<h2 style='position: absolute; top:5vh; letter-spacing: 0.1rem;'>
27+
<h2 style='margin-bottom:2rem; letter-spacing: 0.1rem;'>
2828
<a style='color:white; text-decoration: none; cursor:pointer;' href="https://github.com/LemonOrangeWasTaken/DeepFusion/blob/master/LICENSE">
2929
License
3030
</a>
3131
</h2>
3232

33-
<!-- underlying watermark -->
34-
<section style="display: flex; position:absolute; width:80vw; height:65vh; justify-content: center; align-items: center;
35-
padding: 4vh 0.5vw 1.3vh 0.5vw; margin-bottom: 10vh; pointer-events: none; filter: blur(10px); flex-direction: column; opacity: 0.7;">
36-
<img src="../icon-colored.svg" alt="DeepFusion" style='height:30%;'>
37-
</section>
38-
39-
<section style="width:80vw; height:65vh; background-color: #2a2f30; border-radius: clamp(0.1rem, min(1.8vw,1.8vh), 1.8rem);
33+
<section style="width:80vw; height:65vh; background-color: #3f464649; border-radius: 1rem; z-index: 2; backdrop-filter: blur(4px);
4034
overflow-x: hidden;
41-
padding: 2.5vh 0.5vw 1.3vh 0.5vw; border: 1px solid #414849; display: flex;
42-
justify-content: flex-start; align-items: flex-start; flex-direction: column; text-align: left;"
35+
padding: 1rem 0.5rem 0.5rem 0.5rem; border: 1px solid #414849; display: flex;
36+
justify-content: flex-start; align-items: flex-start; flex-direction: column; text-align: left;
37+
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.542), -5px 5px 20px rgba(0, 0, 0, 0.35) "
4338
class="no-scroll-bar legal">
4439

4540
<h4 style="width:100%; text-align: center;">
@@ -819,6 +814,8 @@ <h5 style='color:white; width:100%; text-align: center; margin-top:1rem'>
819814
<a href="https://github.com/LemonOrangeWasTaken/DeepFusion" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#ffffff; color:#1d2021; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
820815

821816
<script src="../anime.min.js"></script>
817+
<script src="../minjs/particles.min.js"></script>
818+
822819
<script src="index.js"></script>
823820
<script data-host="https://microanalytics.io" data-dnt="false" src="https://microanalytics.io/js/script.js" id="ZwSg9rf6GA" async defer></script>
824821
</body>

license-info/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
particlesJS.load('particles-js', '../minjs/part-config.json', function() {
2+
console.log('callback - particles.js config loaded');
3+
});

minjs/part-config.json

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"particles": {
3+
"number": {
4+
"value": 60,
5+
"density": {
6+
"enable": true,
7+
"value_area": 800
8+
}
9+
},
10+
"color": {
11+
"value": "#ffffff"
12+
},
13+
"shape": {
14+
"type": "edge",
15+
"stroke": {
16+
"width": 0,
17+
"color": "#000000"
18+
},
19+
"polygon": {
20+
"nb_sides": 3
21+
},
22+
"image": {
23+
"src": "img/github.svg",
24+
"width": 100,
25+
"height": 100
26+
}
27+
},
28+
"opacity": {
29+
"value": 0.41036325039260685,
30+
"random": true,
31+
"anim": {
32+
"enable": false,
33+
"speed": 1,
34+
"opacity_min": 0.1,
35+
"sync": false
36+
}
37+
},
38+
"size": {
39+
"value": 3,
40+
"random": true,
41+
"anim": {
42+
"enable": true,
43+
"speed": 5,
44+
"size_min": 0.1,
45+
"sync": false
46+
}
47+
},
48+
"line_linked": {
49+
"enable": true,
50+
"distance": 142.0488174435947,
51+
"color": "#ffffff",
52+
"opacity": 0.2209648271344806,
53+
"width": 1
54+
},
55+
"move": {
56+
"enable": true,
57+
"speed": 3,
58+
"direction": "top-right",
59+
"random": false,
60+
"straight": false,
61+
"out_mode": "out",
62+
"bounce": false,
63+
"attract": {
64+
"enable": false,
65+
"rotateX": 600,
66+
"rotateY": 1200
67+
}
68+
}
69+
},
70+
"interactivity": {
71+
"detect_on": "canvas",
72+
"events": {
73+
"onhover": {
74+
"enable": true,
75+
"mode": "grab"
76+
},
77+
"onclick": {
78+
"enable": false,
79+
"mode": "push"
80+
},
81+
"resize": true
82+
},
83+
"modes": {
84+
"grab": {
85+
"distance": 155.83419241926586,
86+
"line_linked": {
87+
"opacity": 0.7932011331444763
88+
}
89+
},
90+
"bubble": {
91+
"distance": 400,
92+
"size": 40,
93+
"duration": 2,
94+
"opacity": 8,
95+
"speed": 3
96+
},
97+
"repulse": {
98+
"distance": 200,
99+
"duration": 0.4
100+
},
101+
"push": {
102+
"particles_nb": 4
103+
},
104+
"remove": {
105+
"particles_nb": 2
106+
}
107+
}
108+
},
109+
"retina_detect": true
110+
}

minjs/particles.min.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)