Sitelet https://web.archive.org/web/20201110151831im_/https://github.com/penrose/penrose/issues/378
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

Port example domains from old runtime (Haskell) to new runtime (Typescript) #378

Open
hypotext opened this issue Sep 10, 2020 · 0 comments
Open

Comments

@hypotext
Copy link
Member

@hypotext hypotext commented Sep 10, 2020 •

Since we migrated from the Haskell runtime (what's in master now) to a React + Typescript runtime that's part of the frontend (what's in web-runtime now), a lot of the example domains we implemented for the paper need to be ported to the new runtime.

This is high-priority for us since it will enable us to test that the new runtime is at parity, and start creating a testbed of examples for improving the solvers.

It is also a good way to get familiar with the system, since it involves adding code at all layers (Substance, Style, Domain, objectives/constraints/functions) and there is already a reference implementation in Haskell that you can read/run.

Domains that need to be ported are:

  • Sets (partially done)
  • Vectors
  • Functions
  • Geometry (euclidean, spherical, and hyperbolic)
  • Meshes
  • Raytracing

I'll be working on some of it, and whoever is interested can pick a domain or a few examples from the domain and start porting them.

The full list of examples in the paper, most of which need to be ported, is here, and the examples that have already been ported to web-runtime are here. Please refer to the paper for images.

Code for the various domains can be found in the examples folder here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.