See here for an explanation of what's happening. Much of this code is adapted from here.

Reset params

Reset simulation

Da:



Controls

Left-click draw B cells

Delete Reset simulation

F:K:Db: