- Last week, we kicked things off with round shapes.
- We "rounded" up the Pens from week one
- in our
- #CodePenChallenge: Round
- collection.
-
-
- This week, we move on to cubes 🧊
-
-
- Creating cubes in the browser is all about mastery
- of illusion. Take control of perspective and
- shadows and you can make the magic of 3D on a flat
- screen 🧙
-
-
- This week is a fun chance to work on your CSS
- shape-building skills, or dig into a 3D JavaScript
- library like Three.js.
-
-
- This week's starter template features an ice
- cube emoji to help inspire a "cool" idea
- for your Pen. As always, the template is just as
- jumping off point. Feel free to incorporate the 🧊
- in your creation, add more elements, or freeze it
- out completely and start over from scratch!
-
- To participate:
- Create a Pen →
- and tag it
- codepenchallenge
- and
- cpc-cubes. We'll be watching and gathering the Pens into a
- Collection, and sharing on
- Twitter
- and
- Instagram
- (Use the #CodePenChallenge tag on Twitter and Instagram as
- well).
-
-
-
-
-
-
-
-
-
-
- IDEAS!
-
-
-
-
-
- 🌟
-
- This week we move from 2
- dimensions to three! Maybe you
- could exercise your
- perspective
- in CSS to create a 3D cube. Or,
- you can try out creating 3D shapes
- in JavaScript, using
- WebGL
- or building a
- Three.js scene.
-
-
-
-
-
-
-
-
-
- 🌟
-
- There's more to cubes than
- just six square sides. There are
- variations on the cube that could
- be fun to play with this week:
- cuboid shapes
- are hexahedrons with faces that
- aren't always squares. And if
- you want to really push the
- boundaries of shape, consider the
- 4 dimensional
- tesseract!
-
-
-
-
-
-
-
-
-
- 🌟
-
- Here's a mind-bending idea
- that can combine the round shapes
- from week one with this
- week's cube theme:
- Spherical Cubes
- 😳 Solving longstanding
- mathematical mysteries is probably
- outside the scope of a CodePen
- challenge, but you could use
- front-end tools to explore fitting
- spheres into cubes, or vice-versa.
-
-
-
-
-
-
-
-
- RESOURCES!
-
-
-
-
-
- 📖
-
- Learn all about
- How CSS Perspective Works
- and how to build a 3D CSS cube
- from scratch in Amit Sheen's
- in-depth tutorial for CSS-Tricks.
- Or, check out stunning examples of
- WebGL cubes from Matthias Hurrle:
- Just Ice
- and
- Posing.
-
- Last week, we kicked things off with round shapes.
- We "rounded" up the Pens from week one
- in our
- #CodePenChallenge: Round
- collection.
-
-
- This week, we move on to cubes 🧊
-
-
- Creating cubes in the browser is all about mastery
- of illusion. Take control of perspective and
- shadows and you can make the magic of 3D on a flat
- screen 🧙
-
-
- This week is a fun chance to work on your CSS
- shape-building skills, or dig into a 3D JavaScript
- library like Three.js.
-
-
- This week's starter template features an ice
- cube emoji to help inspire a "cool" idea
- for your Pen. As always, the template is just as
- jumping off point. Feel free to incorporate the 🧊
- in your creation, add more elements, or freeze it
- out completely and start over from scratch!
-
- To participate:
- Create a Pen →
- and tag it
- codepenchallenge
- and
- cpc-cubes. We'll be watching and gathering the Pens into a
- Collection, and sharing on
- Twitter
- and
- Instagram
- (Use the #CodePenChallenge tag on Twitter and Instagram as
- well).
-
-
-
-
-
-
-
-
-
-
- IDEAS!
-
-
-
-
-
- 🌟
-
- This week we move from 2
- dimensions to three! Maybe you
- could exercise your
- perspective
- in CSS to create a 3D
- cube. Or, you can try out creating
- 3D shapes in JavaScript, using
- WebGL
- or building a
- Three.js scene.
-
-
-
-
-
-
-
-
-
- 🌟
-
- There's more to cubes than
- just six square sides. There are
- variations on the cube that could
- be fun to play with this week:
- cuboid shapes
- are hexahedrons with faces
- that aren't always squares.
- And if you want to really push the
- boundaries of shape, consider the
- 4 dimensional
- tesseract!
-
-
-
-
-
-
-
-
-
- 🌟
-
- Here's a mind-bending idea
- that can combine the round shapes
- from week one with this
- week's cube theme:
- Spherical Cubes
- 😳 Solving longstanding
- mathematical mysteries is probably
- outside the scope of a CodePen
- challenge, but you could use
- front-end tools to explore fitting
- spheres into cubes, or vice-versa.
-
-
-
-
-
-
-
-
- RESOURCES!
-
-
-
-
-
- 📖
-
- Learn all about
- How CSS Perspective Works
- and how to build a 3D CSS
- cube from scratch in Amit
- Sheen's in-depth tutorial for
- CSS-Tricks. Or, check out stunning
- examples of WebGL cubes from
- Matthias Hurrle:
- Just Ice
- and
- Posing.
-