fritzo / jenn3d

A Toy for Visualizing Coxeter Polytopes
jenn3d.org
Other
40 stars 8 forks source link

Improve mobile experience #7

Closed ShawnZhong closed 2 years ago

ShawnZhong commented 2 years ago

See live site at https://shawnzhong.github.io/jenn3d/

2943A02B-8A12-46FD-967F-9734A1F6551A

@fritzo It might help if you hide white space changes when viewing the diff.

fritzo commented 2 years ago

Nice! I noticed the "camera" menu is missing but the "blur" functionality is still accessible via "b". Is this because webgl doesn't support an accumulation buffer?

fritzo commented 2 years ago

Looks great on my phone!

ShawnZhong commented 2 years ago

Nice! I noticed the "camera" menu is missing but the "blur" functionality is still accessible via "b". Is this because webgl doesn't support an accumulation buffer?

Yes. Accumulation buffer is not available on WebGL. The call to glAccum and glClearAccum are ignored as defined below.

https://github.com/fritzo/jenn3d/blob/ba61b4de06879b9ce5f0d4c120ed482f2ab81734/glut_wasm.h#L10-L13