-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
755 lines (724 loc) Β· 32.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
<!DOCTYPE html>
<html lang="en" class="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>p5play</title>
<link rel="icon" href="/assets/p5play_logo.svg">
<meta name="description"
content="p5play is a JavaScript game engine that uses p5.js for graphics and Box2D for physics!">
<meta property="og:title" content="p5play">
<meta property="og:type" content="website">
<meta property="og:url" content="https://p5play.org">
<meta property="og:image" content="/assets/p5play_brand.webp">
<meta property="og:description"
content="p5play is a JavaScript game engine that uses p5.js for graphics and Box2D for physics!">
<link rel="preconnect" href="https://www.googletagmanager.com/">
<link rel="stylesheet" href="/learn/style.css">
<link rel="stylesheet" href="/index.css">
</head>
<body id="home" class="dark">
<article>
<nav id="topNav">
<a id="learn" href="learn">Learn</a>
<a id="pro" href="pro">Pro</a>
<a id="play" href="play">Play</a>
<a id="jam" href="jam">Jam</a>
<a id="teach" href="teach">Teach</a>
<hr>
<a id="darkMode" onclick="toggleDarkMode()" tabindex="0" role="button" title="dark mode toggle">
<div id="darkModeIcon"></div>
</a>
<a id="accountIcon" href="../account">
<svg viewBox="0 0 20 20">
<path
d="M16.563 18H3.438c-.706 0-1.228-.697-.961-1.338C3.713 13.698 6.617 12 10 12c3.384 0 6.288 1.698 7.524 4.662.267.641-.255 1.338-.961 1.338M5.917 6c0-2.206 1.832-4 4.083-4 2.252 0 4.083 1.794 4.083 4S12.252 10 10 10c-2.251 0-4.083-1.794-4.083-4m14.039 11.636c-.742-3.359-3.064-5.838-6.119-6.963 1.619-1.277 2.563-3.342 2.216-5.603-.402-2.623-2.63-4.722-5.318-5.028C7.023-.381 3.875 2.449 3.875 6c0 1.89.894 3.574 2.289 4.673-3.057 1.125-5.377 3.604-6.12 6.963C-.226 18.857.779 20 2.054 20h15.892c1.276 0 2.28-1.143 2.01-2.364"
fill="#000" fill-rule="evenodd"></path>
</svg>
</a>
</nav>
<div class="nav-spacer"></div>
<nav id="langNav">
<a href="/" lang="en" class="active" title="English">English</a>
<!-- <a href="/lang/zh" lang="zh" title="Chinese">δΈζ</a> -->
<a href="/lang/es" lang="es" title="Spanish">EspaΓ±ol</a>
<a href="/lang/ja" lang="ja" title="Japanese">ζ₯ζ¬θͺ</a>
</nav>
</article>
<div id="reels">
<div id="reel0" class="reel">
<video src="https://quinton-ashley.github.io/p5play-assets/reel0.mp4"
poster="https://quinton-ashley.github.io/p5play-assets/thumb0.jpg" autoplay="" loop="" playsinline=""
muted=""></video>
<div id="page0" class="page">
<div id="bigBrand">
<a href="https://youtu.be/w7pcWNUZjDs" class="logoLink active" target="_blank">p5play</a>
</div>
<div id="bigLogo">
<a href="https://youtu.be/w7pcWNUZjDs" title="play video!" target="_blank">
<img alt="p5play logo" src="/assets/p5play_logo.svg" class="p5play_logo">
</a>
</div>
<div id="bigInfo">
<md id="md0">
<h3 id="is-powerful">is powerful!</h3>
<h3 id="is-a-js-game-engine">is a JS game engine.</h3>
<h3 id="uses-q5js-for-graphics">uses <a href="http://q5js.org/" target="_blank">q5.js</a> for
graphics</h3>
<h3 id="is-easy-to-learn">is easy to learn!</h3>
<h3 id="uses-box2d-for-physics">uses <a href="https://piqnt.com/planck.js/"
target="_blank">Box2D</a> for physics</h3>
<h3 id="is-powerful-1">is powerful!</h3>
</md>
</div>
</div>
</div>
<div id="reel1" class="reel">
<video src="https://quinton-ashley.github.io/p5play-assets/reel1.mp4"
poster="https://quinton-ashley.github.io/p5play-assets/thumb1.jpg" loop="" playsinline=""
muted=""></video>
<div id="page1" class="page">
<div class="minis horiz">
<md id="md1">
<p><a href="https://github.com/quinton-ashley/p5play" target="_blank">p5play</a> uses the same
<a href="https://piqnt.com/planck.js/" target="_blank">Box2D</a> physics simulator that
powers beloved games!</p>
</md>
<div class="apps">
<div class="app">
<img src="/assets/app_icons/tiny_wings.webp" alt="tiny wings app icon">
<p>Tiny Wings</p>
</div>
<div class="app">
<img src="/assets/app_icons/shovel_knight.webp" alt="shovel knight app icon">
<p>Shovel Knight</p>
</div>
<div class="app">
<img src="/assets/app_icons/limbo.webp" alt="limbo app icon">
<p>Limbo</p>
</div>
<div class="app">
<img src="/assets/app_icons/happy_wheels.webp" alt="happy wheels app icon">
<p>Happy Wheels</p>
</div>
<div class="app">
<img src="/assets/app_icons/angry_birds.webp" alt="angry birds app icon">
<p>Angry Birds</p>
</div>
</div>
</div>
<script type="mie/p5" id="interactive-physics-demo" hide-editor="">
let tumbler, x, y, sides, len, angle;
function setup() {
new Canvas(500, 350);
world.gravity.y = 10;
x = canvas.w * 0.5;
y = canvas.h * 0.5;
sides = 5;
len = 75;
angle = 360 / sides;
let la = [len, angle, len, -angle, len, angle, sides];
tumbler = new Sprite(x, y, la, 'kinematic');
tumbler.rotationSpeed = 0.5;
tumbler.color = '#ff0a52';
tumbler.strokeWeight = 8;
dropSprite();
strokeJoin(ROUND);
}
function draw() {
clear();
if (mouse.presses()) dropSprite();
}
function dropSprite() {
len = (height * random(0.1, 0.3)) / sides;
let penta = new Sprite(mouse.x || x, mouse.y || y, len, 'pentagon');
penta.color = '#b7ebff';
}
</script>
</div>
</div>
<div id="reel2" class="reel">
<video src="https://quinton-ashley.github.io/p5play-assets/reel2.mp4"
poster="https://quinton-ashley.github.io/p5play-assets/thumb2.jpg" loop="" playsinline=""
muted=""></video>
<div id="page2" class="page">
<div class="full">
<md id="md2">
<p><a href="https://github.com/quinton-ashley/p5play" target="_blank">p5play</a> was designed by
Computer Science teachers to be intuitive for beginners, making it popular at schools and
universities around the world. <a href="learn/sprite.html" target="_blank">Learn p5play</a>
to level up your CS skills!</p>
</md>
</div>
<div id="usedBy">
<div id="user-brands">
<a id="girlswhocode-brand" href="https://girlswhocode.com/" target="_blank">
<img src="/assets/brands/girlswhocode_brand.svg" alt="Girls Who Code">
</a>
<a id="strive-brand" href="https://www.strivemath.com/">
<img src="/assets/brands/strive_brand.webp" alt="Strive Math">
</a>
<a id="nyuitp-brand"
href="https://creative-coding.decontextualize.com/making-games-with-p5-play/"
target="_blank">
<img src="/assets/brands/nyuitp_brand.svg" alt="NYU Tisch">
</a>
<a id="tmu-brand"
href="https://www.youtube.com/watch?v=ZQ23FHfgA0A&list=PLLx7jIm38p9lXfNW3_PyXCfTNOiaP4vF0&index=18"
target="_blank">
<img src="/assets/brands/tmu_brand.svg" alt="Toronto Metropolitan University">
</a>
<a id="dalton-brand" href="https://www.dalton.org/">
<img src="/assets/brands/dalton_brand.webp" alt="The Dalton School">
</a>
<a id="depaul-brand"
href="https://www.cdm.depaul.edu/academics/pages/courseinfo.aspx?Subject=GAM&CatalogNbr=240"
target="_blank">
<img src="/assets/brands/depaul_brand.webp" alt="DePaul">
</a>
<a id="hunter-brand" href="https://hunter.cuny.edu/" target="_blank">
<img src="/assets/brands/hunter_brand.svg" alt="HUNTER">
</a>
<a id="cmu-brand" href="https://www.cmu.edu" target="_blank">
<img src="/assets/brands/cmu_brand.webp" alt="Carnegie Mellon University">
</a>
<a id="lsu-brand" href="https://pdm.lsupathways.org/2_graphics/" target="_blank">
<img src="/assets/brands/lsu_brand.svg" alt="LSU DDEM">
</a>
<a id="codehs-brand" href="https://codehs.com/course/gamedesign_p5play/overview"
target="_blank">
<img src="/assets/brands/codehs_brand.webp" alt="CodeHS">
</a>
<a id="ttu-brand" href="https://wreckem.itch.io/p5play-games" target="_blank">
<img src="/assets/brands/ttu_logo.webp" alt="Texas Tech University">
</a>
<a id="codeorg-brand" href="https://code.org/educate/gamelab" target="_blank">
<img src="/assets/brands/codeorg_brand.svg" alt="CODE.org">
</a>
</div>
</div>
</div>
</div>
<div id="reel3" class="reel">
<video src="https://quinton-ashley.github.io/p5play-assets/reel3.mp4"
poster="https://quinton-ashley.github.io/p5play-assets/thumb3.jpg" loop="" playsinline=""
muted=""></video>
<div id="page3" class="page">
<div>
<md id="md10">
<h2 id="join-the-community-πΎ">Join the community πΎ</h2>
<p>Ask questions, meet people, and share your games made with p5play on our <a
href="https://discord.gg/EJwnJATmj7" target="_blank">community Discord server</a>.</p>
</md>
<div id="socials">
<a id="discord-brand" href="https://discord.gg/3UTbqUgmPF" target="_blank">
<img id="discord-brand" src="/assets/brands/discord_brand.svg" alt="Discord brand">
</a>
<a id="youtube-brand" href="https://www.youtube.com/@p5play-game-dev/featured" target="_blank">
<img id="youtube-brand" src="/assets/brands/youtube_brand.svg" alt="YouTube brand">
</a>
</div>
</div>
<div>
<md id="md11">
<h2 id="support-this-project-π€">Support this project π€</h2>
<p>p5play is open source and free to use under the <a
href="https://github.com/quinton-ashley/p5play/blob/main/LICENSE.md"
target="_blank">AGPLv3</a>. For typical use in schools, see the <a href="teach"
target="_blank">Teach</a> page.</p>
<p>Unlock exclusive content by becoming a <a href="pro" target="_blank">Pro member</a>!</p>
</md>
<div id="support">
<a id="patreon-brand" href="https://www.patreon.com/p5play"
aria-label="Patreon page for p5play">
<img src="/assets/brands/patreon_logo.webp" alt="" height="42px">
<img src="/assets/brands/patreon_brand.webp" alt="Patreon" height="28px">
</a>
<a id="github-brand" href="https://github.com/sponsors/quinton-ashley"
aria-label="GitHub Sponsors for p5play" title="GitHub Sponsors">
<img src="/assets/brands/github_logo.svg" alt="" height="42px">
<img src="/assets/brands/github_brand.webp" alt="Github" height="42px">
</a>
</div>
</div>
<div>
<md id="md12">
<h2 id="no-installation-required-π€©">No installation required π€©</h2>
<p>Works great on iPads and Chromebooks! Start creating your own p5play project with an online
code editor.</p>
</md>
<div id="editors">
<a href="https://aijs.io/editor?user=quinton-ashley&project=p5play_starter" target="_blank">
<img id="aijs-brand" src="/assets/brands/aijs_brand.svg" alt="aijs brand">
</a>
<a href="https://openprocessing.org/sketch/1717172" target="_blank">
<img alt="OpenProcessing logo" id="openprocessing-brand"
src="/assets/brands/openprocessing_brand.webp" height="40px">
<span class="bariol">OpenProcessing</span>
</a>
<a href="https://editor.p5js.org/quinton-ashley/sketches/szN_XdV5O" target="_blank">
<img alt="p5.js web editor logo" class="p5js-web-editor-logo"
src="/assets/brands/p5js_logo.webp">
<img alt="p5.js web editor brand" class="p5js-web-editor-brand"
src="/assets/brands/p5js_brand.svg">
</a>
<a href="https://code.strivemath.com/projects/fcb1f85f-d20d-49c1-8820-083eb1092de7"
target="_blank">
<img alt="Strive editor" class="strive-editor-brand"
src="/assets/brands/strive-editor_brand.webp">
</a>
</div>
</div>
<div>
<md id="md13-0">
<h2 id="local-development-π¨">Local Development π¨</h2>
<p>You can <a href="https://github.com/quinton-ashley/p5play-template" target="_blank">use
p5play offline</a> or use these tags in your HTML to always get the latest version.</p>
</md>
<textarea id="lib-links" aria-label="link tags for p5play and its dependencies" rows="4"><script src="https://q5js.org/q5.js"></script>
<script src="https://p5play.org/v3/planck.min.js"></script>
<script src="https://p5play.org/v3/p5play.js"></script></textarea>
<div id="local">
<a id="vscode-brand" href="https://github.com/quinton-ashley/p5play/wiki/Get-Started"
target="_blank">
<img id="vscode-logo" src="/assets/brands/vscode_logo.svg" alt="vscode logo">
<span class="segoe">VSCode</span>
</a>
<a id="npm-brand" href="https://www.npmjs.com/package/p5play" target="_blank">
<img src="/assets/brands/npm_brand.svg" alt="npm brand">
</a>
</div>
</div>
</div>
</div>
<div id="reel5" class="reel">
<div id="page5" class="page">
<div class="break"></div>
<h1 id="reviews-h1">Reviews</h1>
</div>
<div id="reviews" class="page">
<div>
<md id="r00" class="testimonial-text">
<p>βI was looking at the new p5play (v3) yesterday and realized it had been so long since I
tried it! I didn't realize it had physics built into it. I would LOVE to make some videos
with it. This is such wonderful work, thank you for supporting the community in this way!β
</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/daniel_shiffman.webp" alt="Daniel">
<div>
<div class="name">Daniel Shiffman</div>
<div>Professor at <a href="https://tisch.nyu.edu/about/directory/itp/1984778605"
target="_blank">NYU</a>
</div>
<div>YouTuber at</div>
<div>
<a href="https://www.youtube.com/@TheCodingTrain" target="_blank">The Coding Train</a>
</div>
</div>
</div>
</div>
<div>
<md id="r10" class="testimonial-text">
<p>βI have found the p5play library to be an invaluable resource for introducing students to
game design and development. Our team chose to use this library for our Game Design Summer
Program due to its many customizable features, well documented resources, and easy-to-use
API which make it accessible for students of all ages and skill levels.</p>
<p>Due to the many methods and properties included in this library, students are able to quickly
bring their game visions to life with code. These games range from basic catcher games to
games with multiple levels and challenging features.</p>
<p>In addition to the library's well-documented resources, p5play offers a wealth of support and
inspiration for the students and teachers in their community. This includes their
interactive learn pages that allow students to tinker with different properties and methods
in the library, their tri-annual Game Jam event, and their Discord channel filled with many
great resources and opportunities to find support.</p>
<p>Our Girls Who Code team highly recommends this library to anyone interested in game
development. We can't wait to see all of the games our students create this summer with this
incredible library!β</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/ashley_goetz.webp" alt="Ashley">
<div>
<div class="name">Ashley Goetz</div>
<div>Curriculum Developer at</div>
<div>
<a href="https://girlswhocode.com/" target="_blank">Girls Who Code</a>
</div>
</div>
</div>
</div>
<div>
<md id="r20" class="testimonial-text">
<p>βI recently got a chance to work with Quinton and do a deep dive into the p5play library.
Video game design is such a
great entrypoint for engaging students in programming projects, while introducing them to
the structure of object
oriented programming in p5. I can't wait to see what my students create with this!β</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/christina_tobajas.webp" alt="Christina">
<div>
<div class="name">Christina Tobajas</div>
<div>Teacher at</div>
<div><a href="https://www.nightingale.org/" target="_blank">The Nightingale-Bamford
School</a></div>
</div>
</div>
</div>
<div>
<md id="r30" class="testimonial-text">
<p>βI absolutely love what you've done with the Learn pages, what a cool reference for important
sprite properties, looking forward to seeing more of that. Digging through the source a bit
I'd say [p5play v3] retains a ton of the appeal of earlier versions and I was able to orient
pretty quick.β</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/brad_buchanan.webp" alt="Brad">
<div>
<div class="name">Bradley C Buchanan</div>
<div>
Software Manager at
<a href="https://discord.com" target="_blank">Discord</a>
</div>
<div>
Former Software Manager at
<a href="https://google.com" target="_blank">Google</a>
</div>
<div>
Former Software Manager at
<a href="https://code.org/" target="_blank">Code.org</a>
</div>
</div>
</div>
</div>
<div>
<md id="r40" class="testimonial-text">
<p>βI added a unit centered on p5play to my Artistic Coding and Game Design curriculum as a way
to tease object oriented programming. Students quickly adapted to sprites and groups and
were beyond excited about all the interactivity built into p5play. Through games, students
were able to solidify their understanding of properties and methods without even realizing
they were learning some of the core concepts of object oriented programming.</p>
<p>My students spent time making games using the p5play library and were immensely proud of
their accomplishments. Since we have used p5play, my students are now better able to
understand classes and have even written some of their own!β</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/marisa_shuman.webp" alt="Marisa">
<div>
<div class="name">Marisa Shuman</div>
<div>Computer Science Teacher at</div>
<div>
<a href="https://tywlsbronx.org" target="_blank">The Young Women's Leadership School of
the
Bronx</a>
</div>
</div>
</div>
</div>
<div>
<md id="r50" class="testimonial-text">
<p>βI've been using variations of p5play for several years in my middle school CS class. While
it was serviceable before, it was nothing like what you've done with version 3. I LOVE it!
Even my younger students can be successful and learn basic coding concepts because they
don't really need to know all the math and physics behind the code now. Plus everything is
consistent and streamlined so new ideas make sense. Then there's your amazing new website
with so many easy to understand examples. I can send my advanced students directly to the
p5play website and they can just explore and build anything they want. Thank you so much for
all your work!β</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/nathan_king.webp" alt="Nathan">
<div>
<div class="name">Nathan King</div>
<div>Middle School Teacher in</div>
<div>
Ventura, CA
</div>
</div>
</div>
</div>
<div>
<md id="r60" class="testimonial-text">
<p>βp5play has been a great addition to our curriculum. It has allowed us to explore a more
creative outlet for learning object orientated programming and has been invaluable in their
students projects for their exams.</p>
<p>Since introducing p5 and p5play we have seen an uptake of over 100% for students and are now
seeing huge benefits to students learning. I would highly recommend introducing p5 &
p5play into your curriculum. We have now developed a bespoke series of video tutorials to
allow more schools and colleges in the UK to introduce p5play to their curriculum.β</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/rhys_drury.webp" alt="Rhys">
<div>
<div class="name">Rhys Drury</div>
<div>Head of Computing at</div>
<div>
<a href="https://www.wyke.ac.uk" target="_blank">Wyke Sixth Form College, UK</a>
</div>
</div>
</div>
</div>
<div>
<md id="r70" class="testimonial-text">
<p>βThank you so much for all the work Quinton. With this proper physics integration, I may
start using p5play again in my classes!β</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/paolo_pedercini.webp" alt="Paolo">
<div>
<div class="name">Paolo Pedercini</div>
<div>Creator of p5.play v1</div>
<div>
Professor at
<a href="https://www.cmu.edu" target="_blank">Carnegie Mellon</a>
</div>
</div>
</div>
</div>
<div>
<md id="r80" class="testimonial-text">
<p>βOverall, I can't recommend p5play enough. It has provided an incredibly easy way to take my
game development skills to the next level without having to learn some complicated game
development software. Whether you're a seasoned developer or just starting out, I think
you'll find that p5play is a valuable tool to have in your arsenal.β</p>
</md>
<div class="testimonial-bio">
<img src="/assets/bios/nathan_anil.webp" alt="Nathan">
<div>
<div class="name">Nathan Anil</div>
<div>Founder at</div>
<div>
<a href="https://codera.app" target="_blank">Codera.app</a>
</div>
</div>
</div>
</div>
<div class="minis">
<md id="r90" class="testimonial-text">
<p>βUsing the library p5play in JavaScript in order to make graphical programs is a lot better
then learning Python, because you get to see your program code influence something on
screen.β - Student at Wyke</p>
</md>
<md id="r100" class="testimonial-text">
<p>βLearning p5play has really helped me get more interested in coding, as it makes creating
games very easy. It makes the process less time consuming and more fun!β - Student at Wyke
</p>
</md>
</div>
<div class="minis">
<md id="r110" class="testimonial-text">
<p>βI've used Tkinter in Python, which was useful to make basic applications. However, now using
p5play we can make far more advanced games that are interesting and practical.β - Student at
Wyke</p>
</md>
<md id="r120" class="testimonial-text">
<h2 id="let-us-know-what-you-think-π">Let us know what you think! π</h2>
<p>Send your review of p5play to <a href="mailto:info@p5play.org"
target="_blank">info@p5play.org</a></p>
</md>
</div>
</div>
<div class="page">
<div class="break"></div>
</div>
</div>
<div id="reel6" class="reel">
<div class="page">
<div class="spacer"></div>
<md id="md15">
<h2 id="created-by-quinton-ashley">Created by Quinton Ashley</h2>
<p>Quinton Ashley is a Computer Science educator with a passion for game design and 7 years of
teaching experience!</p>
</md>
</div>
</div>
<div id="reel7" class="reel">
<div class="page">
<div class="break"></div>
<div class="full">
<md id="md14">
<h2 id="join-50000-active-users">Join +50,000 active users!</h2>
<h3 id="get-started-with-our-interactive-learn-pages"><a href="learn" target="_blank">Get
started with our interactive Learn pages.</a></h3>
</md>
</div>
<div class="break"></div>
<h1 id="more-info">More Info</h1>
<md id="md17-0" class="closed">
<h2 id="why-do-computer-science-educators-love-p5play-π">Why do Computer Science educators love
p5play?! π</h2>
<p>p5play makes Object Oriented Programming tangible. Changing the properties of game objects called
<a href="../learn/sprite.html" target="_blank">sprites</a> produces immediate visual feedback.
</p>
<p>p5play is a natural addition to <a href="https://p5js.org/" target="_blank">p5.js</a> based
curriculum, which is already popular in schools.</p>
<p>Also, since it doesn't require a bespoke game editor, students gain transferrable, text based
coding skills.</p>
<p>See the <a href="teach" target="_blank">Teach</a> page for more information.</p>
</md>
<md id="md17-1" class="closed">
<h2 id="why-should-students-learn-p5play-π€">Why should students learn p5play? π€</h2>
<p>Every EdTech company claims their "easy and fun to use" software empowers students to "realize
their creative potential", but often it's just marketing fluff.</p>
<p>If these platforms are so fun and creatively empowering, why are students only using them to
complete assignments?</p>
<p>p5play makes the art of game design more accessible, without being reductive. We believe in
rewarding students for learning the basics by enabling them to go beyond.</p>
<p>Check out the incredible games that students have <a href="../play" target="_blank">made with
p5play</a>!</p>
</md>
<md id="md17-2" class="closed">
<h2 id="what-about-scratch-π―">What about Scratch? π―</h2>
<p><a href="https://scratch.mit.edu/" target="_blank">Scratch</a> is great for students ages 8-11,
but older students have higher expectations that Scratch can't meet.</p>
<p>Scratch has no built-in physics engine. That means even something like a ball rolling down a
slope, requires a lot of math and is incredibly tedious to implement in Scratch's block based
environment.</p>
<p>Many of the featured games on the Scratch website were evidently made by adults. That can give
students false hope that they can make something similar.</p>
<p>With p5play, students don't have to write their own boilerplate code for basic functionality.
They can focus on the fun parts of game design!</p>
</md>
<md id="md17-3" class="closed">
<h2 id="why-was-p5play-created-π¨">Why was p5play created? π¨</h2>
<p>p5play was created to definitively bridge the gap between Scratch and more complex game engines
like Unity.</p>
<p>In p5play, sprites can have <a href="../learn/sprite.html?page=1" target="_blank">physics
colliders</a> and display <a href="../learn/animation.html" target="_blank">animations</a>.
Multiple <a href="../learn/input_devices.html" target="_blank">input devices</a> are supported,
including keyboard, mouse, game controllers, and touch screens. <a href="../learn/Group.html"
target="_blank">Groups</a> enable novice programmers to harness the power of class
inheritance.</p>
<p><strong>"Only the best is good enough"</strong><br>Ole Kirk Christiansen, founder of LEGO</p>
<p>I don't believe in skimping on quality to make something "just for kids". p5play isn't merely a
stepping stone, its elegant API makes it a joy to use for all.</p>
<p>Whether you're a beginner, hobbyist, or professional developer: p5play was created for you!</p>
</md>
<md id="md17-4" class="closed">
<h2 id="can-i-use-p5play-for-free-π">Can I use p5play for free? π</h2>
<p>p5play is open source and <a
href="https://github.com/quinton-ashley/p5play-web/blob/main/LICENSING.md"
target="_blank">multi-licensed</a>. It can only be used for free under the terms of the <a
href="https://github.com/quinton-ashley/p5play/blob/main/LICENSE.md"
target="_blank">AGPLv3</a>.</p>
<p>Acceptable free use of p5play includes:</p>
<ul>
<li>teaching a free class that's open to the general public</li>
<li>in curriculum that is freely available to the public</li>
<li>posting a tutorial video on YouTube, even if it's monetized (protected by fair use)</li>
<li>developing a game that is not monetized</li>
<li>publishing a game that's open source</li>
</ul>
<p>Typical use by schools and commercial game developers requires a proprietary license. See the <a
href="pro" target="_blank">Pro</a> or <a href="teach" target="_blank">Teach</a> pages for
more information.</p>
</md>
<md id="md17-5" class="closed">
<h2 id="can-i-see-some-demos-π">Can I see some demos? π</h2>
<p>Take a look at the student projects featured on the <a href="play/index.html"
target="_blank">Play page</a>!</p>
<p>Also check out <a href="https://openprocessing.org/user/350295?o=35&view=sketches"
target="_blank">@quinton-ashley</a> on OpenProcessing and the #share channel on <a
href="https://discord.gg/EJwnJATmj7" target="_blank">p5play's community Discord</a> to see
what people are making with p5play.</p>
</md>
<md id="md17-6" class="closed">
<h2 id="credits-βοΈ">Credits βοΈ</h2>
<p>p5play (version 3) was created by Quinton Ashley.</p>
<p>Huge thanks to everyone that's helped with p5play! π</p>
<p>Paolo Pedercini, creator of p5.play (version 1), who trusted me to take over the project.</p>
<p>Erin Catto, creator of the Box2D physics simulator.</p>
<p>Ali Shakiba, creator of planck.js, a JavaScript port of Box2D used behind the scenes by p5play.
</p>
<p>Contributors: @Tezumie, Oliver Zell, Caleb Foss, and Bobby S.</p>
<p>Testers and bug reporters: Lachlan Noble, Raj Raizada, Nathan Anil, Chayarat Wangweera, Zhiyuan
Guo, Aarnav Gupta, and Carter Noa.</p>
</md>
<md id="md17-7" class="closed">
<h2 id="special-thanks-π">Special Thanks π</h2>
<p>I want to start by thanking my parents for their support and for enrolling me in coding classes
when I was a kid! I also want to thank my wife, Victoria, and daughter, Luna, for their support
and encouragement. π</p>
<p>In addition, I appreciate the Colombian government π¨π΄ of Gustavo Petro for giving extended
visas to digital nomads. If I still lived in US, p5play probably wouldn't exist. I couldn't
afford to spend countless hours on a passion project like this one.</p>
</md>
<div class="break"></div>
</div>
</div>
<footer id="ft" class="text-small">
<p>p5play.org was created by Quinton Ashley. Copyright Β©2022-2024. <a href="mailto:info@p5play.org"
target="_blank">info@p5play.org</a> Looking for the <a
href="https://quinton-ashley.github.io/p5play-web-archive/v2" target="_blank">legacy version</a> of
p5play?</p>
</footer>
</div>
<script src="/v3/q5.min.js"></script>
<script src="/v3/planck.min.js"></script>
<script src="/v3/p5play.min.js"></script>
<script>
Q5.canvasOptions.alpha = true;
</script>
<script src="/learn/mie.js"></script>
<script src="/learn/main.js"></script>
<script>
document.querySelectorAll('md.closed').forEach(md => {
md.onclick = () => md.classList.toggle('closed');
});
let userPaused = false;
const reels = document.querySelectorAll(".reel");
for (let i = 0; i < 4; i++) {
let reel = reels[i];
reel.addEventListener("click", (e) => {
if (e.target.tagName != 'DIV') return;
userPaused = !userPaused;
for (let r of reels) {
let vid = r.children[0];
if (vid.tagName == 'VIDEO') {
if (userPaused) vid.pause();
else vid.play();
}
}
});
}
if (window.innerHeight < 1500) {
const options = {
root: null,
rootMargin: "0px",
threshold: 0.25
};
const observer = new IntersectionObserver((entries, observer) => {
for (const entry of entries) {
if (entry.isIntersecting) {
const vid = entry.target.children[0];
if (vid.tagName == 'VIDEO' && !userPaused) vid.play();
} else {
const vid = entry.target.children[0];
if (vid.tagName == 'VIDEO') vid.pause();
}
}
}, options);
for (const reel of reels) {
observer.observe(reel);
}
} else {
// play videos if mouse hovers over reel
for (const reel of reels) {
reel.addEventListener("mouseenter", () => {
const vid = reel.children[0];
if (vid.tagName == 'VIDEO' && !userPaused) vid.play();
});
reel.addEventListener("mouseleave", () => {
const vid = reel.children[0];
if (vid.tagName == 'VIDEO') vid.pause();
});
}
}
window.onload = function() {
const r = document.querySelectorAll('#reviews > div');
const rc = document.getElementById('reviews');
rc.scrollLeft = r[0].offsetLeft;
}
</script>
</body>
</html>