Wykres commitów

1254 Commity (b152d995fedbf8f36c8a5bfe61e2d7221bc3f35a)

Autor SHA1 Wiadomość Data
Nina Paley b152d995fe
Add files via upload 2021-05-01 19:47:46 -05:00
Nina Paley 2f83a313e2
Add files via upload 2021-05-01 09:18:42 -05:00
Nina Paley fc9e86026c
Add files via upload
redrew flower
introduced flower_8petal and toml
2021-05-01 09:14:14 -05:00
mittimithai 7003daeebf
Baseline color rules working (#111)
Made the new rule the default, but its now easy to play with to adjust the exact color rule we are using. This new one pick 3 values (with a bit of randomness), picks a random hue (then picks 2 more with a small chance of taking the opposite hue), and picks a saturation level that tends to be high.
2021-04-30 07:15:38 -04:00
Nina Paley bbc278d061
Add files via upload 2021-04-29 16:43:21 -05:00
Nina Paley 4deead3e37
Add files via upload 2021-04-29 16:38:50 -05:00
Nina Paley 5f9fe239e7
Update code-o-conduct
some edits
2021-04-27 18:10:49 -05:00
Nina Paley 4c9be6fc43
Delete flower_jacobean.toml
ciao
2021-04-26 19:24:17 -05:00
Nina Paley dc348bc2e0
Delete flower_jacobean.svg
bye bye
2021-04-26 19:22:42 -05:00
Nina Paley 24b8237b5d
Add files via upload
introduced rain
2021-04-26 19:17:17 -05:00
Nina Paley ca41ace2e6
Add files via upload
introduced flower_tulip
2021-04-26 18:56:59 -05:00
Nina Paley 79b3fa68ab
Add files via upload 2021-04-25 20:33:06 -05:00
Nina Paley 770160b232
Add files via upload 2021-04-25 20:28:52 -05:00
Nina Paley ad009a0a39
Add files via upload 2021-04-25 20:19:42 -05:00
Nina Paley 8fec8b01d3
Add files via upload 2021-04-25 20:11:31 -05:00
Nina Paley e2f0f4e983
Add files via upload 2021-04-25 19:52:47 -05:00
Nina Paley a5f51440d3
Add files via upload 2021-04-25 19:45:45 -05:00
Nina Paley 31d7080ad0
Add files via upload 2021-04-25 19:09:18 -05:00
Nina Paley 946086ec70
Add files via upload 2021-04-25 19:02:50 -05:00
Nina Paley e8426be8c2
Add files via upload 2021-04-25 17:59:24 -05:00
Atul Varma addc6506fb
Include symbol names in mandala export filename. (#109)
This fixes #93 by making the exported mandala filenames include the names of the symbols used in them.  So for example, a mandala with circles made up of the `crown_ornate` symbol and the `heart_break` symbol will now have an exported GIF filename of `mandala-crown_ornate-heart_break.gif`.
2021-04-25 15:56:28 -04:00
Atul Varma 72354e65a0
Scale animated GIFs by 50%. (#108)
This halves the dimensions of animated GIF exports, which fixes #104.
2021-04-25 15:27:18 -04:00
Nina Paley 674a144a92
Add files via upload 2021-04-25 14:23:36 -05:00
Nina Paley 5d64526e52
Add files via upload 2021-04-25 14:19:10 -05:00
Nina Paley 39d7156783
Add files via upload 2021-04-25 14:16:55 -05:00
Nina Paley 617f6fed1e
Add files via upload 2021-04-25 14:15:14 -05:00
Nina Paley 9f0562be52
Add files via upload 2021-04-25 14:10:52 -05:00
Nina Paley 9d26b36f7b
Add files via upload 2021-04-25 13:59:29 -05:00
Nina Paley 580fe0b4f3
Add files via upload 2021-04-25 13:27:57 -05:00
Nina Paley 187d0c7431
Add files via upload
introduced flower_jacobean
2021-04-25 13:10:03 -05:00
Nina Paley 0d6eceb00b
Update code-o-conduct
Added "To that end" in second paragraph.
2021-04-25 11:12:34 -05:00
Nina Paley ede358dafe
Create code-o-conduct
First draft of Code of Conduct
2021-04-25 11:02:16 -05:00
Nina Paley 245d0ff6af
Add files via upload 2021-04-25 08:57:44 -05:00
Nina Paley 24a19bda15
Add files via upload 2021-04-25 08:48:38 -05:00
Atul Varma 34d9bde053 Clarify some license stuff. 2021-04-25 09:41:02 -04:00
Nina Paley ac7f6cd35c
Delete flowers.svg
bye bye flowers.
2021-04-25 08:39:37 -05:00
Atul Varma 4762455e38 Add license. 2021-04-25 09:39:25 -04:00
Nina Paley 56e794f52a
Delete comet.svg
bye bye comet.
2021-04-25 08:38:54 -05:00
Nina Paley 454acbe0a4
Add files via upload 2021-04-25 08:37:39 -05:00
Nina Paley 91f82b4e39
Add files via upload 2021-04-25 08:31:43 -05:00
Nina Paley cbafa27354
Add files via upload
introduced flame, flames and tomls
2021-04-25 08:30:01 -05:00
Atul Varma 19c172b460 Remove skeleton.svg. 2021-04-25 09:29:08 -04:00
Atul Varma 2ccdf031a8 Remove stray TOML files from root directory. 2021-04-25 09:28:54 -04:00
Atul Varma 6bf332049d Remove copy-svgs-from-dropbox.sh. 2021-04-25 09:28:04 -04:00
Nina Paley ea7e7fbcc5
Delete ripples.svg
nope.
2021-04-24 20:42:42 -05:00
Nina Paley b5839a5d2a
Add files via upload
introduced ripples
2021-04-24 15:51:33 -05:00
Nina Paley a9c8c1d4a1
Delete wand.toml 2021-04-24 15:36:07 -05:00
Nina Paley f9639af3a8
Add files via upload
new shorter wand
2021-04-24 15:35:33 -05:00
Atul Varma c83c678be1 Add 'mask with circle' checkbox to waves page. 2021-04-24 14:28:20 -04:00
Atul Varma d1c2ae4b02
Always permalink to Mandalas. (#99)
This addresses #61 by making mandalas permalinked.

The URL to a mandala will change whenever the user stops fiddling with it for 250 ms.  This means that the user can always reload the page to get a reasonably recent version of what they were creating, and they can use the browser's "back" and "next" buttons to effectively undo/redo recent changes.  They can also copy the URL to share it with others.

## About the serialization format

Originally, I stored the state of the user's mandala in the URL using JSON.  This had a number of drawbacks, though:

* **It was really long.**  A mandala serialization was almost 1k characters, which was a very big URL, and one that some sharing platforms might even reject.

* **It wasn't type-checked in any way.** Unless I added some kind of JSON schema validation (which I didn't), the serialization was simply deserialized and assumed to be in the proper format.  This could result in confusing exceptions during render time, rather than decisively exploding at deserialization time.

To resolve these limitations, and because I thought it would be fun, I decided to store the mandala state using a serialization format called [Apache Avro][].  I first read about this in Kleppmann's [Designing Data-Intensive Applications][kleppmann] and was intrigued by both its compactness (a serialized mandala is around 80-120 characters) and schema evolution properties.

It might be going a bit overboard, but again, I thought it would be fun and I wanted to play around with Avro.  Also, I tried architecting things in such a way that all the Avro code is in its own file, and can easily be removed (or swapped out for another serialization format) if we decide it's dumb.

[Apache Avro]: http://avro.apache.org/
[kleppmann]: https://dataintensive.net/

## Other changes

This PR also makes a few other changes:

* Tests can now import files with JSX in them (I don't think this was required for the final state of this PR, but I figured I'd leave it in there for its almost inevitable use in the future).

* The value labels for number sliders now have a fixed width, which eliminates a weird "jitter" effect that sometimes occurred when using them.
2021-04-24 08:46:32 -04:00