MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. croxis
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 18
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Developing USGS Earthquake Map (2MB Gif Warning)

      @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)

      posted in Development
      C
      croxis
    • RE: Developing USGS Earthquake Map (2MB Gif Warning)

      I don’t understand your question

      posted in Development
      C
      croxis
    • Developing USGS Earthquake Map (2MB Gif Warning)

      Image 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:

      1. 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?

      2. “Flatten” out the dots into the sphere and hide them when they are on the far side.

      posted in Development
      C
      croxis
    • planetrise - Planet Rise/Set times

      Description:

      Display the rise and set times of planets in our solar system.
      Bottom left corner for an example

      Screenshot:

      alt text

      Download:

      [card:croxis/planetrise]


      Initial Version

      posted in Education
      C
      croxis
    • RE: Rocket Launch Tracker

      In the interm you can use https://launchlibrary.net/1.1/calendar with the calender module

      posted in Requests
      C
      croxis
    • PlutoTime

      Description:

      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

      Screenshot:

      alt text

      Download:

      [card:croxis/PlutoTime]


      Initial Version

      posted in Education
      C
      croxis
    • Getting keyboard input

      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;
          }
      });
      
      posted in Development
      C
      croxis
    • 1 / 1