Make it easy to use Lys in the browser

Open
#7 4 comments 1 reaction 1 assignee View on GitHub

@TudorPal is already working on this.

Since Mar 9, 2026.

Assessment

This issue has not been assessed yet.

Description

Lys is a Futhark library/framework that generates the necessary SDL C to make it easy to write graphical Futhark programs, handle keyboard input, etc. It would be lovely if Lys programs were easy to run in the browser. The first step is a proof-of-concept of JavaScript code that translates JavaScript mouse/keyboard events to the SDL values expected by Lys programs. I did a small experiment that shows the rendering is fairly easy to integrate, at least.

Dominant language
JavaScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diku-dk/futhark-webgpu

All issues in diku-dk/futhark-webgpu

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.