Code Monkey home page Code Monkey logo

glimmer.jl's Introduction

Glimmer.jl

Documentation
docs dev

Glimmer.jl is a Julia package for creating fast and simple user interface (UI) using the Blink package. The UI is a dynamic Angular application that runs inside a Blink window.

It is designed to allow any Julia user to easily create simple UIs, perform quick code experiments where you can tweak the inputs, and visualize the results in the same window. You can update variable values using the interactive controls or using Julia assinments in the REPL or scripts, and Glimmer will make sure everything is synchronized.

NOTE: I'm currently learning the "art" of Github Actions so expect some rocky road for a few weeks.

Glimmer Example

Basic usage:

julia> using Glimmer

julia> Glimmer.runExample("Controls")

Controls Example

glimmer.jl's People

Contributors

galran avatar

Stargazers

 avatar ebigram avatar  avatar Justin Laughlin avatar Gábor Nagymajtényi avatar Fail@Life avatar Mohamed Kamal AbdElrahman avatar Martin Hagmüller avatar  avatar Marco Matthies avatar Arsh Sharma avatar anand jain avatar Kerry Key avatar Cybernetic Engineering avatar Sean Baskin avatar Rémi Vezy avatar  avatar Ruizhi Yang avatar Dr. Zygmunt L. Szpak avatar Jeremiah avatar Elias Carvalho avatar  avatar Ole Kröger avatar Alexander Sikorski avatar Lasse Peters avatar Mustafa Faisal avatar Heiner Spieß avatar Carsten Bauer avatar Yi-Xin Liu avatar kai avatar  avatar C. Brenhin Keller avatar Robin Gerzaguet avatar Jacob S. Zelko avatar Yakir Luc Gagnon avatar Diego Javier Zea avatar Sebastian Micluța-Câmpeanu avatar

Watchers

 avatar

glimmer.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Glimmer will not work with Julia-1.9.1

Hey,

I'm a new user of Julia and I am very interested in your work.
I'm trying to follow your instructions on how to run Glimmer.runExample("Controls").
I cannot install your package using Julia-1.9.1. Here is the last part of the installation log:

   Installed FillArrays ───────────────────── v0.13.11
   Installed Xorg_libXdmcp_jll ────────────── v1.1.4+0
   Installed Cassette ─────────────────────── v0.3.11
   Installed Observables ──────────────────── v0.4.0
   Installed ChangesOfVariables ───────────── v0.1.8
   Installed Parameters ───────────────────── v0.12.3
   Installed Clustering ───────────────────── v0.15.3
   Installed GeoInterface ─────────────────── v1.3.1
   Installed Glimmer ──────────────────────── v0.2.2
  Downloaded artifact: EarCut
  Downloaded artifact: meshcat
  Downloaded artifact: web
  Downloaded artifact: Expat
  Downloaded artifact: Xorg_xkeyboard_config
    Updating `C:\Julia-1.9.1\bin\environments\v1.9\Project.toml`
  [55254e13] + Glimmer v0.2.2
    Updating `C:\Julia-1.9.1\bin\environments\v1.9\Manifest.toml`
  [47edcb42] - ADTypes v0.1.3
  [621f4979] ↑ AbstractFFTs v1.3.1 ⇒ v1.3.2
  [80f14c24] ↑ AbstractMCMC v4.4.1 ⇒ v4.4.2
  [b5ca4192] ↑ AdvancedVI v0.2.3 ⇒ v0.2.4
  [4fba245c] ↑ ArrayInterface v7.4.8 ⇒ v7.4.11
  [30b0a656] + ArrayInterfaceCore v0.1.29
  [dd5226c6] + ArrayInterfaceStaticArraysCore v0.1.4
  [bf4720bc] + AssetRegistry v0.1.0
  [9e28174c] + BinDeps v1.0.2
  [d1d4a3ce] - BitFlags v0.1.7
⌃ [ad839575] + Blink v0.12.5
  [7057c7e9] + Cassette v0.3.11
  [082447d4] ↑ ChainRules v1.51.0 ⇒ v1.52.0
  [9e997f8a] ↑ ChangesOfVariables v0.1.7 ⇒ v0.1.8
  [aaaa29a8] ↑ Clustering v0.15.2 ⇒ v0.15.3
  [944b1d66] - CodecZlib v0.7.1
  [34da2185] ↑ Compat v4.6.1 ⇒ v4.7.0
  [f0e56b4a] - ConcurrentUtilities v2.2.0
  [150eb455] + CoordinateTransformations v0.6.3
  [864edb3b] ↑ DataStructures v0.18.13 ⇒ v0.18.14
⌅ [ffbed154] ↓ DocStringExtensions v0.9.3 ⇒ v0.8.6
  [411431e0] + Extents v0.1.1
  [7a1cc6ca] ↑ FFTW v1.7.0 ⇒ v1.7.1
  [5789e2e9] + FileIO v1.16.1
⌅ [1a297f60] ↓ FillArrays v1.2.0 ⇒ v0.13.11
  [de31a74c] + FunctionalCollections v0.5.0
  [cf35fbd7] + GeoInterface v1.3.1
  [5c1252a2] + GeometryBasics v0.4.7
  [55254e13] + Glimmer v0.2.2
⌅ [cd3eb016] ↓ HTTP v1.9.6 ⇒ v0.9.17
  [9fb69e20] + Hiccup v0.2.2
  [83e8ac13] + IniFile v0.5.1
  [3587e190] ↑ InverseFunctions v0.1.9 ⇒ v0.1.10
  [97c1335a] + JSExpr v0.5.4
  [0f8b85d8] + JSON3 v1.13.1
  [b9914132] + JSONTables v1.0.3
  [63c18a36] ↑ KernelAbstractions v0.9.4 ⇒ v0.9.6
  [929cbde3] ↑ LLVM v5.2.0 ⇒ v6.0.1
⌅ [283c5d60] + MeshCat v0.14.2
  [7269a6da] + MeshIO v0.4.10
  [99f44e22] + MsgPack v1.2.0
  [ffc61752] + Mustache v1.0.17
⌅ [a975b10e] + Mux v0.7.6
  [872c559c] ↑ NNlib v0.8.21 ⇒ v0.9.1
⌅ [510215fc] ↓ Observables v0.5.4 ⇒ v0.4.0
  [6fe1bfb0] ↑ OffsetArrays v1.12.9 ⇒ v1.12.10
  [69de0a69] ↑ Parsers v2.7.0 ⇒ v2.7.1
  [fa939f87] + Pidfile v1.3.0
  [94ee1d12] + Quaternions v0.7.4
⌃ [731186ca] ↓ RecursiveArrayTools v2.38.5 ⇒ v2.32.3
  [6038ab10] + Rotations v1.5.1
⌃ [0bca4576] ↓ SciMLBase v1.92.5 ⇒ v1.81.0
  [c0aeaf25] - SciMLOperators v0.2.12
  [777ac1f9] - SimpleBufferStream v1.1.0
  [66db9d55] + SnoopPrecompile v1.0.3
  [276daf66] ↑ SpecialFunctions v2.2.0 ⇒ v2.3.0
  [90137ffa] ↑ StaticArrays v1.5.26 ⇒ v1.6.0
  [856f2bd8] + StructTypes v1.10.0
  [2efcf032] - SymbolicIndexingInterface v0.2.2
  [9f7883ad] ↑ Tracker v0.2.25 ⇒ v0.2.26
  [3bb67fe8] - TranscodingStreams v0.9.13
  [28d57a85] ↑ Transducers v0.4.76 ⇒ v0.4.77
  [410a4b4d] - Tricks v0.1.7
  [781d530d] - TruncatedStacktraces v1.3.0
  [30578b45] + URIParser v0.4.1
  [3a884ed6] + UnPack v1.0.2
  [d80eeb9a] ↑ UnsafeAtomicsLLVM v0.1.2 ⇒ v0.1.3
⌃ [0f1e0344] + WebIO v0.8.17
⌃ [104b5d7c] + WebSockets v1.5.9
  [5ae413db] + EarCut_jll v2.2.4+0
  [2e619515] ↑ Expat_jll v2.4.8+0 ⇒ v2.5.0+0
  [856f044c] ↑ MKL_jll v2022.2.0+0 ⇒ v2023.1.0+0
  [4f6342f7] ↑ Xorg_libX11_jll v1.6.9+4 ⇒ v1.8.6+0
  [0c0b7dd1] ↑ Xorg_libXau_jll v1.0.9+4 ⇒ v1.0.11+0
  [a3789734] ↑ Xorg_libXdmcp_jll v1.1.3+4 ⇒ v1.1.4+0
  [14d82f49] ↑ Xorg_libpthread_stubs_jll v0.1.0+3 ⇒ v0.1.1+0
  [c7cfdc94] ↑ Xorg_libxcb_jll v1.13.0+3 ⇒ v1.15.0+0
  [cc61e674] ↑ Xorg_libxkbfile_jll v1.1.0+4 ⇒ v1.1.2+0
  [35661453] ↑ Xorg_xkbcomp_jll v1.4.2+4 ⇒ v1.4.6+0
  [33bec58e] ↑ Xorg_xkeyboard_config_jll v2.27.0+4 ⇒ v2.39.0+0
  [c5fb5394] ↑ Xorg_xtrans_jll v1.4.0+3 ⇒ v1.5.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
    Building WebIO → `C:\Julia-1.9.1\bin\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\c9529be473e97fa0b3b2642cdafcd0896b4c9494\build.log`
    Building Blink → `C:\Julia-1.9.1\bin\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\08d0b679fd7caa49e2bca9214b131289e19808c0\build.log`
ERROR: Error building `Blink`:
ERROR: LoadError: Unable to find 7z.exe. Try running `make win-extras` if you built Julia from source.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] (::Main.BuildBlink.var"#1#2")()
   @ Main.BuildBlink C:\Julia-1.9.1\bin\packages\Blink\mwJC9\src\AtomShell\install.jl:53
 [3] cd(f::Main.BuildBlink.var"#1#2", dir::String)
   @ Base.Filesystem .\file.jl:101
 [4] install()
   @ Main.BuildBlink C:\Julia-1.9.1\bin\packages\Blink\mwJC9\src\AtomShell\install.jl:27
 [5] top-level scope
   @ C:\Julia-1.9.1\bin\packages\Blink\mwJC9\deps\build.jl:14
 [6] include(fname::String)
   @ Base.MainInclude .\client.jl:478
 [7] top-level scope
   @ none:5
in expression starting at C:\Julia-1.9.1\bin\packages\Blink\mwJC9\deps\build.jl:1

caused by: IOError: could not spawn `'C:\Julia-1.9.1\bin\..\libexec\7z.exe' x electron-v4.0.4-win32-x64.zip -y -oatom`: no such file or directory (ENOENT)
Stacktrace:
  [1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
    @ Base .\process.jl:128
  [2] #760
    @ .\process.jl:139 [inlined]
  [3] setup_stdios(f::Base.var"#760#761"{Cmd}, stdios::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
    @ Base .\process.jl:223
  [4] _spawn
    @ .\process.jl:138 [inlined]
  [5] run(::Cmd; wait::Bool)
    @ Base .\process.jl:479
  [6] run
    @ .\process.jl:477 [inlined]
  [7] (::Main.BuildBlink.var"#1#2")()
    @ Main.BuildBlink C:\Julia-1.9.1\bin\packages\Blink\mwJC9\src\AtomShell\install.jl:50
  [8] cd(f::Main.BuildBlink.var"#1#2", dir::String)
    @ Base.Filesystem .\file.jl:101
  [9] install()
    @ Main.BuildBlink C:\Julia-1.9.1\bin\packages\Blink\mwJC9\src\AtomShell\install.jl:27
 [10] top-level scope
    @ C:\Julia-1.9.1\bin\packages\Blink\mwJC9\deps\build.jl:14
 [11] include(fname::String)
    @ Base.MainInclude .\client.jl:478
 [12] top-level scope
    @ none:5

julia> using Glimmer
[ Info: Precompiling Glimmer [55254e13-1f76-49cc-b115-017fbe569f93]
WARNING: Method definition (::Type{Glimmer.PointCloud})() in module Glimmer at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:125 overwritten at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:371.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition kwcall(Any, Type{Glimmer.PointCloud}) in module Glimmer at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:125 overwritten at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:371.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition points(Glimmer.PointCloud) in module Glimmer at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:132 overwritten at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:378.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition render!(Glimmer.PointCloud) in module Glimmer at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:134 overwritten at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:380.
  ** incremental compilation may be fatally broken for this module **

julia>

I look forward to hering from you.
Charles
[email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.