Giter Site home page Giter Site logo

lego-head-finder's Introduction

LEGO® Minifigure Head Finder

A web application that allows you to search through all official LEGO® minifigure heads for ones matching a specific criteria. For example, if you are building a scene of red-headed male Vikings and want to find all heads that have red beards but which don't have glasses or any other anachronistic features, this application will enable you to search for heads matching that criteria, which might be an arduous task otherwise.

The app will use the website BrickLink to find all available heads, and each head found by a search will have a link back to the original BrickLink entry. I will ask permission from the website to display their images on the app.

Several components will need to be created. The first will scan the Minifig Head listings at BrickLink and create a list of all the item numbers of the minifigure heads. New heads are constantly being added so this will need to add only the items numbers that are not already on the list.

The second component will be used by me to create the details for each head in the list. It will check that it is a new entry, and if it is, it will display a picture of the head from BrickLink and their description of the head. I would choose the features from a series of radio buttons, for example, glasses, black eyebrows and no beard, and my selections would be saved to a file. Currently I think a very basic text file would be sufficient, so a new entry and a processed entry might be:

3626bpb0596,0
3626bpsc,1,0,1,3,2,1,0,2

The first data on each line is the code for the head, the second indicates whether the entry has been processed or not, and the remaining data indicates the details.

The third component will be a web page that displays a series of radio buttons and generates a list of minifigure heads based on the options listed, with a link back to the BrickLink entry for each head. This is the only component that the user will see.

As I am a student I expect this small project to take some time, however hopefully if will eventually be useful to the Lego creative community.

lego-head-finder's People

Contributors

thomsedavi avatar

Stargazers

Nathan Arthur avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.