~/talk

Magic Wand for surface generation - Voxels with JS

Talkat JSConf EU 2011 · 2011-10-01..10-02· [creative-coding, javascript]
links:none on file
slides:none on file

Claim: JS can generate and render voxels using octrees but performance bottlenecks dominate. Implementation uses bitwise location strings stored as triples, flat arrays for voxel data and parent links, quads for drawing with origami 3d and geometric matrix helpers, and Perlin-style noise to fill a 64×64×64 sample. The demo allocates ~250MB, freezes Firefox and runs very slowly because there is no hidden-voxel culling or merging; proposed fixes include joining voxels, imageData batching, better traversal or switching to 3.js/WebGL.

AI-written summary · about

  1. 0:00Introduction
  2. 0:53Why Voxels
  3. 1:27Traditional methods
  4. 2:20Cons
  5. 3:37All Trees
  6. 4:47Node
  7. 6:11Location
  8. 7:11Position
  9. 8:03Recursion
  10. 9:08Insert
  11. 10:42Ray casting
  12. 11:17Collisions
  13. 12:39Usages
  14. 13:26Technology
  15. 14:06Javascript
  16. 14:54Engine
  17. 16:04Noise
  18. 17:41Image data
  19. 18:24Rendering demo
  20. 22:54Possible improvements
  21. 24:16Summary
  22. 24:37Speed of light
  23. 24:56More info
  24. 25:20Short demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.