JuliaImages / JuliaImages/juliaimages.github.io

Web Browser support for running demonstrations

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
33
Forks
52
PR merge metrics
No merged PRs in 30d

Description

I was having some trouble running the Color separations and the SVD demonstration on IJulia, so I added a little tweak to interact on a web browser. i.e:

using Interact, Mux
ui = @manipulate for k1 in 1:n, k2 in 1:n, k3 in 1:n
    colorview(RGB,
              rank_approx(svdfactors[1], k1),
              rank_approx(svdfactors[2], k2),
              rank_approx(svdfactors[3], k3)
              )
end
WebIO.webio_serve(page("/", req -> ui), 8111) # serve on localhost:8111

I think it would be helpful for someone stuck at the same step to run the demonstration on IJulia.
Would be happy to add a PR if needed.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Locate the Color separations and SVD demonstration pages and review how they currently instruct IJulia users to run them. Test the proposed Interact, Mux, and WebIO setup in a browser at localhost:8111. Done means the demonstrations have clear browser-running instructions and work outside the notebook workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.