Classroom Tools

May 27, 2020

Grade 5

  • Experimenting with physics with a Unity program
  • Jointly developing a p5.js program

Grades 6 and 7

  • Experimenting with physics with a Unity program
  • Learning some C♯ on Edabit.com

May 20

Mr. Briccetti’s Unity Learning Progress

Demo of falling balls project

Writing Text with p5.js

This simple example displays a centered message.

Greeting or “Thank You” Card with p5.js

Using this example if you like, make a greeting or “thank you” card with p5.js, or use any other programming language or environment, such as MakeCode Arcade, Python, Phaser, Scratch, or Snap! to make a card.

Remember that when you use web-based environments, your programs may be visible to the public, so don’t write anything that should be private.

Classes over the Summer and Beyond

Have your parents get in touch if you’re interested in continuing to learn with me.

May 13

Processing Community Hangout

Blog Post

Unity Game Development Platform

Company Web Page

Silly Sentences Program in Python

Starting Code

May 6

Conway’s Game of Life

Wikipedia Article

Mr. Briccetti’s Implementation

Apr 29

MakeCode Arcade

Head to MakeCode Arcade and I’ll guide you through making a project, or if you prefer, you can follow tutorials there.

Apr 22

MakeCode Arcade

Head to MakeCode Arcade and I’ll guide you through making a project, or if you prefer, you can follow tutorials there.

Apr 8

p5.js Collaborative Work and Edabit Problems, or Independent Work

I’ll give the link to the shared p5.js program in the videoconference. Here is Edabit. Please answer the question in Google Classroom. Answering the question will also show that you attended today.

Apr 1

Edabit Problems or Independent Work

Let’s do some Edabit problems. Please answer the question in Google Classroom. Answering the question will also show that you attended today.

Mar 25

p5.js Review or Independent Work

Let’s review making p5.js sketches. If you don’t need the review, please work independently on something harder, and prepare to show the class your accomplishments.

Mar 24

Office Hours

Please see “Office Hours” in Google Classroom.

Mar 11

User Interface Controls in p5.js

Notice that the snake game now has sliders you can move. Let’s learn how to create them.

Things you might control with sliders:

  • red, green, and blue color amounts
  • translations
  • rotations
  • numbers of objects
  • speed of movement

Use one or more sliders and describe what you did in a class comment in Google Classroom.

Mar 4

Health Note

Wash your hands often. We have hand sanitizer. Shared computer keyboards and mice might have germs. Avoid touching your face when someone else’s germs may be on your hands.

Grades 6 and 8

  • Circuit Playground Express review and practice
  • Free programming time
    • Circuit Playground Express, p5.js, Python, Phaser, etc.
  • Describe your accomplishments in Google Classroom

Grade 5 Guests

  • Introduction to MakeCode and Circuit Playground Express

Feb 26

Larry Tessler

Cut and paste

Play the 3D Snake Game and design a new feature

Snake game
Video lessons

Free programming time

Feb 19

p5.js Camera movement

Feb 12

p5.js 3D transformations

  • Landing on a planet (a sphere)
    • sphere
    • transformations
      • translate
      • push, pop
    • using a variable for the z argument to translate

Feb 05

Grade 6: Continue p5.js Introduction

Grades 7–8: Continue to develop 3D Snake Game

Jan 29

Grade 6: Continue p5.js Introduction

Grades 7–8: Continue to develop 3D Snake Game

  • Demo of my work in progress
  • Quiz on keyboard processing
  • Continue with 2D version

Jan 22

Sonic Pi Quiz

Grades 7–8: p5.js keyboard input

Jan 15

Sonic Pi Quiz

Sonic Pi Lesson

  • Shaping the volume of notes with Attack, Decay, Sustain, Release (ADSR) envelopes

Lab

  • Experiment with ADSR envelopes
  • Sonic Pi Tutorial Learn something new from Dr. Sam Aaron’s Sonic Pi Tutorial, and apply it to one of your own creative ideas. Describe what you did in today’s Google Classroom assignment, in the class comments.

Jan 8

Smart Thermostat

Github project

Sonic Pi Quiz

Sonic Pi Lessons

Lab: Sonic Pi Tutorial

Learn something new from Dr. Sam Aaron’s Sonic Pi Tutorial, and apply it to one of your own creative ideas. Describe what you did in today’s Google Classroom assignment, in the class comments.

Dec 18

Sonic Pi Quiz

Sonic Pi Lecture

Dec 11

Holiday Toy Hack

Example video

Sonic Pi Quiz

Sonic Pi Lecture

  • Reverberation effect
  • Repeating with times

Multiple Activities

You choose what to work on today, out of anything we’ve studied this school year and last.

Write what you accomplished in today’s Google Classroom assignment.

Dec 4

Holiday Toy Hack

Sonic Pi Lectures

Multiple Activities

You choose what to work on today, out of anything we’ve studied this school year and last.

Write what you accomplished in today’s Google Classroom assignment.

Nov 20

Multiple Activities

You choose what to work on today, out of anything we’ve studied this school year and last. Consider:

How to Get Help or Help Others

  • Ask another student
  • Use RoomHelper 3000 to ask for help
  • If you can help others, please write your name on the board under the subjects you can help with

Nov 13

Continuing with Sonic Pi

Nov 6

Introduction to Sonic Pi

Oct 30

Quiz and Review

  • What is the range of motion, in degrees, of the servo motor we’re using?
  • What is the name of the inefficient sorting algorithm we learned?

CPX Lesson

Oct 23

Quiz and Review

  • What is the name of the code that lets us represent letters and symbols as numbers?
  • How are color pictures represented in a computer?
  • What language did we introduce for Circuit Playground Express last week?

CPX Lesson

Oct 16

Quiz and Review

  • Python Hello, World and other simple programs
  • Bubble sort visualization that student Joaquin and I made

Edit with the p5.js editor

Online Problem Solving Programming with Edabit

  • Let’s work an Edabit problem or two
    • Log in with a Google account
    • Choose very easy and Python

CPX Lesson

Oct 9

Quiz and Review

  • the bubble sort activity from last week
  • how information is represented in computers in binary

Python

Introduction to Python

Soon we will be programming the Circuit Playground Express with Python (instead of MakeCode blocks). Let’s review (or learn for the first time) Python.

  • In a new browser tab, open
    • repl.it
      • Log in with the Google icon
      • Skip the questionnaire
      • Push the New Repl button
      • Choose Python (not Python 2 or Turtle)
      • Push Create Repl
    • Getting Started with Python (class Python web page #2)

      • Copy and paste Hello, World and other code fragments from here to repl.it and try them out. Experiment. Make changes.

Free Programming Lab Time

Practice Python, or program the CPX.

Oct 2

Binary Numbers Quiz in RoomHelper 3000

Algorithms

Hungarian Bubble Sort Dance

Ten Students Perform Bubble Sort

CPX Lesson

September 25

Students as Binary Digits

Seven students will come to the front of the class and represent the powers of 2: 1, 2, 4, 8, 16, 32, 64, and 128. One or more students will be calculators, and will stand at the whiteboard. I will give them a message to encode, letter by letter. They will display the binary representation of the letter’s ASCII code with 0s and 1s held in front of them. The class will decode each letter, and type it into RoomHelper 3000.

Here are the ASCII codes, in decimal (base 10) for the letters of the alphabet:

a: 97     h: 104    o: 111    v: 118 
b: 98     i: 105    p: 112    w: 119
c: 99     j: 106    q: 113    x: 120
d: 100    k: 107    r: 114    y: 121
e: 101    l: 108    s: 115    z: 122
f: 102    m: 109    t: 116 
g: 103    n: 110    u: 117 

Multiplayer Finger Drawing with Computer Vision

I’ll have a video camera at the front of the room. Three students will come up at a time to draw with their fingers. Each student will have a small colored piece of paper taped to a fingertip. They will hold it to the camera in the middle of the scene so we can calibrate the color recognition. Then they can draw.

CPX Lesson

September 18

CPX Lesson: Musical Instrument using the Accelerometer

September 11

Reminder of last week’s binary representation and decoding lesson

There are two options today: a computer vision exercise with OpenCV and Python, and an easier exercise with CPX. Do one or both.

Computer Vision

After having you manually decode the secret message from changing patterns of bits on the CPX, I had the thought, “Why not write a computer program to see and decode the message, and make it really fast”. Here’s the result:

Here’s an explanation:

If you want to really get into it, here’s the whole playlist.

OpenCV and Python

Extract parts of an image by hue

CPX Lesson: Represent What the CPX is Sensing with Lights or Sounds

September 4

How Many Bits per Pixel in Steganography?

CPX lesson and play

August 28

  • A quick lesson on Steganography based on this project
  • CPX lesson and play

August 21, 2019

Welcome back. Introducing the Adafruit Circuit Playground Express.

2018–2019