News:

LATEST RELEASE:  FPP 8.0 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.0

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16528
Latest: fugley
New This Month: 16
New This Week: 1
New Today: 1
Stats
Total Posts: 133167
Total Topics: 16554
Most Online Today: 87
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 32
Total: 33

Rust FSEQ parser with web viewer based on Web Assembly

Started by jonnyshare, February 19, 2020, 01:22:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jonnyshare

Hi!

I need to put this project down for a couple of weeks while I prioritise some other things but I wanted to throw this out there and see what kind of feedback I get.

With a vague motivation of doing something pixel related on an embedded system, but authoring the code in Rust instead of Arduino flavoured C, I started work on an FSEQ parser. It currently only supports v1, but what this allowed me to do was to export the parser as a Web Assembly module so that I could re-use the same code in a web application. So now I have a primitive web based FSEQ v1 visualisation.

Warning! I've only run a very small set of test files through it, nothing of significant size so I don't know at what point it will bug out.

Web application is available here: https://fseq-web.firebaseapp.com/
Code can be found here: https://gitlab.com/sharebear/fseq_parser (documentation needs some work ;) )

I'm very interested to hear if anyone sees any value in this. I'm hoping to pick up the code again mid march when I will prioritise the v2 parsing.

allknowing2012

Knowing what colors on what channels is pretty much useless without knowing the models and props that they are placed on. But I applaud your efforts.

jonnyshare

Quote from: allknowing2012 on February 19, 2020, 03:49:03 PMKnowing what colors on what channels is pretty much useless without knowing the models and props that they are placed on.
I didn't really claim that it was, my stated end goal is to use the parser in an embedded project. In it's current state the usage as a Web Assembly module is mostly proof of concept, a fun way to test different files easily and a tool for me to get up to speed with React programming.

Once I've implemented v2 parsing I'll publish the module on NPM and then if anyone wanted to go further to implement a richer visualisation they are welcome to do so. I assume this would require switching out my SVG rendering with something Canvas based for performance reasons, it would probably also make sense to do more of the work on the Web Assembly side.

Support FPP

+- Recent Topics

Control lights directly from the GPIO of a PI by Poporacer
Today at 12:25:42 PM

New K16s by dkulp
Today at 08:23:40 AM

FPP After Hours Music Plugin has been updated by jcross
September 14, 2024, 08:49:51 PM

Intermittent Test Pattern failure on Channel Outputs > LED Panel by k6ccc
September 14, 2024, 08:11:30 PM

P5 Matrix on FPP 8.0 help by darylc
September 14, 2024, 07:09:50 PM

Does the Falcon f16v4 support TM1814 RGBW LEDs? by JonD
September 14, 2024, 03:12:11 PM

Does the Falcon f16v3 support TM1814 RGBW LEDs? by ric878
September 14, 2024, 01:53:57 PM

USB Monitor (AIDA64 Style) by jnealand
September 14, 2024, 08:39:50 AM

What am I missing - FPP 8 artnet input configuration by jnealand
September 14, 2024, 08:32:21 AM

K2-Pi0 Unable to Start FPPD by k6ccc
September 13, 2024, 10:10:55 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod