Skip to content

Latest commit

 

History

History

Example functions

These examples demostrate some of the features of Browser Functions, and some example use-cases:

  • hello - Simple "hello world" example
  • api - Example showing API, arguments and environment
  • cookie - How to set and read cookies on the client browser
  • image_classification - Running AI inference on an image using the TensorFlow.js MobileNet model
  • streaming - Long-running process that streams numbers back to the client, using a JavaScript generator
  • webgl - Generate a globe with data visualization at any rotation as specified in the arguments
  • gpu_matrix_multiply - demonstration of using GPU for accelerating functions, by using gpu.js
  • webassembly_c - a Web Assembly (WASM) example, written in C