Sunday, January 14, 2018

Can Processing's Turtle Library Do Beetle Blocks?

The answer is...sort of! Beetle Blocks is a fascinating blocks based programming environment that allows you to program in three dimensions using a variation of Turtle Geometry.

Image Integration With the Turtle Library for Processing

In this post I'm going to explore using Leah Beuchley's Turtle library for Processing to "stamp" images in a sort of port of Scratch's ability to stamp a sprite's costume. The turtle's self knowledge of its heading and position will come in handy here, though the way Processing's rotation method works make it a little tricky at points, but certainly worth while.
Something to try is creating a graphic that models an animal's movement, such as a butterfly, like I did here with Scratch.

Saturday, January 13, 2018

Write an Arc Function With Processing Turtle Library

Blocks based Logo environments that have an arc block, such as TurtleArt, allow you to input the angle of the arc you want to draw, as well as the radius of the circle it is on.

There isn't an arc function in Leah Beuchley's Processing Turtle library. A great challenge is to write your own arc function, and I think high school students would have a great time with this, too. I'm going to break down this problem step by step.

Sunday, December 31, 2017

Home Automation Adventure: Living With Google Home Mini

Photo credit Wikipedia
I didn't expect to have one of these and had voiced my opinion against bringing such things into the house in answer to my son's persistent begging for a while. My main objections (uneducated) were that I figured it would be less of a practically useful device and more of a pain to figure out and use, and that I didn't know how Google would end up using any information it picked up from being in our house.

Thursday, December 28, 2017

Laser Cut Boxes and Light Up Plushies: Pulling Out All the Stops In the Maker Space

I just did a hard and fun project with two English teachers as part of their 11/12 grade students reading Mary Shelley's Frankenstein. They made stuffed monster plushie dolls with hand sewn LED circuits and designed wood and acrylic boxes to "contain" them (containing the monster being one of the themes in Frankenstein).

Saturday, December 23, 2017

Processing's Turtle Library to Cricut Vinyl

Here's a workflow I'm trying out for Leah Beuchley's Turtle library for Processing, making vinyl cutouts with a Cricut Maker machine. These steps will produces shapes that will allow the cricut to follow the outline to retain the full design in one piece. Also uses Processing's pdf library. This example is a very simple shape but it will be interesting to push the Cricut and see how detailed it can get.

Saturday, November 11, 2017

Distributing Processing Apps for MacOS

Processing's ability to export a sketch to executable for Mac, Windows, and Linux is an amazing feature. But the MacOS Gatekeeper after Yosemite kneecapped this method of distribution for Mac users in Sierra and and later as the codesigning certificate implemented in Processing fails to extend to the developer's sketch, or something like that. So if you develop something in Processing and you want to distribute it without people having to open your sketch in Processing you must codesign your own app.
After some searching, I finally found out how. You have to have the paid $99/year Apple developer license, I don't think it works with the unpaid developer subscription. You get a cert in your dev account and download it to your computer, then find the exact name for the dev ID in your Keychain Access. There was something else you have to include, I believe the hash format of the ID, but I've forgotten and will update when I try this again.

Saturday, July 29, 2017

7 Segment LED and Potentiometer Control

I harvested a nice single 7-segment LED display off a control panel board of an old printer/scanner that was discarded on the sidewalk. It turns out to be this component. After looking at some Arduino 7-segment display tutorials I focused on this one and saw that I could connect the pins directly to the Arduno pinouts without needing any driver. I could also figure out the pins for each segment by trial-and-error and the datasheet showed it is common anode, so needed to connect to 5V not GND, and adjust the sample sketch in the tutorial accordingly.

Wednesday, July 19, 2017

Strobing Zoetrope v2, Now With Logo!


This project started during my participation in Design Do Discover 2017. At the end of my post about it I said I wanted to try making it work with a mashup of LightLogo and LogoTurtle and now I have! In this phase of making a zoetrope with a spinning disk of animation frames and a strobing light source, the project has gotten several upgrades:

Sunday, July 09, 2017

Create Object Multiples With a Script in Unity

It's not very hard to make a lot of some object in Unity, much easier than copying it many times. I used these instructions, Instantiating Prefabs at Runtime, to learn this, but I'm adding the twist that the item I'm multiplying is an imported Beetle Blocks 3D model.
Import Your Model. I'm importing this cool L-System tree by Eric Rosenbaum. See this post for more about importing 3D models from Beetle Blocks to Unity.