https://github.com/frozar/roughcljs
Clojurescript wrapper around roughjs library
https://github.com/frozar/roughcljs
Last synced: 6 months ago
JSON representation
Clojurescript wrapper around roughjs library
- Host: GitHub
- URL: https://github.com/frozar/roughcljs
- Owner: frozar
- License: mit
- Created: 2020-03-11T15:29:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T10:58:05.000Z (over 3 years ago)
- Last Synced: 2025-09-20T21:55:58.579Z (7 months ago)
- Language: Clojure
- Size: 615 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://clojars.org/frozar/roughcljs)
[](https://circleci.com/gh/frozar/roughcljs/tree/master)
`RoughCLJS` is a wrapper around the nice drawing library `RoughJS`:
https://roughjs.com/
The purpose is to provide a simple clojurescript interface to get shape
generated by `RoughJS` without messing around JS object, data structure,
method, field, integration, etc.
`RoughCLJS` wrap only the svg part of the `RoughJS` library.
This project has been generated by:
```shell
npx create-cljs-project roughcljs
```
## Test
Thes tests are launched through Karma. To compile and launch them:
```shell
npm i -g karma-cli
shadow-cljs watch ci && karma start
```
## Publish the lib on clojar
To generate the clojars package:
```shell
lein jar
lein deploy clojars
```
## Documentation
The author of [RoughJS](https://roughjs.com/) has published a fairly complete
explanation of the algorithms used in this library:
https://shihn.ca/posts/2020/roughjs-algorithms/