@lolobyte I forgot to change the readme file from one of my other modules. I fixed it.
@strawberry-3-141 Is the convention to prefix modules with MMM, or is it s stylistic choice? I did a quick fix for the timings (I set them low for debug purposes)
@lolobyte I forgot to change the readme file from one of my other modules. I fixed it.
@strawberry-3-141 Is the convention to prefix modules with MMM, or is it s stylistic choice? I did a quick fix for the timings (I set them low for debug purposes)
I don’t understand your question
I’m using d3.v4.js to put together a spinning map of Earthquakes from the United States Geological Survey. Here is my current code..
There are two major bugs I need to fix before release:
I’m getting incredible slowdowns after a minute of running in firefox on my desktop pc. I hate to see what would happen on a pi. I’m at a bit of the loss on what the issue is, but I am sure it is how I’m setting up and updating the dom. Any performance profiling tool suggestions?
“Flatten” out the dots into the sphere and hide them when they are on the far side.
Display the rise and set times of planets in our solar system.
Bottom left corner for an example

[card:croxis/planetrise]
In the interm you can use https://launchlibrary.net/1.1/calendar with the calender module
Calculates the next time on a clear morning or evening that you can go outside and experience the brightness of high noon on Pluto.
The code has been obtained from NASA’s website on the topic: http://solarsystem.nasa.gov/planets/pluto/plutotime

[card:croxis/PlutoTime]
I’ve started working on a set of modules where a user can chat with the mirror via keybaord input and get responses from some kind of neural network ai. I’m running into a brick wall on getting keyboard input. Right now I’m using an inputbox but keypresses don’t seem to show up in it. I know a little python but webdev and javascript is new to me. Here is the very basic code I have so far and thanks for the help!
Module.register("keyboard", {
getDom: function() {
var wrapper = document.createElement("div");
var form = document.createElement("form");
var inputbox = document.createElement("input");
inputbox.setAttribute("type", "text");
form.appendChild(inputbox);
wrapper.appendChild(form);
Log.info(this.name + " worked.");
return wrapper;
}
});