Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Inverted colour plotting
hashampers-
and
Beginner
Posts: 28
Permalink
Post Inverted colour plotting
on: May 7, 2015, 11:09
Quote

I was inspired after looking through the drawbots gallery on flickr, where I noticed a white-on-black vector drawing, and the lunar lander installation had used white on black colour combinations. I thought they looked really eye-catching, but I hadn't seen any 'regular' polargraph images attempted. I took the steps below and the results look fairly promising.

1. Get source image, and convert to grayscale, increasing contrast as necessary.

2. In photoshop, invert the image, making the white parts of the picture dark, and vice versa.

3. Plot on the polargraph using a white Gel pen on a black paper.

Image
Image

The results are nice - It's a small print, and I doubled the print at grid size 12 and 7 starting at different corner points. You still have to be a fair distance away to resolve the image, but I'll try again and plot a larger image with more range of contrast. (The starting image was very orange)

I'm presuming this will also work with the gold and silver gel pens just as well?

krummrey
Advanced
Posts: 66
Permalink
Post Re: Inverted colour plotting
on: November 1, 2015, 10:07
Quote

I've been trying to use brown packing paper and drawing with black and white on it.
ImagePioneer Plakette
ImagePioneer Plakette

The problem I have is to align both files. Is there a PAUSE command in GCode that would pause the machine, let me change the pen and then continue? Or a detection in color change in the original SVG?
That doesn't seem hard to implement and would help a lot.

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Inverted colour plotting
on: November 1, 2015, 11:12
Quote

These drawings onto brown paper look really great. That's a good mix of subject matter, technique and material. But why do you think that line sorting, colour detection, pausing and restarting wouldn't be hard to implement? A queue of commands could incorporate a new command that causes an indefinite pause, but how would you restart it?

The solution is to use your SVG generation tool to layout separations, so you'd have your "fill" paths (white lines). Load the whites into the controller app, generate the commands and draw out your lines. Then change the pen, load your outlines (black lines), generate the commands and draw _those_ lines.

A second is to just use the "pause" button on the touchscreen to pause the motors, but you'll have to keep your eyes open and recognise when the lines are about to change!

sn

krummrey
Advanced
Posts: 66
Permalink
Post Re: Inverted colour plotting
on: November 1, 2015, 17:40
Quote

What I thought was that the controller comes to the pause command and pauses the command queue. Just like it would when I press pause. I then could change the pen and resume by pressing onto the line above the queue, just like I would have to when I had pressed for pause myself. So the controller would have to watch out for such a pause command before sending it to the Arduino. That seemed fairly simple to me. But I'm not a programmer...

Loading two files makes it hard to align. It didn't load into the same position as the other one. That's why it is off by a mm or so.

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Inverted colour plotting
on: November 1, 2015, 22:54
Quote

Put a frame around both source SVGs so they have the exact same outside dimensions - they'll align ok that way.

I had shied away from putting commands for the _controller_ itself into the command queue... I smell a bit of an opportunity for complexity there, but... why not!

sn

krummrey
Advanced
Posts: 66
Permalink
Post Re: Inverted colour plotting
on: November 2, 2015, 20:10
Quote

It worked this time. 🙂 Couldn't really say why it didn't the first time. So maybe that Pause command isn't really necessary after all. Will keep you posted how the next drawing turn out.
ImageMaria

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Inverted colour plotting
on: November 2, 2015, 20:59
Quote

Looking good!

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.036 seconds.