Skip to content

trishume/EmojiEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmojiEngine

EmojiEngine (also known as 😢 Engine) is the world's best video game rendering engine for emoji, and only emoji. It's built with WebGL and can render 90,000 emoji at 60fps. It was built for TerribleHack X, Waterloo's terrible ideas hackathon.

Screenshot

Features

  • Varying sizes
  • Many different emoji
  • Retina display ready
  • Mouse control
  • Keyboard controls
  • Handles screen resizing

Performance Tricks

  • Uses GL point sprites to avoid sending too much geometry
  • Uses a mip-mapped sprite sheet for fast rendering of emoji at different scales.
  • Renders the emoji front to back with depth testing to completely avoid overdraw.
  • Binary transparency by dropping fragments, no need for alpha blending.
  • Processes state updates entirely using linear iteration over JS typed arrays, so that even updating everything every frame in JS is fast.

License

The code I wrote is released under the MIT license. The emoji data included is also under the MIT license from here. EmojiEngine also uses twgl.

About

The world's fastest rendering engine, for emoji. Made for TerribleHack X

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published