Tricolor Stripe Width Split Calculator

Ordered weighted tricolor split perpendicular to stripe direction, not assumed equal thirds or automatic flag identification.

Description

A tricolor split divides an extent perpendicular to its three stripes.

A tricolor split divides an extent perpendicular to its three stripes.1

Positive ordered weights allow unequal bands while keeping the intended stripe order explicit.

When to use Tricolor Stripe Width Split Calculator

Use this tool when you need to divide an extent into three explicitly weighted ordered bands. Establish the flag dimensions, orientation, specification, palette, or visual annotations needed for this particular calculation.

How to use Tricolor Stripe Width Split Calculator and understand its results

  1. Establish the flag dimensions, orientation, specification, palette, or visual annotations needed for this particular calculation.
  2. Enter perpendicularFieldExtent, callerStripeWeights, following the field table and rules below, then run the tool.
  3. Read result. Use the output meanings below to interpret units, signs, flags, and any nested result fields.
  4. Correct reported input issues and run again. For a successful result, check the stated evidence coverage and assumptions before using it in your review.
Input fieldMeaningValue typeRequirement
perpendicularFieldExtentPerpendicular field extentnumberRequired
callerStripeWeightsCaller stripe weightslist of numberRequired

Enter a positive field extent and exactly three strictly positive ordered weights. Normalize by the total weight and multiply by the extent for each stripe width. Return widths and cumulative boundaries starting at zero. The supplied order is preserved; units follow the extent.

width_i=extent×weight_i/Σweights; boundaries=[0,cumulativeWidths]

Symbols follow the input and output meanings and the calculation rules above.

Output fieldMeaningValue type
resultCalculated observation or referenceobject
result.widthsWidthslist
result.boundariesBoundarieslist
json
{
  "input": {
    "perpendicularFieldExtent": 120,
    "callerStripeWeights": [
      1,
      2,
      1
    ]
  },
  "output": {
    "result": {
      "widths": [
        30,
        60,
        30
      ],
      "boundaries": [
        0,
        30,
        90,
        120
      ]
    }
  }
}

Limitations and assumptions

The calculation divides one axis only. It does not infer color order, official proportions, family identity, or a complete rendered flag.

Missing required fields, unknown fields, wrong types, and violated calculation rules are input issues. Numeric values must be finite; nonfinite results are rejected. Evidence arrays must be dense, with no missing cells. Numeric observation lists allow at most 10,000 entries, subject to any smaller bounds stated above. Extremely large composite outputs are rejected.

Alternative or Complementary methods

For a related review, use Triband Per-Fly Segment Divider: A per-fly division follows the axis from hoist to fly. Three ordered positive weights define the boundary positions along that axis. For a complementary step, use Stripe Sequence Vector Encoder: An ordered stripe palette vector represents each stripe by its position in a declared palette. The same colors in another order therefore produce a different vector.

References

  1. Tricolor Stripe Width Split Calculator — tool.io

Similar or alternative tools

  • Triband Per-Fly Segment Divider

    A per-fly division follows the axis from hoist to fly. Three ordered positive weights define the boundary positions along that axis.

  • Stripe Sequence Vector Encoder

    An ordered stripe palette vector represents each stripe by its position in a declared palette. The same colors in another order therefore produce a different vector.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies