推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
islujw

想扒一段 canvas 的 js 代码

  •  
  •   islujw · Aug 15, 2017 · 2789 views
    This topic created in 3218 days ago, the information mentioned may be changed or developed.

    此页面 https://www.apple.com/apple-tv/ 在类 .subsection.subsection-siri-commands 区域有一个 Siri 动画,是 canvas 元素通过 js 绘制的动画。

    js 代码应该是在 https://images.apple.com/v/apple-tv/c/built/scripts/main.built.js 文件里,可以搜出 canvas 的 .webgl-object 类名。

    想要扒下来收藏,但一直失败,这个 js 似乎非常复杂,有许多关联的部分。

    4 replies    2017-09-12 21:53:47 +08:00
    tvallday
        1
    tvallday  
       Aug 16, 2017
    这种就是函数变换嘛。网上大把。
    islujw
        2
    islujw  
    OP
       Aug 16, 2017
    @tvallday 哥,弱弱问一句,能解释得通俗易懂一些么。比如这个动画是怎样的原理。
    blackywkl
        3
    blackywkl  
       Aug 17, 2017
    可以用纯 css 实现吧
    islujw
        4
    islujw  
    OP
       Sep 12, 2017
    @blackywkl 😂什么原理? transform ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1199 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 23:44 · PVG 07:44 · LAX 16:44 · JFK 19:44
    ♥ Do have faith in what you're doing.