Skip to content

Commit ca848bd

Browse files
committed
update readme
1 parent 48b9976 commit ca848bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+187
-92
lines changed

README.md

+49-18
File renamed without changes.
File renamed without changes.
57.2 KB
File renamed without changes.
File renamed without changes.
File renamed without changes.

assets/gallery-implicit3-bullhead.jpg

42.6 KB
File renamed without changes.
File renamed without changes.
55.1 KB

assets/gallery-implicit3rt-gamma.jpg

43.2 KB
56.2 KB
59.4 KB
48.3 KB

assets/gallery-meshgen3-bullhead.jpg

42.7 KB

assets/gallery-meshgen3-julia.jpg

67.8 KB

assets/gallery-ode2-cylflow.jpg

82.8 KB

assets/gallery-paramsurf-boysurf.jpg

54.8 KB

assets/gallery-paramsurf-cups.jpg

36.9 KB
File renamed without changes.
36.4 KB
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

assets/img-implicit3rt.jpg

43.3 KB

assets/img-meshgen2.jpg

49.3 KB
File renamed without changes.
File renamed without changes.
File renamed without changes.

home/index.md renamed to assets/index.md

+47-16

home/index.py renamed to assets/index.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import markdown
22
import datetime
33

4-
html = open("home/index_base.html").read()
5-
readme = open("home/readme_base.md").read()
4+
html = open("assets/index_base.html").read()
5+
readme = open("assets/readme_base.md").read()
66

7-
md = open("home/index.md").read()
7+
md = open("assets/index.md").read()
88
# md = '\n'.join([line for line in md.split('\n') if not line.startswith('[//]')])
99

1010
html = html.replace("{%index.md%}", markdown.markdown(md))
11+
html = html.replace('../assets', './assets')
1112
readme = readme.replace("{%index.md%}", md)
1213

1314
now = datetime.datetime.now()

home/index_base.html renamed to assets/index_base.html

+15-10
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="viewport" content="width=device-width, initial-scale=1" />
1010
<link rel="canonical" href="https://harry7557558.github.io/spirulae/" />
1111

12-
<link rel="stylesheet" href="./home/style.css" />
12+
<link rel="stylesheet" href="./assets/style.css" />
1313

1414
<style>
1515
.a {
@@ -24,60 +24,65 @@
2424

2525
<body>
2626

27+
<div id="s" style="position:absolute;top:0;height:0px;"></div>
28+
2729
<div id="container">
2830

2931
<h1 style="text-align:center;margin-bottom:0;">Spirulae:
3032
Web-Based Math Visualization</h1>
3133
<p style="text-align:center;">
32-
<em style="color:#555">by Harry Chen - updated {%date%}</em>
34+
<em style="color:#555">by Harry Chen - page updated {%date%}</em>
3335
<br/>
3436
<a href="https://github.com/harry7557558/spirulae/" target="_blank">GitHub</a>
3537
<a href="https://spirulae.github.io/gallery/">Gallery</a>
3638
</p>
3739

3840
<a href="https://harry7557558.github.io/spirulae/implicit3/" class="a">
39-
<img src="home/img-implicit3.jpg" style="width:100%"></img>
41+
<img src="assets/img-implicit3.jpg" style="width:100%" />
4042
<br/>
4143
3D Implicit Surface Grapher
4244
</a>
4345
<a href="https://harry7557558.github.io/spirulae/paramsurf/" class="a">
44-
<img src="home/img-paramsurf.jpg" style="width:100%"></img>
46+
<img src="assets/img-paramsurf.jpg" style="width:100%" />
4547
<br/>
4648
3D Parametric Surface Grapher
4749
</a>
4850
<a href="https://harry7557558.github.io/spirulae/complex/" class="a">
49-
<img src="home/img-complex.jpg" style="width:100%"></img>
51+
<img src="assets/img-complex.jpg" style="width:100%" />
5052
<br/>
5153
Complex Domain Coloring Grapher
5254
</a>
5355
<a href="https://harry7557558.github.io/spirulae/complex3/" class="a">
54-
<img src="home/img-complex3.jpg" style="width:100%"></img>
56+
<img src="assets/img-complex3.jpg" style="width:100%" />
5557
<br/>
5658
3D Complex Function Grapher
5759
</a>
5860
<a href="https://harry7557558.github.io/spirulae/implicit3-rt/" class="a">
59-
<img src="home/img-implicit3-rt.jpg" style="width:100%"></img>
61+
<img src="assets/img-implicit3rt.jpg" style="width:100%" />
6062
<br/>
6163
Implicit Surface Path Tracer<br />(powerful GPU required)
6264
</a>
6365
<a href="https://harry7557558.github.io/spirulae/meshgen3/" class="a">
64-
<img src="home/img-meshgen3.jpg" style="width:100%"></img>
66+
<img src="assets/img-meshgen3.jpg" style="width:100%" />
6567
<br/>
6668
3D Implicit Mesh Generator (dev)<br /> &nbsp;
6769
</a>
6870
<a href="https://harry7557558.github.io/spirulae/ode2/" class="a">
69-
<img src="home/img-ode2.jpg" style="width:100%"></img>
71+
<img src="assets/img-ode2.jpg" style="width:100%" />
7072
<br/>
7173
2D Vector Field Grapher (dev)
7274
</a>
7375
<a href="https://harry7557558.github.io/spirulae/meshgen2/" class="a">
74-
<img src="home/img-meshgen2.jpg" style="width:100%"></img>
76+
<img src="assets/img-meshgen2.jpg" style="width:100%" />
7577
<br/>
7678
2D to 3D Mesh Generator (dev)
7779
</a>
7880

7981
{%index.md%}
8082

83+
<p style="text-align: center;">
84+
<a href="#s">Back to top</a>
85+
</p>
8186
</div>
8287

8388
</body>

assets/readme_base.md

+7

assets/spirulae-2.jpg

90.8 KB
File renamed without changes.
File renamed without changes.

complex/help.md

+1-1

complex/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<meta name="description"
88
content="Complex domain coloring in 3D. Supports variable and function definition and special functions." />
99
<meta name="keywords" content="complex, function, domain coloring" />
10-
<meta property="og:image" content="../home/gallery-complex-trigs.jpg" />
11-
<link rel="image_src" href="../home/gallery-complex-trigs.jpg" />
10+
<meta property="og:image" content="../assets/gallery-complex-trigs.jpg" />
11+
<link rel="image_src" href="../assets/gallery-complex-trigs.jpg" />
1212

1313
<meta name="viewport" content="width=device-width, initial-scale=1" />
1414
<link rel="canonical" href="https://harry7557558.github.io/spirulae/complex/" />

0 commit comments

Comments
 (0)