Forked from: zz85's Virtual Rendering 1,000,000 Items - DOM approach View Diff (158)

Fork
4
Fav
3
View
7885
  • Play

Fullscreen

Smart Phone

Fork tree

  • Readme
  • JavaScript 416 lines
  • HTML 53 lines
  • CSS 0 lines
Experiments to find out whether virtual rendering a million items in DOM or Canvas would be faster / better.

I managed to hacked a proof of concept with some simple plain 'o' javascript of both approaches.

Also See
Comparison: http://jsdo.it/zz85/c5nB/
DOM: http://jsdo.it/zz85/75cq/

Use chrome/webkit please, and start scrolling.

Scrollbars are inspired by sublime ;)

blog post: http://www.lab4games.net/zz85/blog/2012/06/23/virtual-rendering-1000000-items-efficiently/
  • Virtual Rendering 1,000,000 Items - Canvas approach
  • Virtual Rendering 1,000,000 Items - Canvas approach

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

zz85

Author

learning and playing with visual effects with javascript!

twitter: http://twitter.com/blurspline github: https://github.com/zz85

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Favorite by

Forked

sort by