Summary
I spent the day working with the widget library and understanding how interpolating polynomials are handled by scipy.
Most of today’s developments were concerned with my random art and animation libraries, and I completed some of the most important components of the interface: setting time-dependent functions (independent of frames), and creating a widget that properly reads/writes data to a dictionary.
I still need to link the interfaces for the existing GUIs that write the properties.
- Allow removal feature?
- scrape the widgets and write to dictionary.
- New GUI for stacking effects, connecting each effect to the needed time-series based on available entries in aforementioned dictionary.
- All effects get applied with their time series, passed to animation function to be written to file.
- Maybe use the Play button to preview? (Have a GUI focused on the
num_framesperspective). It is linked to the index.
Update: As of 01/01/19, dictionary writing is working. Preview button is segmented out. Play button implemented. No removal, bare-bones working time-series manipulation. Need to add in hyperbolic tangent functions (should also write blog about these).
Notes
Still having trouble with the mybinder.org connections with my
giftplanninglibrary that tests out my deployment solutions for interactive blogs. Update: As of 01/01/19, devs and I have been in touch on gitter. Sam pushed a fix to unpkg.com and my site started to work again. TO DO: Go make a publicly accessible redundant copy of JS script, query it. Ask Elliott how to only trigger it if the first one fails.After conversing with Elliott last night (12/19/19), I think that writing a simple WebSocket atop Flask with his help may be a good solution. A JSON file gets passed back and forth, manipulations happen on a server. Still would prefer to just learn how to make the widgets do this part. Update: As of 01/01/19, I have found numerous other solutions and there is a feature request submitted for the nbinteract library that would enable me to run the nbserver that mybinder.org is providing on a machine that I own instead, which would greatly reduce latency. Would docker be able to automatically re-start it? Load balance? Etc. (probably, but that’s for later. For now, mybinder.org is fine, but steps should be taken to ensure the visualizations work in posterity). Should also attempt to get their plotting to work again (maybe one of their updates have fixed this?)