V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
aleen42
V2EX  ›  程序员

萬花筒

  •  
  •   aleen42 ·
    aleen42 · Dec 14, 2016 · 3063 views
    This topic created in 3426 days ago, the information mentioned may be changed or developed.

    kaleidoscope

    Figure 1 A simple preview of kaleidoscopes

    In Chinese, we will name kaleidoscopes as "萬花筒", which is a toy showing colorful shapes of thousands of flowers. Today, inspired by the project, spring loaders, I have tried myself to create a similar component with CSS and SVG, rather than Canvas. As the Figure 1 shown, that's my kaleidoscope.

    詳情可查看: https://github.com/aleen42/PersonalWiki/blob/master/post/kaleidoscope/kaleidoscope.md

    還是那句, 若你不喜歡英文, 可直接去看 POC: http://codepen.io/aleen42/pen/mOzbWW

    Supplement 1  ·  Dec 14, 2016
    React 的話, 可以參照另一個 Demo 直接引用: http://codepen.io/aleen42/pen/JbmBjK
    Supplement 2  ·  Dec 15, 2016
    另外,文章已提交申请,收录在社区 https://medium.com/front-end-hacking 。所以,顺带推荐一下社区,我看那边人气还好像不怎么高。
    9 replies    2016-12-14 17:38:51 +08:00
    adoyle
        1
    adoyle  
       Dec 14, 2016   ❤️ 1
    yang877
        2
    yang877  
       Dec 14, 2016
    酷炫👍
    aleen42
        3
    aleen42  
    OP
       Dec 14, 2016
    @yang877 Thx
    harry890829
        4
    harry890829  
       Dec 14, 2016
    好东西
    aleen42
        5
    aleen42  
    OP
       Dec 14, 2016
    @harry890829 值得分享
    harry890829
        6
    harry890829  
       Dec 14, 2016
    @aleen42 很有创造力的啊,已转发给前端小伙伴
    aleen42
        7
    aleen42  
    OP
       Dec 14, 2016
    @harry890829 一切都是受人啟發, 絕非自己憑空想像
    kutata
        8
    kutata  
       Dec 14, 2016
    犀利!
    aleen42
        9
    aleen42  
    OP
       Dec 14, 2016
    @kutata = = 吾犀利
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2371 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 11:01 · PVG 19:01 · LAX 04:01 · JFK 07:01
    ♥ Do have faith in what you're doing.