css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

A code-tennis collaboration with Alex Andrix (@alexandrix)


  1. Very nice. How can I use my own model instead of the snowflake? I tried to convert the obj file to json by three.js online editor, but nothing is showing on screen .... it didn't work! Thank you

  2. @MWalid I don't have much experience with Three.js, but make sure the JSON matches the structure of window.complex in this pen, which is an array of arrays like [[x, y, z], [x, y, z], [x, y, z], [x, y, z]... which later gets flattened to [x, y, z, x, y, z, x, y, z, x, y, z... Hope that helps!

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.