Drake's Weblog

1 minute read

gugod 的OSDC / RubyConf TW 2010 複習得知了 3D Bookmarklet 這玩意兒,趕緊拿自己的網站來試試:

程式碼裏頭,有關 anaglyph 的部分如下:

e.style.color='rgba(255,0,0,0.5)'+imp; 
e.style.textShadow=d+'px 0 0 rgba(0,255,192,0.5)'+imp;

如果能採用 Half Color Anaglyph 或是 Optimized Anaglyph 公式的話,然後是對整個畫面處理(包含 img, css 裏的 background image/color, color)等處理,那就更完美了 :)

Reference: (for gugod)

comments powered by Disqus

Recent posts

Categories

About

You're looking at Drake's words or statements. All opinions are my own.