TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Prototyp – FramerJS based free prototyping

7 pointsby chinchangalmost 10 years ago

2 comments

nstartalmost 10 years ago
On the output side for the demo, this is all I see<p>&lt;body&gt;&lt;script src=&quot;..&#x2F;framer.js&quot;&gt;&lt;&#x2F;script&gt;&lt;script&gt;var imageLayer;<p>imageLayer = new Layer({ x: 0, y: 0, width: 128, height: 128, backgroundColor: &#x27;lightgreen&#x27; });<p>imageLayer.center();<p>imageLayer.states.add({ second: { scaleX: 1.4, scaleY: 0.6 }, third: { y: 430, scaleX: 0.4, scaleY: 2 }, fourth: { y: 200, scaleY: 1.2 } });<p>imageLayer.states.animationOptions = { curve: &#x27;spring(500,20,0)&#x27; };<p>imageLayer.on(Events.Click, function() { imageLayer.states.next(); });&lt;&#x2F;script&gt;&lt;&#x2F;body&gt;<p>that can&#x27;t be right can it?
评论 #9934820 未加载
chinchangalmost 10 years ago
Unlike FramerStudio, Prototyp works on pure JavaScript.