Rough Javascript implementation of the infamous Neko cat
Go to file
Jeff Clement 1a9b528840
less sleep
2023-02-25 19:49:06 -07:00
res initial version 2023-02-25 16:38:20 -07:00
LICENSE initial version 2023-02-25 16:38:20 -07:00
README.md doc update 2023-02-25 16:50:28 -07:00
neko.js less sleep 2023-02-25 19:49:06 -07:00

README.md

neko

Rough Javascript implementation of the infamous Neko Cat

Usage

<script src="/neko/neko.js"></script>
<script language="javascript" type="text/javascript" defer>
$(function() {
  // neko defaults to bottom right of screen
  const neko = new Neko();
  // here is another in the top right
  const neko2 = new Neko(0, 0);
});
</script>

Credits

Thanks to Evert Pot's post for some inspiration on the structure of Neko's state machine. https://evertpot.com/neko/

The images (which I believe are public domain at this point) were taken from here: https://webneko.net/?white