\chapter{Preliminaries}
\section{Web Worker}
Web Workers are a web API that allows running JavaScript code in background threads in the browser. This way you can run CPU intensive processes without stalling the main thread and locking up the UI.

There's a few limitations with Web Workers. A Web Worker doesn't have access to the DOM, the window object and some web APIs.

The main thread and Web Workers can communicate together using messages. They can send their messages using a postMessage method and the other side receives a message event it can act upon. \cite{WebWorkers}

Web Workers are used in this project to put a load on the CPU to modify the magnetic field without locking up the website itself.

\section{Manchester Code}

\section{Hall Sensor}
