Skip to content

Sheraff/ants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ants

Screenshot 2022-05-30 at 09 55 23

Cool tech:

  • Data Oriented Design: structure data in contiguous read chunks instead of in objects
  • MessageChannel: communication between 2 web workers
  • SharedArrayBuffer: one worker works on data, the other reads it
  • OffscreenCanvas: worker dedicated to drawing state of simulation

Next:

  • Rust to boost perf?