Written by: Josh Rosenberg
Primary Source: Joshua M. Rosenberg – August 18, 2016
Over the past month, I have struggled to contribute (a super small contribution – only an adaptation of an already-existing part) to an open-source software project. The process has been hard, but a good experience nonetheless with a lot of help along the way.
The project is Lab Interactives which, according to the nifty site are:
. . . sharable, embeddable, and authorable components defined in JSON that wrap a model with additional inquiry-oriented user interface components such as buttons, checkboxes, sliders, graphs etc.
I was curious about making a simulation with some extra features borrowed from other simulations and a new feature. The simulation I was adapting was Diffusion & Temperature. In order to adapt this simulation, I first had to first “make” the software, per the instructions.
This took a few weeks of challenges and frustration followed by being able to simply change the title of a simulation.
I found other simulations with features I wanted to include, and copy and pasted the code for those into that of the simulation I wanted to adapt. This worked, but usually in a wonky way, in which the adaptations appeared in a different format than in the simulation I wanted to adapt, or in the wrong place.
After a bit of trial-and-error, I started to get the picture for how the simulation is laid out, and how to move parts around and even create new features. Here is how it looked:
This was rewarding, but trouble was on the horizon. Once the simulation was in somewhat ready form, it needed to be shared to the broader project, as it only worked on my computer at this time. This required using github to “pull” the changes I made, which required changes in response to comments and feedback.
So, where’s the new simulation? It is still being reviewed, but I will add a link to it here once it is available on the site along with all the other simulations.
Latest posts by Josh Rosenberg (see all)
- A Shiny interactive web application to quantify how robust inferences are to potential sources of bias (sensitivity analysis) - January 19, 2018
- Outcomes from a self-generated utility value intervention in science (in IJER) - December 30, 2017
- Review of ‘What’s Worth Teaching: Rethinking Curriculum in the Age of Technology’ - November 7, 2017