react-canvas
- 授权协议: BSD
- 开发语言: JavaScript
- 操作系统: iOS
- 软件首页: https://github.com/Flipboard/react-canvas
- 软件文档: https://github.com/Flipboard/react-canvas
软件介绍
React canvas 给 React 组件增加能力以呈现给<canvas>,而不是 DOM。这个项目正在进行中。尽管大量代码产生于 flipboard.com,但是 React canvas 仍能绑定最新的 API,并且可以修改。
示例代码:
render() {
...
return (
<Group style={this.getStyle()}>
<Gradient style={this.getGradientStyle()}
colorStops={this.getGradientColors()} />
</Group>
);
}
getGradientColors(){
return [
{ color: "transparent", position: 0 },
{ color: "#000", position: 1 }
]
}
Persuasive Technology
B.J. Fogg / Morgan Kaufmann / 2002-12 / USD 39.95
Can computers change what you think and do? Can they motivate you to stop smoking, persuade you to buy insurance, or convince you to join the Army? "Yes, they can," says Dr. B.J. Fogg, directo......一起来看看 《Persuasive Technology》 这本书的介绍吧!
