~/talk

Character Modeling in CSS

Talkat CSSDAY 2024 · 2024-06-06..06-07· [css, creative-coding]
slides:none on file

Five clear steps turn flat divs into a working 3D model: build cubes from nested elements and use transform-style: preserve-3d with perspective, place a lamp on top for consistent shading, define joints with transform-origin and nested skeletons, animate with keyframes driven by custom properties, and mask/shape faces with clip-path polygon plus gradients and SVG filter noise for realism. A humanlike character is produced, walks and runs, and the demo is posted and functioning.

AI-written summary · about

  1. 0:00CSS character modeling intro
  2. 1:29Is it CSS? Audience game
  3. 3:16Julia’s CSS to 3D journey
  4. 7:495 steps to 3D CSS character
  5. 8:11Defining 3D objects and cube
  6. 10:42Building a cube with HTML/CSS
  7. 11:51Understanding 3D transforms
  8. 13:58Adding faces and colors
  9. 14:40Fox from multiple cubes
  10. 15:01Setting up light source
  11. 17:08Shadows with clip-path/gradients
  12. 18:59Gradients for smooth shadows
  13. 21:10Human skeleton in CSS
  14. 21:53Nesting for 3D animation
  15. 23:18Why nesting matters
  16. 25:29Defining joints with transform-origin
  17. 26:51Overlapping for smoother joints
  18. 28:38Animating with keyframes
  19. 30:20Simplify animation with custom props
  20. 31:03Keyframes for walking
  21. 33:34Sculpting body with cubes
  22. 34:17Cutting edges to smooth
  23. 36:02Creating chains for limbs
  24. 37:28Refining shape with elements
  25. 38:09Coloring with mixed colors
  26. 39:11Adding noise for texture
  27. 40:16SVG filters for depth
  28. 41:47Final demo and reflection
  29. 42:49Q&A
~/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.