DEV Community

Cover image for I Built a Fabric Finder Tool for Sports Jerseys for B1 Apparels
Ameer Hamza
Ameer Hamza

Posted on

I Built a Fabric Finder Tool for Sports Jerseys for B1 Apparels

When people think about sports jerseys, they usually focus on design, colors, or fit.

But after working around sportswear, I kept noticing something else:
people were often wearing the wrong fabric for their conditions — especially in hot or humid environments.

That observation led me to build a small fabric finder tool. But more importantly, it helped me understand how complex fabric selection actually is.
Here is a link of Tool: https://b1apparels.com/pages/sportswear-fabric-recommender-tool

The Real Problem: Too Many Variables

At first glance, choosing a jersey fabric seems simple. But once you break it down, multiple variables start interacting:

Temperature
Humidity
Type of sport
Intensity of activity
Fit preference

Each of these factors changes how a fabric performs.

For example:

A breathable polyester might work great in dry heat
The same fabric can feel uncomfortable in high humidity
A tight fit changes airflow and heat retention completely

This isn’t something most users think about — but it directly affects comfort.

Why Static Fabric Advice Fails

Most online guides say things like:

“Use polyester for sports”
“Mesh is breathable”

While true, these are static recommendations.

They don’t consider:

Context (weather + activity)
Interaction between variables
Real-world usage

That’s where I realized the gap:
there’s no simple way to combine these inputs into a decision.

Building the Fabric Finder Tool

So I decided to build a lightweight tool that does one thing:

👉 Take real-world inputs and return a practical recommendation

Inputs:

  • Temperature
  • Humidity
  • Weather condition
  • Sport (football, basketball, baseball, etc.)
  • Fit preference
    Output:

  • Fabric type (e.g., polyester mesh, blend, thermal)

  • Jersey type (breathable, compression, etc.)

  • Fabric weight (light / medium / heavy)

  • Short reasoning

*The goal wasn’t to make it “AI-heavy,” but to make it useful and structured.
*

Key Insight: Context > Material

One of the biggest lessons from building this:

The “best fabric” doesn’t exist — only the best fabric for a situation.

For example:

Hot + humid → airflow + moisture-wicking becomes critical
Cold → insulation matters more than breathability
High-intensity sports → lightweight + stretch is key

This shift from material-first to context-first thinking is what the tool tries to solve.

Translating Real-World Logic into Code

Instead of relying on generic recommendations, I structured the logic like this:

Weather conditions influence base fabric selection
Sport type modifies durability vs breathability
Fit preference adjusts stretch and compression
Output combines all factors into a single recommendation

It’s not overly complex, but it reflects how decisions are actually made in practice.

Why This Matters (Beyond Sportswear)

This project isn’t just about jerseys.

It’s an example of a broader idea:

Many everyday decisions are multi-variable problems, but we treat them as single-variable choices.

By structuring inputs and mapping them to outcomes, you can turn:

guesswork → into logic
opinions → into systems

Final Thoughts

Building this tool made me realize that even something as simple as a jersey involves layered decision-making.

Most users don’t need technical details — they need clear, contextual recommendations.

And sometimes, the value isn’t in advanced AI or complex systems…
it’s in organizing the right variables in a way that actually makes sense.

Top comments (0)