Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time


Welcome to the TensorFlow.js gallery! This is a collection of TensorFlow.js projects, tutorials, videos, and more.

Please reach out to us if you'd like to put your project on the list.

Demos & Applications

  • HumanGPS: Dense Human Correspondences - A deep learning framework that maps each pixel to a feature space, where the feature distances reflect the geodesic distances among pixels as if they were projected onto the surface of a 3D human scan.
  • Time Series Forecasting - Pull stock prices from online API, train and perform predictions using Long Short Term Memory, and predict the next value. [demo][repo]
  • Textual Similarity Analysis - Group similar sentences with universal sentence encoder word embeddings [demo][repo]
  • PoseAnimator - Animate any SVG character using your own body live via your webcam. Uses posenet and facemesh to create some really unique animations.
  • 3D Face Doodles - What if your face was a canvas and you could paint on it in real time? Check out this experiment that does just that in real time in the browser.
  • Shaderbooth - Experiment with WebGL Shaders + TensorFlow.js to create stunning visual effects such as shooting lasers from your eyes and more!
  • Veremin - Play and create music in thin air with this digital take of a Theramin instrument. Even better when hooked up to Tesla Coils
  • Man of many faces - Create 3D masks of any face which you can then wear yourself.
  • Confront yourself - An artistic peice that allows you to confront yourself in this beautiful WebGL experience.
  • Virtual Tailor - Get an estimate of your clothing size measurements in less than 15 seconds.
  • Paper Doll - What if you could colour in a drawing of a character and then bring the drawing to life using your own body as the controller? Well now you can. Bring drawings to life with Paper Doll.
  • Invisibility Cloak - Bring your scifi movie dreams to life with this real time person removal system that runs in the browser.
  • Bring magazines to life - Scan a magazine of a person in it and bring that person to life right infront of you using WebGL and WebXR.
  • Music Generation using Hands - turn your hands into a musical instrument using handpose.
  • Posenet2Scratch Use the popular posenet model within the Scratch environment - a great way to get younger folk or those interested in using visual based editors to take their first steps. Also see Handpose2Scratch and FaceMesh2Scratch.
  • MLBlock A very advanced visual based edtior to explore many TensorFlow.js models and more. Combine sensors with models and see results live in your browser as you chain items together creating complex apps in minutes.
  • Touch The Dot - A game created using PoseNet which the player must hit the colored dots with the correct hand and gain as many points as possible (A webcam is a must). library by Omri Grossman
  • Object Tracking JS - Track any object as it moves through a video with no training required. library by Nick Bourdakos
  • NSFW JS - Client-side indecent content checker. library and blogpost by Gant Laborde
  • Honkling - An in-browser keyword spotting system by Jaejun Lee, Raphael Tang, Jimmy Lin
  • TensorSpace.js - A 3D visualization framework for neural networks, featuring interactive and intuitive display of models in the browser. Supports pre-trained models from TensorFlow, Keras, and TensorFlow.js.
  • Magenta Studio - A collection of music plugins built on Magenta’s open source tools and models using cutting-edge machine learning techniques for music generation.
  • Move Mirror - An AI Experiment with Pose Estimation in the Browser using TensorFlow.js
  • Emoji Scavenger Hunt - Locate the emoji we show you in the real world with your phone’s camera.
  • Semi-Conductor - Conduct your own orchestra in the browser by moving your arms.
  • Metacar - A reinforcement learning environment for self-driving cars in the browser.
  • Evolution Simulator - Evolution Simulator using NeuroEvolution
  • Play pong with webcam by Gene Kogan
  • Make music with PoseNet by Gene Kogan
  • Neural drum machine by Tero Parviainen
  • Pose Music by Tero Parviainen
  • Neural Arpeggiator by Tero Parviainen
  • Neural Melody Autocompletion by Tero Parviainen
  • Deep Roll by Tero Parviainen
  • Latent Cycles by Tero Parviainen
  • PoseNet + Pts.js - Visualizing pose with pts.js
  • Falling balls + DQN - A demo of a DQN agent that learns to dodge falling balls by seann999
  • Tenori Off - An ML-powered music sequencer by Monica Dinculescu
  • Hello TensorFlow.js - Polynomial Regression by Monica Dinculescu
  • Simple MNIST GAN by Daniel Chang
  • Complementary Color Prediction by Roberto Stelling
  • Mars at Home - Mars@Home client for Firefox & Chrome - Labels image from Unsplash in browser
  • Nxt Word - Next Word Predictor - by Rajveer Malviya
  • Interactive Classification - Modify images and see how deep learning classifiers respond
  • Hidden Markov Model with Gaussian emissions - A trainable Hidden Markov Model with Gaussian emissions using TensorFlow.js. Used in Node Clinic
  • Emotion Extractor by Brendan Sudol
  • Aida Named entity recognition and text classification pipeline for creating chatbots by Rodrigo Pimentel
  • GAN Lab - An Interactive Visualization Tool for Playing with Generative Adversarial Networks (GANs)!
  • Canvas Friends - Half game, half experiment to see if software can improve the drawing and artistic skills of people.
  • High School Level Tensorflowjs - Greater than 40 demos that can be online edited made as simply as possible using single web pages. All examples use the <script src=""> specific version tag so the pages always work and no installation is needed - By Jeremy Ellis.
  • Gboard Physical Handwriting Version - You can input a character by drawing it on your keyboard.
  • AICAMCAM - A browser-based webcam video recording service with people/dog/cat detection functionality.
  • trynottolaugh - Try not to laugh game with face landmark detection if you laugh during video you lose!
  • Neuroglancer - A browser-based app for examining 3D volumetric neuroimaging data.
  • Chester Radiology Assistant - A web-based tool for diagnosing chest x-ray images.
  • Membrane - An interactive audiovisual tone mirror that responds to nose movement, by Ashlin Aronin.
  • MedSeg - Online interactive segmentation tool for radiological images.
  • NSFW Filter - A browser extension to block NSFW images.
  • MIRNet-TFJS - Converts and runs the MIRNet Model on the web which is capable of enhancing low-light images upto a really great extent - By Rishit Dagli. [demo][repo]
  • Custom Object Detection on browser using TensorFlow.js - An E2E app for custom object detection on the browser using TensorFlow.js; by Nitin Tiwari & Rony Benny.
  • audiate - Ear training game using Pitch Transcription model in the browser - By CJ Bayron [demo][repo]
  • Plant AI - This web app identifies diseases in plants across 38 healthy and unhealthy plant categories by species and diseases all in the browser - By Rishit Dagli, Rishabh Singh and Rucha Yagnik. [demo][repo]
  • - Brings automatic 3D MRI segmentation capability to neuroimaging by running a deep learning model in the web-browser on the user side - By Mohamed Masoud and Sergey Plis. [demo][repo][wiki]

Tutorials / Codelabs

These tutorials augment the official tutorials.

Video tutorials


Blog posts



Libraries using TensorFlow.js

  • ML5 - Friendly machine learning for the web
  • magenta.js - Music and Art Generation with Machine Intelligence in the Browser.
  • Handsfree.js - A library for adding face-controlled pointers to your site.
  • Handtrack.js - A library for real-time hand detection directly in the browser.
  • face-api.js - A JavaScript API for face detection and face recognition in the browser.
  • machinelearn.js - A general machine learning library like ScikitLearn directly in the Browser and Node.
  • TensorFlow.js GPU-accelerated t-SNE - A linear t-SNE for the web.
  • Pipcook - A front-end algorithm framework to create a ML pipeline based on tfjs-node, which is similar to TFX but in JS.
  • danfo.js - A powerful JavaScript data analysis toolkit inspired by the Python PANDAS library.
  • NSFW JS - Client-side indecent content checker.