Comments (8)
@maxkrieger Starting on the skeleton components sounds great. I'll sketch something out tonight and send it to you.
Yeah, showing the energy landscape would be 1) very cool 2) definitely a stretch goal, not top priority. I'm not sure how to visualize the energy landscape clearly for optimization problems in more than two or three dimensions.
from penrose.
(Related to #120.)
@maxkrieger I'd like to start working on this issue soon, since @wodeni and I are running into a lot of unexpected slowness when laying out diagrams with more shapes/parameters, and understanding the behavior of the optimizer better will help us debug this problem.
How would you like to coordinate on this? I'm happy to start learning React and figure out how to write a component. Is there more I should know beyond this wiki page?
from penrose.
@hypotext I believe the main roadblock of this is that it would be a lot of refactoring in the backend to pull out information about the optimizer (cc @wodeni). The wiki page should be a decent intro to the frontend workflow, I'm guessing you can put most of the graphs and widgets below the canvas component and we can use a localStorage key to toggle it. That said I'd be happy to help write these components in the meantime and I'll be free to pair after I get back on the 13th.
from penrose.
@maxkrieger If you'd like to start working on this, it would be very welcome, as I'm also working on domain implementation in the meantime. I see two ways to move forward:
- Starting soon: I can describe in more detail the kinds of information I'd like to surface, then you can set up and plug in a skeleton component and hand it off to me, then I can figure out how to get the right data out of the system and into the component.
- Or, we can all wait until after the 13th and then start pairing, so we can pool your frontend knowledge with Nimo's system knowledge and my optimization knowledge.
What do you think?
from penrose.
@hypotext I can definitely work on the more time-consuming or reusable skeleton components over the next 1.5 weeks, and we can iron out what's left as a group. It sounds like the hardest component is the energy landscape.
from penrose.
Some preliminary library research:
https://github.com/palantir/react-layered-chart
Ideal interface idea:
with layout (enabled components) saved in localStorage.
from penrose.
- @wodeni mentioned that the old frontend had a basic debugging overlay with bezier control points, etc, which I can add sometime in the near future.
from penrose.
Somewhat related: #212, since #212 would allow us to surface pretty much all of the server state to the frontend
from penrose.
Related Issues (20)
- Cannot share gists with empty programs in the IDE
- Example at https://penrose.cs.cmu.edu/docs/ref/api does not compile
- Error when parsing floating-point numbers in Substance
- Improper handling of `Prop`-typed expressions in Substance HOT 1
- Nested function calls in Substance
- Multiple bugs related to tracking state changes when saving drafts and workspaces in the editor HOT 1
- UX improvements for saving/editing in the editor
- Incorrect handling of indexed sets with flipped ranges HOT 2
- Style `toString` functionality HOT 2
- Run in non-browser environments HOT 4
- Document arrowhead types
- Impossible n-gon example broken
- `saveWorkspaceEffect` in editor functionality should be split based on whether state update should be immediate or debounced
- `AutoLabel` on Substance types
- Calling `random` with varying or computed values results in uncaught errors in the IDE
- Using Substance variables not declared in Style header HOT 1
- Unresolved "compiling" toasts in `roger`-mode IDE
- Multiplicity in Domain type declarations HOT 6
- Unified language for notation and styling HOT 1
- feat: Warn user if they're about to close a browser tab with unsaved Penrose code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from penrose.