Goal: Make a fun creation that uses servo(s) to flap it’s wings, triggered by different events, like button pressed, poking (accelerometer), movement, change of light, etc. Norsk tekst: Lage en artig figur som bruker servo(er) til flaksende vinger, som trigges av forskjellige hendelser, feks knappetrykk, poke (akselerometer), avstandsmåler, bevegelse, endring i lys. v.1(the instapost has… Fortsett å lese Micro:bit owl
Kategori: Code
Blowing bubbles
Discovered the wonderful Daniel Shiffman recently, and fell in love with his beginner tutorials on p5js. What a superb educator! Click and drag to draw more bubbles. The max number of bubbles is set to 100, so by drawing new ones you can sort of control what part of the canvas they can move. Click… Fortsett å lese Blowing bubbles
Ideas for Drawing machine #1
My my how time flies. It’s been two years since I built my first drawing machine, a vertical pen plotter. I’ve since then built two more machines using the same hardware, but different sizes, and made over a hundred drawings and experiements. I even had a one month exibition at a tiny local cafe. Nerd… Fortsett å lese Ideas for Drawing machine #1
Responsive youtube background limited to div with content on top
See the Pen Responsive youtube background limited to div with content on top by Morten Skogly (@mskogly) on CodePen.
CSS3 background patterns inspired by Yayoi Kusama
Quickest way to poll a changing json and update a row in a Google spreadsheet
Aka "a poor mans database". A user asked for a playlist for one of our streaming radiochannels. We have no official playlist for that channel, and being pressed for time I hastily created a Google Spreadsheet and added a simple script for polling a json-script. It uses Google's inbuilt trigger solution for running the script… Fortsett å lese Quickest way to poll a changing json and update a row in a Google spreadsheet
ReMorten v0.1 – Part 1 – Remote camera
The ReMorten Project: A telepresence robot platform using nodejs running on the Raspberry Pi. Because why not.
Linking to a spotify search with both track and artist
It seems that Spotify has made some changes to how one should format links when performing more complex searches, causing some problems with one of the services I work on. This post describes my solution.
Jetpack JSON Api – outputting custom fields
The json api doesn’t display customfields as default. This is how to fix it.
Drawing with JS part 1
A few experiments using javascript to draw or generate graphics. Rune.js Via http://printingcode.runemadsen.com/examples/ See the Pen Rune.js 3 Manipulates the outline of a polygon by changing the position of its vectors. by Morten Skogly (@mskogly) on CodePen. See the Pen Rune.js 8 Loop by Morten Skogly (@mskogly) on CodePen. See the Pen Rune.js 4 Noise… Fortsett å lese Drawing with JS part 1