Raj Raizada headshot I am a math and computer science educator based in NYC. I teach at an independent school in Manhattan. I have also worked in math ed-tech, helping to create educational activities at Desmos. Before switching to K-12 education, I was a cognitive neuroscience faculty member in a university, teaching and carrying out brain imaging research (publications here).

I especially enjoy creating interactive math demonstrations and games. Below are some examples, in Python, Desmos, and javascript.

What makes code or an activity useful for teaching?

In my experience, students tend to find an activity or a piece of code engaging if it is:

Some simple tutorial Python code

PyTurtle examples to illustrate math concepts, running in the browser via trinket.io.

Python string art
Python string art
Python billiards GCF
Math billiards GCF
Right triangle fractal
Fractals and recursion

Tutorial python code running in the browser via Google Colab.

Linear classifier
Linear classifier
Divisors math game
Simple math game: divisors
Neural network XOR
Neural network

Desmos activities

Desmos is a really wonderful tool for making interactive math. It's a graphing calculator, but you can do much more with it, including making activities and games. Below are some examples that I've made. More of my Desmos creations can be found here.

Snakes game: trig graphs
Python billiards GCF
Radian angles: space invaders
Right triangle fractal
The 17 wallpaper groups

Below are a couple of embedded Desmos graphs that I made. The first is a snowflake maker. It can be used for teaching about mirror and rotational symmetry, but beyond that it's simply fun to play with. Drag around the fuzzy white dot to draw patterns. Hit the "RESET" button in the lower right to clear the screen.




Here's an animation showing a proof of the Pythagorean Theorem by area-preserving shearing. I added an animated gif of it to the Wikipedia page for that theorem, here. (Other contributions I've made to Wikipedia are collected here.)



Javascript math games

I've recently started exploring making math games in javascript, so that they can run directly in any web browser. I've been using the libraries p5.js and p5play.

Number Drop: match the target sum
Math "candy crush": match block values
Math-matching platformer game
Simulation: Galton board statistics










Webpage made using the Creative Commons CSS design Liblueen