/blob-generator

A web app to randomly generate SVG blobs for users, displaying the code and colored markers to help the user understand the Bezier curves that make up the blobs (2020)

Primary LanguageJavaScript

Blob Generator - Web app to randomly create SVG blobs (2021)

Project Context

Instead of drawing out blobs for use in design and web development, this web app can randomly generate a SVG blob for the user, with a specific number of vertices, displaying the code for them to copy and showing markers to help users better understand Bezier curves. This project was inspired by the Blob Maker by creative labs.

Project Overview

The app allows a user to specify how many vertices the blob will have (n) and the app will generate a blob with this number of Bezier lines. It does this by randomly generating n number of points, with each point having two Bezier points next to it. With these points, the app calculates a path d for the SVG blob element. The app also allows the user to view the points and Bezier lines generated, so they can better understand the makeup of the code for the SVG blob.

Technologies Utilized

  • SVG
  • Bezier Lines
  • GSAP animation
  • HTML / CSS
  • JavaScript

Inspiration

Blob Maker by creative labs

Attribution

GSAP by GreenSock