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

Swipe or click and drag across the triangle

Comments

  1. reminds me of fruit ninja XD .

    Mr. triangle

  2. I'd love if I could continuously cut the shapes smaller and smaller :)

  3. @zachwolf you're not the only one :)

    It's a bit more complicated than I imagined, but I'll get to it eventually.

  4. This is stupid fun I love you

  5. Hold shift for perfectly diagonal/straight lines? How hard would that be to do?

  6. @Spedwards not hard. Will be part of 2.0 along with infinite the slice-ability.

  7. Wow, thanks for this! I used your pen to learn the basics of paper.js and it's awesome!

  8. @TimPietrusky you're welcome. All the code for this and other sketches is available on github too: https://github.com/winkerVSbecks/a-triangle-everyday

  9. @winkerVSbecks wow that's even more awesome! Thank you very much.

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

You must be logged in to comment.
Loading...
Loading...