nowfound

Dev tools · November 24, 2019

LegraJS

Draw with Lego like bricks on HTML canvas

LegraJS launched on November 24, 2019 with 3 votes, #1,504 of 3,203 launches that month. The site was still online in September 2026, 6 years on.

What it does

Legra (Lego brick Graphics) is a small JavaScript library that lets you draw using LEGO® like brick shapes on an HTML element. This library defines basic graphics primitives like lines, rectangles, polygons, ellipses, bézier curves, etc.

Create graphics using Lego-like bricks.

Legra ( Le go brick Gra phics) is a small ( 3.36KB gzipped ) JavaScript library that lets you draw using LEGO® like brick shapes on an HTML <canvas> element. This library defines basic graphics primitives like lines, rectangles, polygons, ellipses, bézier curves, etc. All shapes are drawn either outlined or filled in. The size and color of the bricks used can be configured. Legra can be used to create fun digital sketches, diagrams, or data visualizations. Instantiate legra instance with your <canvas> 's 2D context. The constructor, optionally, takes in two other arguments - The brick size, which defaults to 24px, and BrickRenderOptions object where you can specify the default brick color.…from legrajs.com

Does a similar job

all alternatives →

More dev tools this month

the category →
  • /dev/null▲490

    a social network for devs

    Dev tools · 4d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 29d ago · github.com

  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 17h ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 24d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 22d ago · talanoa.email

Source: Product Hunt launch ↗

Launched alongside, November 2019

the whole month →
  • Manage all your small projects for free

    Work · 2019 · basecamp.com

  • Product tips in a comic book format

    Growth · 2019 · growth.design

  • A futuristic electric pickup truck from Tesla ⚡️

    Life & fun · 2019 · tesla.com

  • Cocoon▲674

    A private app for the most important people in your life

    Work · 2019 · cocoon.com

  • Adalo▲616

    Build apps for every platform, without code ✨

    Work · 2019 · adalo.com

  • Remove the background from any image for free

    Work · 2019 · stickermule.com