Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staged diagrams #42

Closed
kai-qu opened this issue Dec 5, 2017 · 2 comments
Closed

Staged diagrams #42

kai-qu opened this issue Dec 5, 2017 · 2 comments

Comments

@kai-qu
Copy link
Contributor

kai-qu commented Dec 5, 2017

Add language constructs for specifying the staging, or order, or a diagram, as it might be used in a talk, animation, or presentation.

Comment from Keenan: Would also be good to infer, as much as possible, a default ordering (e.g., based on logical dependencies).

Also we need to allow users to specify diagram display / layering order (so shapes with transparency don't display on top of labels, and so on).

@kai-qu
Copy link
Contributor Author

kai-qu commented Apr 7, 2021

Keenan adds:

Basically we haven't addressed the temporal aspect of Penrose. The "worst solution except for all the rest" is WYSIWYG slideshow editors like PowerPoint and Keynote, which enable one to specify an ordering for events, and associate transitions with these orderings (which can also include specific timing directives). But just like laying out diagrams spatially, "laying out" diagrams temporally takes a lot of tedious, manual labor. [Personal note: I have spent hundreds of hours doing this in Keynote, and it is hell.] To add insult to injury, the strict ordering required by this paradigm puts artificial limitations on how staged diagrams can be "timed." A more powerful alternative is the timeline-based editing found in 2D packages like Adobe [Premiere|AfterEffects|Animate] or 3D packages like Blender and Maya. But this again requires meticulous hand-timing—even more than slideshow editors.

So, the main question is how to build the existing utility of Penrose out into the temporal domain. For instance, it makes a lot of sense to annotate Style rules with transition times and styles (e.g., a new point added to a diagram should fade in for 0.35 seconds). A very simple temporal ordering scheme could mimic the spatial ordering scheme we already have via the layer above/below keywords (so, perhaps, a show before/after construct). But then comes the question of how to deal with more complex synchronous events that can't be expressed via an ordering. For instance, one could expand these semantics into starts before and ends after. Etc. These are all "seed suggestions"—basically the point is that this design really needs to be fleshed out to be both simple but also general. I.e., it should line up with the same Penrose design goals stated in the paper, but just along the time axis. A beautiful thing that can happen here is that values like transition times and delay times can be optimized by the Penrose layout engine. Just as we currently might pack a set of graphical primitives onto the canvas, we can "pack" a set of events into a given interval of time, but still allow the programmer to specify which ones should be shorter/longer in a relative sense. [This is again something that I have tweaked meticulously by hand, and again, it is hell.]

See in-depth discussion in Slack thread here. Basically the conclusion so far is that timing rules should go in Style.

@wodeni
Copy link
Member

wodeni commented Dec 6, 2022

Closing. See: #1076.

@wodeni wodeni closed this as completed Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants