stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

7h 32m 42s logged

Final touches

Spelling mistakes

I fixed a lot of spelling mistakes in the tutorial and help box sections. I think I should keep writing tutorials and docs to times before 1 am.

Plot

I also added a new output the plot :yay: !
The script gets a x value and returns the matching y value. Those pairs then get displayed on a plot using graph.js.

During this addition I also reworked the core rust 🦀 engine a bit so now stuff that should be output independent, like creating a Rhai engine or compiling a Rhai script to an AST, is in its own file.

Then I added the rust logic and it just returns an array of X and Y value pairs when done.

Adding the UI and lifecycle stuff for the plot was rather easy because I kept everything pretty modular with easy expansion in mind. However styling the plot was rather complicated and I now have a enormous JavaScript Object detailing all the small bits and pieces to make the plot look alright!

Repo

PixelMatrix was always a temporary name as it is only really fitting for the grid output, so I renamed this project to ScriptCanvas. I think this is more fitting because it does use scripts and it also draws those on canvas elements!

I also added a README to the repo.

As testing on chrome and firefox also looked good I think I am ready to ship :yayayayayay: !

0
19

Comments 0

No comments yet. Be the first!