Wykres commitów

1220 Commity (34d9bde0535b73f658c95091bf2f25f7e4538070)

Autor SHA1 Wiadomość Data
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
Nina Paley 5c4b2a88f8
Add files via upload 2021-04-23 20:51:35 -05:00
Nina Paley 0cc547f31e
Add files via upload 2021-04-23 20:31:33 -05:00
Nina Paley 2a40175caf
Delete Queen_comp.svg
deleted earlier comps
2021-04-23 16:34:08 -05:00
Nina Paley f16e38bbfb
Delete Knight_comp.svg 2021-04-23 16:33:51 -05:00
Nina Paley 71fa0534fb
Add files via upload
new tarot card comp files
2021-04-23 16:33:30 -05:00
Nina Paley a7b10f1682
Add files via upload
rotate_clockwise = true
2021-04-23 13:12:30 -05:00
Nina Paley 979168869f
Add files via upload
rotate_clockwise = true
2021-04-23 13:07:25 -05:00
Nina Paley 9733ba0189
Add files via upload
rotate_clockwise = true
2021-04-23 13:06:06 -05:00
Nina Paley 76d3e4ba89
Add files via upload
rotate_clockwise = true
2021-04-23 13:03:50 -05:00
Nina Paley 4d866878a7
Add files via upload
rotate_clockwise = true
2021-04-23 13:02:47 -05:00
Nina Paley 85478c361a
Add files via upload
rotate_clockwise = true
2021-04-23 13:01:33 -05:00
Nina Paley 813b25c0cc
Add files via upload
rotate_clockwise = true
2021-04-23 13:01:33 -05:00
Nina Paley 4b37d43721
Add files via upload
rotate_clockwise = true
2021-04-23 12:59:23 -05:00
Nina Paley 2274e97dd1
Add files via upload
rotate_clockwise = true
2021-04-23 12:58:14 -05:00
Nina Paley 4a4784f3b2
Add files via upload
rotate_clockwise = true
2021-04-23 12:57:02 -05:00
Nina Paley a0f7a0e2a4
Add files via upload
rotate_clockwise = true
2021-04-23 12:55:16 -05:00
Nina Paley 028dca2672
Add files via upload
rotate_clockwise = true
2021-04-23 12:50:38 -05:00
Nina Paley e6f1830f88
Add files via upload
rotate_clockwise = true
2021-04-23 12:49:48 -05:00
Nina Paley 9c2433ae4c
Add files via upload
rotate_clockwise = true
2021-04-23 12:48:00 -05:00
Nina Paley 6c198386f7
Add files via upload
rotate_clockwise = true
2021-04-23 12:45:53 -05:00
Nina Paley 89179403fc
Add files via upload
rotate_clockwise = true
2021-04-23 12:44:14 -05:00
Nina Paley 00e521f133
Add files via upload
rotate_clockwise = true
2021-04-23 12:42:48 -05:00
Nina Paley 8b03dfa48e
Add files via upload
rotate_clockwise = true
2021-04-23 12:41:55 -05:00
Nina Paley 3bd9b4e7a8
Add files via upload 2021-04-23 12:41:05 -05:00
Nina Paley 419eae9a9d
Add files via upload
rotate_clockwise = true
2021-04-23 12:39:25 -05:00
Nina Paley 97569e7e43
Add files via upload 2021-04-23 12:37:31 -05:00
Nina Paley 17bf0e2733
Add files via upload
rotate_clockwise = true
2021-04-23 12:04:18 -05:00
Nina Paley 88af92d9fb
Add files via upload
knife.toml has rotate_clockwise instructions
2021-04-23 12:02:02 -05:00
Nina Paley c47ba2023a
Add files via upload
demonstrating the wonders of browser git-hubbing to Corinna and Grace
2021-04-22 20:21:11 -05:00
Corinna Cohn 54be581005
feature(mandala): add rotation syntax to toml and mandala animation (#103)
This adds a "rotate_clockwise" property to the TOML metadata, which allows the default direction of rotation to be changed on a per-symbol basis.

Co-authored-by: Corinna Cohn <corinna.cohn@gmail.com>
2021-04-22 20:53:18 -04:00
Nina Paley 08954dca16
Add files via upload 2021-04-21 21:24:07 -05:00
Nina Paley 3e18728cbb
Add files via upload 2021-04-21 20:52:14 -05:00
Nina Paley ca6c2a023d
Add files via upload 2021-04-21 20:16:32 -05:00
Nina Paley d4d9eaaff8
Add files via upload 2021-04-21 19:56:51 -05:00