Skip to content

Major update ⚗️

Pre-release
Pre-release
Compare
Choose a tag to compare
@JerryI JerryI released this 26 Oct 17:30

demo2

Plotting Functions

Finally, BarPlot, BubbleChart, and other similar types of diagrams are supported by wljs-graphics-d3.

chart

plbublrot

If PlotRange is not provided, it attempts to autoscale the axes while maintaining an equal aspect ratio.

DensityPlot works since we implemented GraphicsComplex with the VerticesColor option.

dens

Unfortunately, only flat-shading is supported, meaning it does not interpolate a color between vertices of a single triangle. This is a bit tricky in SVG. Probably, we would need to move to canvas and use JavaScript raster graphics for this purpose.

Editor

  • Autocomplete user-defined symbols. The frontend communicates with the Wolfram Kernel every time a new symbol is created. This does have some drawbacks in terms of performance because any internal Wolfram Package brings a lot (~10^4) of new symbols in a private context, which have to be filtered out on the fly. We use $NewSymbol internal handler to manage this.

Screenshot 2023-10-26 at 13 53 31

UI Update

  • Acrylic material is now supported under Windows 11 & OSX.

9

  • Extended CSS customization and custom HTML header support (directly from the settings menu).

Untitled4

Wolfram Expressions

  • Mathematica's Boxes improvements. Now everything is a box, and one can also use the native MakeBoxes approach to construct decorations for Wolfram Expressions. Please refer to the Docs.
    ByteArray, Now, and RGBColor show an expected placeholder.

Screenshot 2023-10-26 at 13 57 15

Screenshot 2023-10-26 at 14 01 07

ezgif com-optimize-7-2 1-5c73ff8f0c5594a3a635b0638561abc9

ezgif com-video-to-gif-6

Miscellaneous

  • Unicode support (Можно писать 何でも). This was done in a somewhat unconventional way, by running over all text strings with a JavaScript RegExp, since Wolfram Language does not provide a clear way to export expressions as a Text + JSON string. Hopefully, it will not introduce any performance issues.

  • More built-in examples (see File -> Open Examples).

  • A standalone client/server mode of the app was added. Since our desktop app is basically a Chromium wrapper over the wolframscript web-server, it allows you to run the server independently. A standalone client app provides a bit more functions compared to if it were opened in a browser, such as: context menu, a top-bar menu, hot-keys... Menu->Reopen as server/client.

Screenshot 2023-10-26 at 14 39 00

Documentation

There are still many empty pages in Reference; however, some of the sections have been finished.

Screenshot 2023-10-26 at 14 29 33

Troubleshooting

Please have a look at this page if you face any issues.

Acknowledgements

@MitsuhaMiyamizu for being the first and only sponsor of this project! ❤️

Devs

@JerryI, @KirillBelovTest