Skip to content

Commit 6351abe

Browse files
authored
Merge pull request #121 from CreativeCodeBerlin/hostOpenProcessingSketch
Add openprocessing sketch Use relative URLs for projects, so netlify preview shows them correctly. Enlarge Deniz' work to avoid black bands on the sides.
2 parents 09e876d + 11a2580 commit 6351abe

4 files changed

Lines changed: 571 additions & 6 deletions

File tree

assets/projects.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default [
22
{
3-
"url": "https://creativecode.berlin/shadertoys/?shader=wsB3Rt",
3+
"url": "/shadertoys/?shader=wsB3Rt",
44
"author": "Kazik",
55
"author_url": "https://xemantic.com/",
66
"color": "black",
@@ -18,17 +18,17 @@ export default [
1818
"author": "Deniz Biçer",
1919
"author_url": "https://instagram.com/ojelibalon",
2020
"color": "black",
21-
"scale": "1.85",
21+
"scale": "2.0",
2222
},
2323
{
24-
"url": "https://openprocessing.org/sketch/886902/embed/",
24+
"url": "/projects/openprocessing-886902/",
2525
"author": "Boy d'Hont",
2626
"author_url": "https://bdhont.net/",
2727
"color": "white",
2828
"scale": "1.75",
2929
},
3030
{
31-
"url": "https://creativecode.berlin/shadertoys/?shader=tfVXz1",
31+
"url": "/shadertoys/?shader=tfVXz1",
3232
"author": "aBe",
3333
"author_url": "https://hamoid.com",
3434
"color": "black",
@@ -42,7 +42,7 @@ export default [
4242
"scale": "1",
4343
},
4444
{
45-
"url": "https://creativecode.berlin/shadertoys/?shader=3slGRH",
45+
"url": "/shadertoys/?shader=3slGRH",
4646
"author": "Kazik",
4747
"author_url": "https://xemantic.com/",
4848
"color": "black",
@@ -70,7 +70,7 @@ export default [
7070
"scale": "1"
7171
},
7272
{
73-
"url": "https://creativecode.berlin/shadertoys/?shader=lX3XWl",
73+
"url": "/shadertoys/?shader=lX3XWl",
7474
"author": "Matthias Meissen",
7575
"author_url": "https://www.instagram.com/matthiasmeissen/",
7676
"color": "black",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<html>
2+
<head>
3+
<script src="main.js" type="text/javascript"></script><script src="lunar.js" type="text/javascript"></script><script src="https://cdn.jsdelivr.net/npm/p5@1.0.0/lib/p5.js" type="text/javascript"></script>
4+
</head>
5+
<body>
6+
</body>
7+
8+
</html>

0 commit comments

Comments
 (0)