A High School Computer Science Curriculum using p5.js
This curriculum is being revised as we port it to Gitbooks (forgive any formatting issues) - stay tuned for all content to eventually make its way here! If you are viewing this curriculum from Github, we certainly recommend viewing on the much prettier Gitbooks.
This curriculum was developed by the NYCDOE CS4All academics team (Josรฉ Olivares, EJ Park) with lead writer Luisa Pereira. Additional contributors to the curriculum include Courtney Morgan ๐โโ๏ธ & Josรฉ Orea (teacher implementation guide and additional activities), Esther Hersh, and the Processing Foundation. Curricular reorganization, rewrites, and extras developed by Courtney Morgan. All lessons are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license License: CC BY-NC-SA 4.0. For more info on the limitations and use of materials under this license please click here.
AP CSP and ICM
While this is an introductory computer science course, it can serve as a terrific AP Computer Science Principles Prep course. Please use the guides below to assist if you are a teacher whose students will eventually take AP CSP, or who is just looking to broaden the content covered within this course:
If you use the Peblio Platform, you can find all teacher-facing lessons and materials for the ICM curriculum below. You can find the student-facing version of worksheets here.
Peblio pages contain executable code, text, slides, videos and more. They are useful for creating and sharing programming worksheets and documenting programming projects. See this guide for detailed instructions:
โComputer Science with Ms. Morgan - most of the ICM curriculum presented as YouTube videos, modified for and filmed during pandemic remote learning.
โThe Coding Trโain - The coding train is an amazing resource for p5 instructional videos. Dan Shiffman is amazing and you can learn anything from his channel.
โOpen Processing: A web editor with a lot of cool examples from the community
โCodepen: A front end web editor with cool examples (although mostly not p5)
โRepl.it: An online web editor for any language with classroom tools
Additional Workshops && Tutorials
Meme Generator: Build a randomized meme generator in p5 -Tutorialโ
Generative Portraits: upload images and generate portraits with p5 shapes and the .get function -Worksheetโ
Changing faces conditionals practice -Worksheetโ
Happy Coding Intro to Coding with p5.js and Processing -15-week Curriculumโ
Getting Started with p5 Projects
These projects help you get up and running with p5 very quickly. They include instructions, videos and sample code. You can create the projects in the Peblio workspace as you watch these videos. They are not classroom resources, but resources to help you build your comfort level with p5.
This hour of code activity introduces drawing with p5 and system variables mouseX and mouseY. If you change the sequence and teach colors after shapes followed by system variables, this is a great project option.