Giter VIP home page Giter VIP logo

mmm-art's Introduction

MMM-Art

Centuries old artwork from the Rijksmuseum, Amsterdam, Netherlands.

How dare you, Mykle?

Is it presumptuous of me to create a module, using an API for a museum that I've never been to? Hell, I've never been to Amsterdam, either, but my answer is still, "No, it's not." I like art. I like making MM modules. I found the API and you didn't. ;^)

How it works

No big secret here. The artist's name. Below that the artwork is displayed. Below that, the name of the piece, the artist's name again, and the year.

Examples

  • Shown with header

,

  • Annotated .css file included for aligning and coloring text and header.

Installation

  • git clone https://github.com/mykle1/MMM-Art into the ~/MagicMirror/modules directory.

  • Get your API key from https://www.rijksmuseum.nl

To access the data and images, you must request an API key. Then you can join your advanced settings in your National Student Account (https://www.rijksmuseum.nl/rijksstudio). You will get a code immediately.

Config.js entry and options

{
    module: 'MMM-Art',
    position: 'top_left',              // Works well anywhere
    config: {
	apiKey: "apiKey goes here",    // Enter your apiKey
	useHeader: true,              // true if you want a header
	header: "Rijksmuseum, Amsterdam, Netherlands",   // Any text you want
	maxWidth: "300px",             // Stretch or constrain according to region
	animationSpeed: 3000,          // New artwork fades in and out
    }
},

For art lovers everywhere!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.