Drawing with JS part 1

Published januar 14th, 2017 by

A few experiments using javascript to draw or generate graphics.


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 by Morten Skogly (@mskogly) on CodePen.

See the Pen Rune.js 5 Pintori Noise by Morten Skogly (@mskogly) on CodePen.

Autoruns, generates random polygon. Click rerun to … rerun.

See the Pen Rune by Morten Skogly (@mskogly) on CodePen.

Via http://printingcode.runemadsen.com/lecture-form-2/
Documentation: http://runemadsen.github.io/rune.js/documentation.html

See the Pen Rune.js 2 by Morten Skogly (@mskogly) on CodePen.

Vanilla js using canvas, via https://javascript30.com/

Click and drag to draw.

See the Pen Html5 canvas – Drawing 1 by Morten Skogly (@mskogly) on CodePen.

See the Pen Html5 canvas – Drawing 2 by Morten Skogly (@mskogly) on CodePen.

Posted in Art, Code, Testing

Kunst Knust – salgsustilling på Kafé Soil / Taps

Published januar 5th, 2017 by

I hele januar 2017 henger noen av bildene mine på koselige Kafé Soil / Taps på Bakklandet i Trondheim. Ta turen for en chilikaffe eller håndtverksøl. De fleste bildene er tegnet med min selvbygde tegnemaskin.

Posted in Artwork, DIY

Radioresepsjonen : The Game (2006)

Published desember 7th, 2016 by

Dette spillet ble lagd i 2006, den gang Flash var hot shit. Last ned råstoffet (lyder, bakgrunnsbilder, .fla-filer, osv) til spillet her: https://www.pappmaskin.no/opensource/rrthegame/rrthegame.zip


Posted in Portfolio, Web

DIY: Homemade drawing charcoal

Published oktober 6th, 2016 by

I wanted to test using drawing charcoal with my drawing machines, and decided to try to make my own instead of buying from eBay.

Charcoal is made by burning (cooking?) wood in an oxygen-starved environment.

I took a tea-leaf tin (bought in Tokyo many years ago, sad to see it go), and punched a small hole in the lid. For my first test I used cuttings from a blackcurrant bush that has been left to dry outside for a few seasons. I looked for fairly straight pieces, cut them with garden shears to fit in the thin, and put the lid on. In the evening, I made a fire in the wood stove, and placed the tin in the flames. I just left it there until the next morning.

The result turned out really great, and I especially liked that all the fine delicate details of the twigs stayed intact, even most of the bark stayed in place. I was also surprised that none of the twigs snapped. Even the thinnest came out perfect!

What’s next? You can see my first test drawing towards the bottom of this page, and I’ll update this page with other drawings later. I’m especially looking forward to testing charcoal made from different trees and shrubs, to see if there are differences.

Update: If you are an artist and want to test my charcoals I’d be happy to send you some. Send an email to morten.skogly@gmail.com. I’d love to get your feedback on how they work compared to commercial drawing charcoals.

Green tea leaf tin

Punching a small hole in the lid with an awl.

Twigs cut to size with garden shears

Snug as a bug.

Pretty pieces!

Charcoals pensils in all shapes and sizes.

Elise, Charcoal
First test using charcoal with my drawing machine.

We must be kind. Original artwork drawing in charcoal.

We must be kind. Original artwork drawing in charcoal.

Posted in DIY, Featured, Greener, Postapokalyptisk Supermarked

Idea: Mad Max RC car

Published oktober 2nd, 2016 by

Idéa / Work in process:

I was gifted this solid radio controlled car wreck after Maker Fair Trondheim 2016. It pays to have a rumor as a hoarder :)

The engine top is cracked, and one wheel is missing, but the rest of the car seems to be intact, and the frame seems to be really well made.

Some years ago I made an “art car” with my kids from a large pink Barbie toy car that was destined for the trash-bin. This time I watn to make a running, radio controlled art car.

Being a huge fan of post-apocalyptic themes, I’m thinking of making this into a dangerous looking wehicle the could fit right into the set of Mad Max.

I did some Googling and came across this hazardous looking car:

Photo: Warner bros.

Photo: Warner bros.

Photo: Warner bros.

(The Images are from Warnes Bros superb  Mad Max website. No copyright infringement intended).

Now, I don’t want a car that only looks dangerous. 

I want the car to be fricking dangerous!

 So no rubber spikes or decals with nuclear waste symbols. Just real, nasty, rusty nails and junk, placed to cause maximum damage if it crashes into you (or explodes). And perhaps a tiny coil gun cannon, or a grinder of some kind, or a flame thrower?

This is going to be awesome!

Bonus features: 

  1. Autonomy with arduino. If you move, it will hunt you :)
  2. Long range fpv. 4 km?
  3. Run the engine on methane.
  4. Frickin lasers!

Some other cars for inspiration:

Flamethrowers. You know, for kids! Photo: Warner Bros

Nice blades

That saw-arm on front look interresting.

Posted in DIY, Ideas

Drawing machine #2

Published august 10th, 2016 by

This drawing machine is built with cardboard, hotglue and small inexpensive 9g servos from Ebay, and is programmed with an arduino.

First test

Hvorfor lage bare en tegnemaskin når man kan lage to :)

A post shared by Morten Skogly (@mskogly) on

Second test

#drawbot #arduino #art

A post shared by Morten Skogly (@mskogly) on

The above video shows the Drawing machine #2 running a plotclock script, but because the servomotors are placed in a different configuration than intended the result is quite interesting.

The code is available from Codebender.cc

Posted in Artwork, Projects

Drawing machine #1

Published august 4th, 2016 by

This has been on the todolist for a few years, but today I finally got around to building my first drawbot using Arduino. I wanted to make something that was light, minimal and portable, that can be added to any flat surface with a gluegun. I use small steppermotors with bobbins (from eBay) and thread from a sewing machine to lift a coin with a sharpened charcoal-stick though the center, and a solid metal picture frame as a base.

Version 0.1: Drawing spirals

Hvorfor tegne selv når man kan lage en maskin til å gjøre jobben :)

A post shared by Morten Skogly (@mskogly) on

Arduino: Duemilanove arduino board or similar, from eBay.
2 x Stepper motors: 28BYJ48, from eBay
2 x stepper drivers: ULN2003, from eBay
Gondola: Coin with center hole. Charcoal is sharpened and fitted, and fastened with a few dots of glue.
2 x Sewing machine bobbins, from eBay with thread
Charcoal stick, from eBay
Hot glue gun, from eBay

Code (based on this):
By changing the speed and number of steps it draws asymetric paths. 2048 steps = 1 revolution on these stepper motors.

Charcoal Timelapse:

Pen plotter #1 timelapsei 12x hastighet. #hyperlapse #drawbot #arduino

A post shared by Morten Skogly (@mskogly) on

Ink Test
I cut a piece of sponge and used a pipette to add ink while the machine is running.

Arduino + steppermotorer + svamp = kunst! #arduino #drawbot #art #diy

A post shared by Morten Skogly (@mskogly) on

Version 1.0: Running Polargraph Controller software

The machine is now running the Polargraph firmware, controlled via serial from a Processing app on my laptop. It took a bit of tinkering to get the firmware to run with my steppers and drivers, but once it was up and running it worked pretty well.

Drawing machine #1 is taking shape!

A post shared by Morten Skogly (@mskogly) on

#wip #drawbot #polargraph #art

A post shared by Morten Skogly (@mskogly) on

Next steps
Run the machine on grbl firmware and test other controllers.
Testing a variations of pens and paper.
Build more machines! Some of the motives I’m working on takes up to 12 hours to draw, so to increase the learning curve I would love to have at least a few more up and running.

Useful tutorials:
Wire and run one stepper and driver.
BYJ48 stepper motor on Instructables
Code for running two stepper motors in opposite directions
Polargraph Drawing Machine on Instructables




Cardboard project box, spot glued to the back of the frame for easy removal.  

Test, running unicode.h library

Write L, R, U or D in the Serial Monitor to control the motor. (see also: Youtube Tutorial)


Serial Monitor

Posted in DIY, Featured, Projects

Juba Juba 2016

Published juni 9th, 2016 by

Vi ble invitert til barnefestivalen Juba Juba for å holde vårt Postapokalyptiske figurverksted av gjenbruksmaterialer. Festivalen ble en stor suksess, med publikumsrekord for figurverkstedet, nydelig vær, og masse unger (og voksne) som lagde tusen morsomme figurer, mutanter, økokriger, romskip og rare greier i to hele dager. Tusen takk til arrangørerene for invitasjonen, vi kommer gjerne tilbake neste år!

Lyst til å invitere oss til å holde figurverksted? Send en epost til morten.skogly@gmail.com

Følg oss også på Facebook.

Posted in Found

Skogly Pølsemakeri

Published juni 7th, 2016 by

Fersklaget pølse med egenkomponerte krydderblandinger smaker fantastisk, og er noe ganske annet enn de du få i butikken, og det er ganske lett å lage når du først har lært det.

Jeg holder kurs hjemme hos deg for folk du vil invitere, og tar dere gjennom hele prosessen, inkludert prøvesmaking eller fest med hjemmelagd tilbehør som syltet rødløk og plommechutney.

Pris etter avtale, ca 250 PR person. Perfekt for bursdager, utdrikningslag og syforeninger :)

Posted in Projects

#27: Improv-ale med korianderfrø og lavendel

Published april 26th, 2016 by

Ye. Det er ikke så ofte jeg brygger, og en av grunnene er at det blir litt mye mikkmakk med å lage oppskriften. Lat skal man være. Så jeg har brygget et par øl der jeg har tatt ting litt mer på sparket når det gjelder spesialmalten og humla. I stedet for å finmåle, så brukte jeg måleenhetene “en neve” og “en hånd” på dette ølet. Og godt ble det, spesielt flaskene som fikk stå lenge, med fine florale toner og flott balanse.


Pale malt: 2500 g
Pilsnermalt: 1370 g
Hvete: 565 g
Melanoidin: 2 never
Pale crystal 70 ebc: 2 never
Special B: 2 never
Amber: 2 never
Cara 120: 3 never

Korianderfrø: En liten hånd
Lavendel: En klype tørket blomst

En hånd Cascade og Centennial ved 60 min
En hånd Centennial ved 30 min
En hånd Centennial ved 10 min
1 liten håndfull Cashcade ved mashout

Posted in Ølbrygging