Chuck Grimmett

Tutorial

Taxonomies

  • Adding a Slide Platform to an A-Frame Swing Set

    Adding a Slide Platform to an A-Frame Swing Set

    Part one is making the basic A-frame swing set: https://cagrimmett.com/2022/08/06/building-a-swing-set-with-a-frame-brackets/

    Part two is adding a climbing wall: https://cagrimmett.com/2024/03/07/adding-a-climbing-wall-to-an-a-frame-swing-set/

    This is part three.

    Three years ago I built a simple A-frame swing set for my son. Two years ago I added a small climbing wall. This year I added a slide platform!

    I wrote this post as a starting point for other people wanting to do the same. I don’t claim to have done everything correctly or in the best way. Feel free to change and adapt to suit your needs.

    Dimensions

    • Platform is 5’x8′ and raised 5′ off the ground.
    • Roof is 6’x12′ and raised 7′ off the platform in the front, 6′ in the back.
      • If I redid this, I’d probably go 8’x12′ for the roof.

    Materials

    • Wood
      • I went with all pressure treated since it is going to be exposed to the weather.
      • 4x4x12 – 4
      • 2x6x8 – 4
      • 2x6x10 – 3
      • 2x4x8 – 5
      • 2x4x10 – 3
      • 2x4x12 – 4
      • 1x4x8 – 6
      • Deck boards (5/4″ x 6″ x 8′) – 13
    • Roof panels
    • Swing set bracket replacement for one side
      • The original A-frame swing set had two angled leg brackets. For adding on a slide platform, one of the sets of legs needs to be perpendicular to the ground, so you need a 90deg bracket. Eastern Jungle Gym was out of them, so I found a less expensive alternative.
    • Concrete 4×4 post holders – 2
      • 2 instead of 4 because with the 5×8′ platform, there is no room for the concrete holders on the swing set side. They aren’t really needed on that side because there is a lot of structural support from the swing set itself.
    • Fasteners
    • Accessories
      • Slide
        • You can get any slide you want as long as it is a 5′ platform mount. Check Craigslist or Facebook marketplace. I bought one new because I couldn’t find a used one that was in passable condition.
      • Pirate ship wheel
        • Warning: This thing clicks when spun. I didn’t know that when I bought it. You can break the clips inside to make it stop, but I didn’t do that because Charlie likes the clicking.
      • Handles
      • Bucket + pulley + rope
        • I saw this on a playset at my aunt and uncle’s house, and Charlie loved it.
        • I don’t have specific links, but I went to the local TSC and bought some rope, a pulley that fit the size of the rope, a screw hook to hang it on, and a heavy duty feed bucket that won’t crack when dropped from 8ft up with rocks in it.

    Assembly

    n.b. I didn’t go into extreme detail on all the steps, cuts, lengths, etc. I added photos and basic dimensions, so you can definitely figure it out. I didn’t work from plans either.

    1. Replace the A-frame bracket on the side you want to put the platform on.
      • This is a bit tricky because you have to hold it up while you replace it. I unscrewed the 4×4 legs and the bracket, then stood on a trestle ladder and held the swing set up while Amanda pulled out the legs. Then I slid the old bracket off, slid on the new one, and Amanda put the legs back in. Then I put the screws back in.
    2. Attach the first 2x6x8 on the perpendicular swing set legs, top 5′ off the ground and level with the ground. Use the structural lags.
    1. Level and attach the two 4x4x12s.
    2. Set out the two outside concrete post holders, add the 4x4x12s, and clamp fit the 2×6 (cut to a 5ft length) to the other posts. Make sure everything is level in both directions, and make sure the outside length of everything is 8ftx5ft, not the inside length.
    3. Add the 2x6x8 outside beam.
    1. Add the inside floor joists, also from a 2x6x10 cut in half.
    1. Add the 8ft deck boards on top. Make sure you screw them down to every joist, or they will warp. Notch the corner ones to fit around the posts.
    1. Add the ladder. I made mine 30in wide, and there is a full deck board gap in-between the rungs. Cut an angle in the 2x4s at the top so they lay flat. Attach a stake on the side so it doesn’t bounce when kids climb up.
    1. Climb up and add the railings. I know my spacing isn’t even, but that is to allow lifting things up into the platform, and also to discourage climbing them. They are just a bit too high for Charlie to scale, but making them even would have been climbable. Leave the appropriate spacing for the slide!
    1. Add the slide.
    1. Add the bucket, handles, and other accessories.
    1. Add the roof.
      • Attach the 5 supports to the posts. They need to be long enough for a rafter to sit on the outside, so 63″ long total, with an inch and a half hanging off each side. I put mine 7ft high in the front, 6ft high in the back (so a 1ft drop over 8ft, which is a 1.5:12 pitch.) I wanted Amanda and me to be able to stand in there comfortably.
      • Add the 12ft rafters, two on the outside and two in the inside equally spaced.
      • Cut the rest of the post off flush with the rafters.
      • Add the purlins, with the roof mounting strips attached before you put them up. Make sure they are aligned correctly or you won’t be able to put the roof panels on.
      • Add the roof panels! You have to screw them in from the top, so plan accordingly. The first two panels are easy. You can stand on a trestle ladder on the platform. The third will require a regular tall ladder and preferably someone to hold it.

    Done!

    Charlie has been enjoying it every single day. He loves it. We’ve also had three family picnics up on the platform for dinner since it has been up and that has been the best.

    Ideas for the future:

    • I could see us enclosing the far side and making the entire thing a climbing wall when Charlie is bigger.
    • Staining the whole thing to protect it longer and make it look better.
    • Maybe a rope or chain ladder instead of the wooden ladder?
  • Adding a Climbing Wall to an A-frame Swing Set

    Adding a Climbing Wall to an A-frame Swing Set

    Part one is making the basic A-frame swing set: https://cagrimmett.com/2022/08/06/building-a-swing-set-with-a-frame-brackets/

    This is part two.

    Part three is adding a slide platform: https://cagrimmett.com/2025/05/03/adding-a-slide-platform-to-an-a-frame-swing-set/

    Last year I added a climbing wall to one of the sides and my son loves it. A friend asked for the details, which made me realize I should have posted the details here a year ago.

    Charlie loves it and do his friends. It was a good addition to the swing set.

    Wood

    To cover one side, I needed 8 of the 1x6x8ft pressure treated boards, the kind used for decking. https://www.lowes.com/pd/Severe-Weather-Common-1-in-x-6-in-x-8-ft-Actual-0-75-in-x-5-5-in-x-8-ft-2-Treated-Lumber/4564826

    Here is the sheet I used to figure that out: https://docs.google.com/spreadsheets/d/1JE79RWOiklblWVIWV1-GkEgOdemtBh1xLphUyZDpNto/edit?usp=sharing

    I ended up placing and marking them to cut instead of the sheet, but the math was useful in figuring out the number to buy.

    If you use 8ft 4x4s for the sides and the A-frame brackets in the previous post, your math should be the same.

    Hand holds, handles, and a bell:

    • Hand holds: https://www.amazon.com/gp/product/B005KUOY8O?th=1
      • I actually bought and used a different kind with different colors first, then needed more and got these green ones, and I like the green ones a lot better. The bolts on these are shorter and don’t stick out the back.
      • You’ll need 4-7 packs depending on the age of your child. 4-5 for the bigger kids, an additional 1-2 for younger ones with a smaller reach. Right now I have 30 hand holds on mine, which is good for Charlie (2.5 years old, 1.5 when I put this up.)
    • Side handles: https://www.amazon.com/gp/product/B08MFHB5X6
      • I put these on the sides, with the thought that if a kid gets too close to the edge they can easily grab on to this instead of falling, and Charlie uses these a lot. I’m glad I put them on.
    • Bell: https://www.amazon.com/gp/product/B0811BN1P1
      • I put this bell at the top and Charlie absolutely loves ringing it. Also lets me know he is climbing if I wasn’t paying attention, and I walk back over there.

    The Process

    1. Place the boards one by one against the side, mark them, and cut them to length. Make sure to cut as close to the edge as you can… you want to use the offcuts later on higher up.
    2. Screw each one on before marking the next one. I used 3in deck screws.
    3. Decide where you want the hand holds and drill holes for the bolts. I used one of the hand holds as a guide.
    4. Go around the back and hammer in the T nuts to the holes.
    5. Go back around to the front and screw on the hand holds. I used an impact driver.
    6. Add the handles on the sides. I put them 1/3 and 2/3 of the way up.
    7. Add the bell on top.
    8. Use a belt sander, small disc sander, or router to round over the sharp edges on the cut edges.

    I put a pull up bar on the back side for me. You can’t see it from the front, so it doesn’t look ugly from the house. https://www.amazon.com/gp/product/B09PRD5GRS

  • Building a swing set with A-frame brackets

    Building a swing set with A-frame brackets

    We just built my son a swing set using Eastern Jungle Gym’s A-frame brackets. When I started out, I couldn’t find a guide that laid out everything I needed to buy, how to put it together, and what kind of footprint the finished product would have. So I decided to put one together.

    Finished Dimensions

    • Width: 7ft 3in
    • Length: 13ft 3in
    • Height: 7ft 9in

    Lumber

    • 4 – 4″x4″x8′ pressure treated posts
    • 1- 4″x6″x10′ pressure treated beam

    Some people don’t like the chemicals in pressure treated wood, but this is going to be out in the elements 24×7, so I think it is worth using treated lumber to keep it from rotting. I plan to put deck sealer & stain on mine once it dries out a bit.

    Lumber is very expensive right now, so this cost $127 when I purchased it in July 2022.

    Hardware

    • 2 Eastern Jungle Gym A-Frame brackets
      • This kit comes with the brackets and the bolts that you will need. Make sure to get the A-Frame brackets, not the 90 degree brackets.
    • Swing brackets
      • You need two per swing. The 10′ beam has enough room for two swings, so I linked to a set of four brackets. You could squeeze in a third if you needed to. These are nice because they will go all the way through the beam and hold a lot of weight. There is no way these are coming out. The ones that just screw to the underside of the beam with a few screws make me nervous.

    Swings

    You’ll need swings! The swing set I built is for a 1 year old, so we have two baby swings: One black bucket swing like the ones you see at playgrounds and one of the blue Little Tikes rocker swings that is more of a full seat. Charlie likes both, so we usually switch between them when we are swinging. He usually starts in the bucket swing then switches to the rocker when he gets tired of holding himself up. We also have a regular sling-style swing to switch in if an older kid comes over (or for Amanda or me to use!).

    We also plan to get a two-person porch swing to occasionally swap in so Amanda and I can sit there while Charlie is playing in the yard when he is a little older. The swings are easy to change with the swing brackets I linked to above—just pull out the pin, pull off the chain, put the new chain on, and put the pin back in.

    Eastern Jungle Gym, the makers of the A-Frame bracket we are using, has lots of good swing options for all ages.

    If you buy or have a swing that doesn’t come with chains, you’ll need approximately 10 feet of swing chain per swing (5 feet per side).

    Tools

    • Drill set up for drilling
      • I think we used a 3/16″ for drilling pilot holes for the lag bolts for attaching the A-frame brackets to the posts and beam to avoid them splitting.
      • We used an extra long 1/4″ bit to drill the initial hole though the beam for the swing brackets. Then we enlarged it from each side with a 7/16″ bit (the hanger brackets are 10mm, which is between 3/8 and 7/16).
    • Impact driver
      • You either need a socket adapter to use one of your sockets with the impact driver to drive in the hex lag bolts, or you could use a universal driver if you have one.
      • If you don’t have an impact driver, you could use a standard drill on the low setting, or you could use a socket wrench, though it will take longer.
      • Some swings have special kinds of bolts that you need a special driver (like a star bit with a pin in the center) to attach to the chain. Take a look at your swings before you get started to see what you’ll need.
    • Bolt cutters
      • We needed to cut some chain down to the right length, so bolt cutters came in handy.
    • Adjustable wrench
      • You’ll need a wrench to put the nuts on the hanger brackets. They are too long for a driver.
    • Hack saw with a metal cutting blade + Angle grinder with flap disc
      • The hanger brackets we bought stuck out of the top of the beam a few inches, so we used a hack saw with a metal blade to cut them down after they were on, then ground them down with an angle grinder + flap disc so they wouldn’t be sharp. This step is totally optional.
      • The bolts are stainless steel, so they will dull your blade quickly. Might need a backup blade.
    • Sawhorses
      • Sawhorses are helpful, but not necessary. You could put this together on the ground.
    • Rubber-faced hammer
      • We had to tap the A-Frame brackets and the swing hanger into place with a rubber-faced hammer. If you don’t have one, you can use a regular hammer with a piece of 2×4 as a buffer so you don’t mar your brackets.
    • Measure tape
      • We need to do a bit of measuring to get the swings in the right place.
    • Short step ladder
      • Will be helpful for driving the bolts and attaching the swings once the swing set is stood up.
    • A friend
      • This is heavy. You’ll need someone to help you stand it up!

    Putting it together

    1. Put the A-frame brackets on the 4x6x10 beam with the outer edge of the beam flush against the outside of the brackets. Make sure the spots for the legs are facing out and down.
    2. Drill pilot holes with 3/16in bit and drive the lag bolts in to secure the A-frame brackets in place.
    3. Drill the holes for the hanger brackets. Measurements here assume two regular swings. You may need to adjust if you are adding a third swing or a two-person swing.
      1. Measure 10in from the inside edge of the A-frame bracket and make your first mark. This is where the first bracket of the first swing will go. Then measure 24in from your mark and make your second mark. This is where the second bracket of the first swing will go.
      2. Repeat from the other side.
      3. You will have something like 29in between the two inside marks.
      4. Make marks in the middle of the beam at your marks.
      5. Drill the pilot holes all the way through with the long 1/4in bit at all four marks. Make sure the bit is perpendicular to the beam and straight.
      6. Enlarge the holes with a 7/16in bit from both sides.

    Here is a rough diagram of what the bracket placement looks like:

    1. Put in your swing hanger brackets.
      1. You want the bracket flush against the beam on the bottom, so run one washer and nut all the way down to the U-shaped hanger.
      2. Tap the bolts through.
      3. Put a washer on the top, then use your wrench to tighten down the lock nuts.
      4. Cut off and grind down the bolt if you’d like to. Leave some of the thread in case you need to get the bolt off later.
    2. Put in all four posts for the legs and drive one bolt in each, then stand it up. You’ll probably need two people for this.
    3. Adjust the legs (wiggle them, pull them out, push them in, etc) until they seem solid and at a good resting spot. Then drill pilot holes with the 3/16in bit and drive in the remaining lag bolts.
    4. Attach the swings. Make sure the chains are the same length. Count the links! If you need to shorten the chain, this is where the bolt cutters come in handy.
    5. Go get your child and push them on the swing!

    Future plans

    1. We plan to put deck sealer + stain on the wood to help it last longer (and look better in the yard)
    2. Next year I plan to put a small climbing wall on one side, kind of like this:

    Update, March 2024

    I added the climbing wall and wrote a post about that, too.

  • How to create Vera Molnar’s Structure de Quadrilatères in p5.js

    When trying to learn how to create art, it is helpful to study and copy works of the masters. Painters call this exercise the master study. This exercise is also helpful in generative art!

    This tutorial is a master study of one of Vera Molnar’s Structure de Quadrilatères using p5.js:

    Structure de Quadrilatères, Vera Molnar, 1987

    A couple things to keep in mind:

    • It is important to remember that a master study is a learning exercise, not something to be passed off as your own art. Give credit where credit is due. This is Vera Molnar’s work.
    • This isn’t a pixel-perfect recreation, but rather a generative technique that will create a similar work.
    • This tutorial isn’t perfect. There are other (probably better) ways to structure this code. Use it as a learning tool.
    • Write the code yourself and play around with the parameters to get a sense of how it works.
    • This tutorial assumes you already know how to set up a p5 canvas and the basics of the setup and draw functions. If not, check out the p5js.org Get Started tutorial first.

    This is a great piece to learn some of the basics of generative art with. It uses nested iteration, randomization, an 8×8 grid, and a nice color scheme.

    Let’s break it down into some manageable chunks:

    1. Drawing a randomized quadrilateral
    2. Drawing randomized quadrilaterals in a grid
    3. Drawing multiple quadrilaterals at each spot in the grid
    4. Adding color

    Drawing a randomized quadrilateral

    I like to start with making sure I know how to make each of the basic elements in the sketch before trying to throw them all together. In this piece, one of the basic elements is in the name: Quadrilaterals, the shape with four edges and four vertices.

    Taking a look at the Shapes section of the p5 reference, we see that they have a quad()primitive. What luck! Another way would be to draw four separate connecting lines, or drawing a square and skewing it in various ways.

    So let’s draw a basic quadrilateral to get a sense of how they work.

    
    

    Great! Now let’s add in some randomization. We’re going to use the noLoop() function so that we only get one quadrilateral each time we hit Play. If it looks like your sketch is glitching, you probably forgot the noLoop.

    To add in some randomization, we are going to use the random() function. While doing this, keep in mind the order of arguments for the quad function: Clockwise from upper left. That will help us set the bounds for what we want random() to return. For example, for the first (upper left) vertex, we probably want a point somewhere between (0,0) and (50,50). So that would mean the first two arguments of the quad function need to be random(50), random(50), meaning: “pick a number between 0 and 50 for x1 and a number between 0 and 50 for y1.”

    Now that we’ve added in the random() function for each vertex, each time you hit play you should see a different quadrilateral.

    
    

    Great! Play around with this a bit to grok how it works. Next step: Draw a bunch of these in a grid.

    Drawing randomized quadrilaterals in a grid

    Iteration might seem like a bit of a jump if you’ve never encountered it before. If not, that is okay–go check out Dan Shiffman’s videos on loopsArchived Link and then come back.

    Here I’m setting up a grid, which is an embedded iteration (nested for loops), and then at each spot in that grid I’m drawing a quadrilateral.

    You’ll notice a few other things in this code:

    • Some variables
      • numShapes
        • The number of shapes per side. Vera used and 8×8 grid, so we will too.
        • Change this number and see how the grid changes!
      • size
        • The size of each shape based on the canvas width, number of shapes per side, and the space we want around the outside
      • width
      • height
    • push() and pop()
      • push() starts a new drawing state, then pop() resets it. Critical here because we are using translate() to move the starting point for each shape. If we did this without push() and pop(), the translate would be additive, so it would not look like a grid. Comment out push() and pop() to see how it would look.
    • translate()
      • translate() moves the starting point for everything that comes after the translate() function. Here we use it to move each shape to its correct location within the grid by using the x and y variables provided by the for() loop multiplied by the size variable, and offset by the spacing.
      • If you are having trouble understanding it, play around with translate() on a fresh sketch to get a sense of how it works.
    • Different values for random inside the quad function than we used earlier
      • This is because we are offsetting in absolute numbers, not relative percentages. 20 pixels on a shape that is 300 pixels wide is a smaller relative amount than 20 pixels on a shape that is 40 pixels wide.
      • ❇️ Bonus challenge: figure out how to make the offsets relative!
    
    

    Great! We are getting somewhere. Now let's do another loop so that we get multiple quadrilaterals in each spot on the grid.

    Drawing multiple quadrilaterals at each spot in the grid

    Now we need to go back and look at Vera's original piece and make a choice: Do we draw all of the quadrilaterals in each spot before moving on to the next, or do we draw all of the bottom layer, then all of the second layer, etc? The answer to this determines where we put the loop: Inside the grid loop where the quad() function is, or outside the grid loop to draw multiple grids.

    Looking at how the lines on Vera's original piece overlap, I think we should do the latter: Drawing multiple grids. This doesn't matter so much when the lines are all black, but it will make a big difference when they are in color.

    How many? Let's start with 12 and see how it looks.

    
    

    Looking pretty good! Go ahead and play around with some of the variables and the inputs to the random() functions to see how it affects the output.

    Adding color

    Okay, getting close! Now we need to add some color.

    For a single grid that would be easy: Just set up an array of colors and pass that array to random() inside the stroke() function right before the quad() inside the loop. It isn't that simple when we are drawing multiple grids with a loop because that will lead to different colors within a pile of quadrilaterals. That might look cool, but it isn't what Vera's piece looks like.

    So what do we do? There are multiple ways to solve this problem, but my preferred way to making an array of color options and using a loop to create an array of color assignments the same size as the grid.

    You'll note that I'm using the HSB color mode here. Check out Tyler Hobbs's great article about it.

    I sampled Vera's original piece and created an array of the HSB version of colors she used with 0.9 opacity (trying to mimic the pen color bleed-through overlap).

    
    

    Almost there! Here is one of our versions compared with Vera's:

    Looks like we are getting very close. I think the final steps here are to:

    • Add more quadrilaterals to each stack
    • Adjust the stroke weight
    • Play with the stroke color opacity
    • Dial in the variability of the quadrilateral vertices

    I'll let you take it across the finish line. You've got this! 💪

  • How to clean up text pasted from Google Docs with Atom and Regular Expressions

    Have you ever pasted text from Google Docs onto your blog (WordPress or otherwise) and had to fix wacky formatting? Here is how to quickly strip out all those extra HTML tags using regular expressions with Atom.io, a free text editor.

    Links: