Skip to content

trishume/EmojiEngine

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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