Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1087351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:55:35+00:00 2026-05-16T22:55:35+00:00

I am interested in using shapes like these: Usually a tangram is made of

  • 0

I am interested in using shapes like these:

tangram

Usually a tangram is made of 7 shapes(5 triangles, 1 square and 1 parallelogram).

What I want to do is fill a shape only with tangram shapes, so at this point,
the size and repetition of shapes shouldn’t matter.

Here’s something I manually tried:

crescent with tangram shapes

I am a bit lost on how to approach this.

Assuming I have a path (an ordered list/array of points of the outline),
I imagine I should try to do some sort of triangulation.

Is there such a thing as Deulanay triangulation with triangles constrained to 45 degrees
right angled triangles ?

A more ‘brute’ approach would be to add a bunch of triangles(45 degrees) and use SAT
for collision detection to ‘fix’ overlaps, and hopefully gaps will be avoided.

Since the square and parallelogram can be made of triangles(45 degrees) too, I imagine there
would be a nice clean geometric solution, right ?

How do I pack triangles(45 degrees) inside an arbitrary shape ?

Any ideas are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:55:36+00:00Added an answer on May 16, 2026 at 10:55 pm

    A few random thoughts (maybe they help you find a better solution) if you’re using only the original sizes of the shapes:

    • as you point out, all shapes in the tangram can be made composed of e.g. the yellow or pink triangle (d-g-c), so try also thinking of a bottom-up approach such as first trying to place as many yellow triangles into your shape and then combine them into larger shapes if possible. In the worst case, you’ll end up with a set of these smallest triangles.

    • any kind triangulation of non-polygons (such as the half-moon in your example) probably does not work very well…

    • It looks like you require that the shapes can only have a few discrete orientations. To find the best fit of these triangles into the given shape, I’d propose the following approximate solution: draw a grid of triangles (i.e. a square grid with diagonal lines) across the shape and take those triangles which are fully contained. This most likely will not give you the optimal coverage but then you could repeatedly shift the grid by a tenth of the grid size in horizontal and vertical direction and see whether you’ll find something which covers a larger fraction of the original shape (or you could go in steps of 1/2 then 1/4 etc. of the original grid size in the spirit of a binary search).

    If you allow any arbitrary scaling of the shapes you could approximate any (reasonably smooth ?) shape to arbitrary precision by adding smaller and smaller shapes. E.g. if you have a raster image, you can e.g. choose the size of the yellow triangle such that two of them make a pixel on the image and then you can represent any such raster image.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to draw text in a DisplayObject or Shape using only
I'm interested in using the html5 notifications api but have a few questions: Is
I'm interested in using Functional MetaPost on Mac OS X: http://cryp.to/funcmp/ I'm looking for
I'm interested in using an Object-Relational Mapping package for an upcoming project. This project
I am interested in using/learning RoR in a project where I have to use
I'm interested in using a Reed-Solomon error correction [ http://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction as a reference] to
I am interested in using some kind of a command-line utility for SQL Server
I am interested in using a onmouseover event to make a listbox appear and
I'm interested in using a code coverage tool for my next .NET project but
I'm interested in using the WMD editor in another project * but I'm not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.