dribnet/strokes
关于
不妨假设 d3 是用 ClojureScript 编写的。
其他项目实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文strokes
Now, the world don't move to the beat of just one drum,
What might be right for you, may not be right for some.
strokes is an interop library for using d3.js from clojurescript
D3 is a wonderfully functional library and seems well suited for playing nice with clojurescript, provided the usual data wrangling issues can be made to go away. This is achieved in strokes via JavaScript metaprogramming that provides a language polyfill for the clojure container classes so that they can be accessed natively by D3. This interop functionality is provided by the separate and growing mrhyde library.
This repo also currently includes a number of standalone examples in the examples subdirectory. The venn-simple example is probably the easiest 'hello-world' program to use as template to start hacking your own projects.
Online examples:
- General update pattern tutorial progressing to key functions and transitions
- simple venn diagram
- voronoi clipping
- rotating voronoi
- (your own example here?)
Getting Started
To use strokes from your ClojureScript project,
add this dependency to your project.clj:
[net.drib/strokes "0.5.1"]
Or to get started in this repo, try venn-simple or any of the other examples. Simply
cd examples/venn-simple
lein cljsbuild auto
Then open public/hello.html to see three circles in your web browser. Then to get hacking, you can then edit the venn-simple source file, save, and refresh your browser to see the changes.
探索相关项目
加载中…