You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
# Change Log
2
2
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
3
3
4
-
## 0.1.0-SNAPSHOT
4
+
## 1.0.0-RC1 (0.1.0-SNAPSHOT)
5
+
6
+
Please note - breaking changes!
5
7
6
8
### Added
7
9
@@ -15,6 +17,7 @@ All notable changes to this project will be documented in this file. This change
15
17
- color gradients
16
18
- color tweaking functions
17
19
- font-ascent
20
+
- thi.ng rgba interoperability
18
21
19
22
### Changed
20
23
@@ -33,6 +36,7 @@ All notable changes to this project will be documented in this file. This change
33
36
- paletton-palette -> paletton
34
37
- signal processing refactored, api changed
35
38
- overlays refactored
39
+
- glitch scripts refectored, api changed
36
40
37
41
Prefix `make-` is reserved when function is created.
Copy file name to clipboardexpand all lines: README.md
+19-53
Original file line number
Diff line number
Diff line change
@@ -15,23 +15,16 @@ Clojure2D is a library supporting generative coding or glitching. It's based on
15
15
16
16
## WARNING
17
17
18
-
Refactoring in progress -> towards 0.1.0, check Changelog.
18
+
Version `1.0.0` is after big refactoring and contains plenty of breaking changes.
19
19
20
20
## Documentation
21
21
22
-
[Codox - In progress!](https://clojure2d.github.io/clojure2d/docs/codox/)
22
+
[Documentation with examples](https://clojure2d.github.io/clojure2d/docs/codox/)
23
23
24
24
## Motivation
25
25
26
26
This project is the answer to personal needs to optimize my own workflow for generative or glitch creations. I've been producing a lot of Processing code and started to suffer from limitations of working in 'write sketch and run' mode. Too much copy&paste between sketches, zillions of folders, zillions of processed images. And one day I fell in love with FP. This code is the answer.
27
27
28
-
### What's wrong with Processing?
29
-
30
-
* not reusable code - you have to copy your common parts between sketches
31
-
* display and canvas coupling
32
-
* weak or no support for parallelism
33
-
* more minor...
34
-
35
28
### Is it replacement for...
36
29
37
30
... quil, thi.ng, clisk, possibly other?
@@ -44,30 +37,31 @@ No, rather no. The closest is quil, which is really great library (both Clojure
44
37
In points:
45
38
46
39
* Almost decoupled display and canvas (decoupled drawing and refreshing) - you can have as many windows as you want, you can have as many canvases as you want. Display repaints selected canvas automaticaly in separate thread. This way you can operate on canvas in your pace.
47
-
* Processing way is still possible (you can attach draw() function to your Display). However main benefit here: draw function keeps context between invocations, this way you can avoid global state (atoms etc.) and write more functional way. The same is for events, each Window has assigned state which is passed through event calls.
40
+
* Processing way is still possible (you can attach draw() function to your Display). However main benefit here: draw function keeps state between invocations, this way you can avoid global state (atoms etc.) and write more functional way. The same is for events, each Window has assigned state which is passed through event calls.
48
41
* Easy live coding possible (Emacs/Cider/REPL)
49
42
* FastMath as main math library
50
-
* Main focus on higher level generative/glitch concepts (like sonification support, vector field functions, colorspace operations, things like pixelsorting, slitscan etc. See my Processing sketches, link below)
51
-
52
-
Check out examples and results folders
43
+
* Main focus on higher level generative/glitch concepts (like sonification support, vector field functions, colorspace operations, things like slitscan etc. See my Processing sketches, link below)
53
44
54
45
### What's odd?
55
46
56
47
It's kind of personal library which supports my (probably not optimal, not convenient for others) way of creating stuff.
57
48
There are still plenty of bugs and not idiomatic code. It may be slower than Processing. Eats a lot of memory (Pixels code is generally immutable). Still not stable API and architecture.
58
-
No tests (yet)
59
49
60
50
## Installation
61
51
62
52
Add following line as a dependency to your `project.clj`
63
53
54
+
Development version (release soon):
55
+
64
56
```clojure
65
-
[clojure2d "0.0.7-SNAPSHOT"]
57
+
[clojure2d "1.0.0-RC1"]
66
58
```
67
59
60
+
_Release will be done after review of all [examples](https://github.com/Clojure2D/clojure2d-examples)_
61
+
68
62
## Usage
69
63
70
-
Since still no tutorials are available, check out prepared examples. All namespaces are described below.
64
+
Since still no tutorials are available, see [documentation](https://clojure2d.github.io/clojure2d/docs/codox/). All namespaces are described below:
This is namespace for common generative/glitch specific libraries:
101
94
102
-
* signal - signal processing, wave generators, effects and filters (sonification enabler) [docs](https://clojure2d.github.io/clojure2d/docs/codox/clojure2d.extra.signal.html)
103
-
* overlays - 3 overlays (noise, spots and rgb scanlines) to finish your images[docs](https://clojure2d.github.io/clojure2d/docs/codox/clojure2d.extra.overlays.html)
104
-
* segmentation - segment Pixels into rectangles[docs](https://clojure2d.github.io/clojure2d/docs/codox/clojure2d.extra.segmentation.html)
105
-
*variations - vector field functions / variations taken from fractal flames world [docs](https://clojure2d.github.io/clojure2d/docs/codox/clojure2d.extra.variations.html)
106
-
*glitch - glitching filters
107
-
* raymarching - simple ray marching 3d scene renderer
95
+
* signal - signal processing, wave generators, effects and filters (for sonification process) [docs](https://clojure2d.github.io/clojure2d/docs/codox/clojure2d.extra.signal.html)
0 commit comments