Skip to content

Commit 342e416

Browse files
authored
Update README.md
1 parent 70d3355 commit 342e416

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ If you create some nice stuff with p5.scribble,js, which could fit in the exampl
3939
<script language="javascript" type="text/javascript" src="/path/to/p5.scribble.js"></script>
4040

4141
## Create an instance
42-
var scribble = new Scribble();
42+
var scribble = new Scribble(); // global mode
43+
var scribble = new Scripple( p5Instance ); // instance mode
44+
45+
You can use p5js and p5.scribble.js in global or instance mode.
46+
Just put in the p5 instance to the constructur for instance mode or let it empty for global mode.
4347

4448
## Lines
4549

0 commit comments

Comments
 (0)