Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

Commit 49ed494

Browse files
committed
Requested changes
1 parent 7f133e7 commit 49ed494

File tree

9 files changed

+26
-9
lines changed

9 files changed

+26
-9
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,20 @@ This is the repository for example [p5.js](https://github.com/lmccart/p5.js/) co
55
The original [Processing](http://processing.org) examples [can be found here](https://github.com/shiffman/The-Nature-of-Code-Examples), along with a [list of other ports](https://github.com/shiffman/The-Nature-of-Code-Examples/blob/master/README.md).
66

77

8+
## Installation Instruction
9+
10+
To run these examples you have to use a local server.
11+
12+
For more information on how to use a local server,Please visit following links.
13+
14+
[Local Server Guide](https://github.com/processing/p5.js/wiki/Local-server)
15+
[p5.js Workflow](https://www.youtube.com/watch?v=HZ4D3wDRaec)
16+
[Local Server,Text Editor,Console](https://www.youtube.com/watch?v=UCHzlUiDD10)
17+
18+
19+
## Note
20+
21+
*I have specifically set the link attribute to "//" to support both http and https protocol while fetching p5.js library.This is intended and not a bug.*
22+
23+
24+

chp00_introduction/NOC_I_01_RandomWalkTraditional/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
2+
<script language="javascript" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
33
<script language="javascript" type="text/javascript" src="sketch.js"></script>
44
<title> Random Walk Traditional </title>
55
</head>

chp00_introduction/NOC_I_02_RandomDistribution/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
2+
<script language="javascript" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
33
<script language="javascript" type="text/javascript" src="sketch.js"></script>
44
<title>Random Distribution</title>
55
</head>

chp00_introduction/NOC_I_03_RandomWalkTendsToRight/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
2+
<script language="javascript" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
33
<script language="javascript" type="text/javascript" src="sketch.js"></script>
44
<title>Random Walks Tends to right</title>
55
</head>

chp00_introduction/NOC_I_04_Gaussian/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
2+
<script language="javascript" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
33
<script language="javascript" type="text/javascript" src="sketch.js"></script>
44
<title> Gaussian Distribution</title>
55
</head>

chp00_introduction/NOC_I_05_NoiseWalk/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
2+
<script language="javascript" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
33
<script language="javascript" type="text/javascript" src="noise.js"></script>
44
<script language="javascript" type="text/javascript" src="sketch.js"></script>
55
<title>Noise Walk</title>

chp00_introduction/Noise 2D/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
2+
<script language="javascript" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
33
<script language="javascript" type="text/javascript" src="sketch.js"></script>
44
<title>Noise 2D</title>
55
</head>

chp00_introduction/Noise1D/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
2+
<script language="javascript" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
33
<script language="javascript" type="text/javascript" src="sketch.js"></script>
44
<title>Noise 1D</title>
55
</head>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<html>
22
<head>
3-
<script language="javascript" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
3+
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.js"></script>
44
<script language="javascript" type="text/javascript" src="sketch.js"></script>
55
</head>
66

77
<body>
88
</body>
9-
</html>
9+
</html>

0 commit comments

Comments
 (0)