Startsidan  ▸  Texter  ▸  Teknikblogg

Anders Hesselbom

Programmerare, skeptiker, sekulärhumanist, antirasist.
Författare till bok om C64 och senbliven lantis.
Röstar pirat.

Tag: Monkeybone

Drawing a HTML5 heart with Monkeybone
2010-09-17

This demonstration shows how you can create a Monkeybone picture from scratch and to export it as a HTML5 vector image. The required software is Monkeybone Viewer version 1.5 or later. Step 1: Create the file. To do this in Windows, you must make [...]

Monkeybone Viewer 1.4
2010-09-10

The Monkeybone Viewer (1.4) has improved HTML5 export support and a new slideshow feature. The slideshow can display png, mob and jpg images in a specific folder. Download link on this page.

Export HTML5 Canvas images
2010-09-04

The latest addition to the Monkeybone Viewer (1.3) is the ability to save images as HTML5 Canvas images. This feature is not working perfect yet - there are still features that the Monkeybone image format can render, but not export correct. This feat [...]

Monkeybone: The Spline instruction
2010-08-07

Using notepad The Spline instruction has syntax similar to the Line instruction when named arguments are used, but each value has a magnet attached to it. The line will bend to the magnet. This will draw a red line on a black image, from the upper l [...]

Monkeybone: The Line instruction
2010-04-25

There are two alternative ways to use the Line instruction in a Monkeybone image (a text file with .mob ending). You can either use named arguments or a list of coordinates. This example demonstrates both alternatives. The first V symbol is drawn usi [...]

Monkeybone Viewer improvements, March 2010
2010-03-14

The Monkeybone file format is frozen and a description of the format is added to the Help menu. Direct download.

Monkeybone: The Bar instruction
2010-03-13

The Bar instruction, as it appears in a Monkeybone Image (a text file with .mob ending) is a line with at least five parameters. The color of the bar, the X and Y position of the bar, the width and height of the bar. The following lines in a .mob fil [...]

Tint, Noise and Blur
2010-01-30

This image simply demonstrates the filters that are available in Monkeybone. Tint overlays a color, Noise adds noise to the image and Blur decreases focus. This is the content of the .mob file: //Initialize the image. Clear 400x300 #707070 //D [...]

Doing filters in Monkeybone
2010-01-27

The filters in Monkeybone rely on regions to know what area on the image they apply to. The following lines define a picture 400 pixels wide and 300 pixels with black background. Also, it defines an invisible region. Clear 400x300 #000000 Region [...]

Using regions
2009-12-29

Regions are used to define a path or an area for later use. The Region instruction takes any number of coordinates (3 or more), and stores them in memory. The region can then be used for drawing. The following example is done in Notepad. I have creat [...]

Some changes made to the viewer
2009-12-28

Some changes are made to the Monkeybone viewer, that is not related to the Monkeybone format (*.mob files). These changes are made just to make the viewer more decent. Not only Monkeybone images can be opened. Now, you can open PNG and JPG files a [...]

The Monkeybone writer
2009-12-23

The Monkeybone Viewer takes a mob file and displays its content on screen. The file stores instructions, such as Bar and Line, as Unicode text. These files can be created by hand using any text editor, such as Notepad (shown here, here, here and here [...]

Dual coordinate systems
2009-11-27

This picture illustrates the different coordinate systems that Monkeybone is using. Both lines are drawn from 0, 0 to 30, 30. The yellow line is drawn using the coordinate system of the image itself, and the green line is drawn using the coordinate s [...]

Installation
2009-11-11

The installation program can be downloaded from here or from the Monkeybone page. If you have a previous version of Monkeybone Viewer installed, don't forget to uninstall that (from the Control Panel) before installing a new version. The installation [...]

Drawing lines
2009-11-06

The basic syntax for drawing lines is this: Use the Line instruction, pass a start coordinate (X1 and Y1) and an end coordinate (X2 and Y2) and a color. This example draws a line across the picture: //Set image size and background color. Clear 40 [...]

Monkeybone: Creating a bar diagram using Notepad part 4/4
2009-11-04

Continued from here. To finish this, I want to add some effects, and save it as a png file. Adding shadows To add shadows behind each bar, just add the Shadowed argument to each bar. Example: DiagramBar #ff0000 X:25  Y:0 W:20 H:200 Label="App [...]

Monkeybone: Creating a bar diagram using Notepad part 3/4
2009-11-03

Continued from here. Text can be added below and above each bar. To add text below, use the Label argument. To add text above, use the Value argument. I show the complete file content below; the latest additions are highlighted with bold font. The [...]

Monkeybone: Creating a bar diagram using Notepad part 2/4
2009-11-01

Continued from here. Bars can be added to a diagram using the DiagramBar instruction. DiagramBar differs from the Bar instruction in that it use a virtual coordinate system (from a previous Diagram instruction) with its zero position in the left b [...]

Monkeybone: Creating a bar diagram using Notepad part 1/4
2009-11-01

To make a diagram by hand using Notepad, start Notepad, click File and Save as. Change the filter from txt to All files. Provide a filename that ends with .mob (I will use bardiagram.mob in my example) and change the encoding to UTF-8. Then, click sa [...]

Drawing bars
2009-10-31

To do bars, the Bar instruction is used. It takes the color, position and size as arguments. This code... //Set image size and background color. Clear 100x100 #003366 //Draw a dark blue bar that covers most of the image. Bar #225599 X:10 Y:10 [...]

Short introduction to Monkeybone
2009-10-31

The posts that I am doing on Monkeybone might only be interesting if you are develop programs that do charting or if you want to be able to produce nice looking charts. Monkeybone is a vector image format, mainly designed for producing bar charts and [...]



En kopp kaffe!

Bjud mig på en kopp kaffe (20:-) som tack för bra innehåll!

Bjud på en kopp kaffe!

Om...

Kontaktuppgifter, med mera, finns här.

Följ mig

Twitter Instagram
GitHub RSS

Public Service

Folkbildning om public service.

Hem   |   linktr.ee/hesselbom   |   winsoft.se   |   80tal.se   |   Filmtips