Giter VIP home page Giter VIP logo

genetic_cu's Introduction

Portable program that realize the algorithm for polygonal image generation proposed by Roger Alsin in his blog (www.rogeralsing.com).

The original code was a .net program. This version seems 10/20 times faster than Roger .net code.

This version requires SDL.

To execute it:

./genetic image.bmp [progressfile]

Image must be a 32bit BMP image, resolution doesn't matter, but the smaller the image is the faster the algorithm will be.

Progress file is an optional file created by a previous run of the program and saved pressing "s".

During the program execution you can use the following keys: s - save a progress file named imagename.idx b - save a bmp file named imagename.out.idx q - quit the program


original version made by: [email protected]


cuda implementation by: Isadora Sophia e João Guilherme Fidélis


Para executar o programa, é necessário obter a library do SDL, em que o projeto é implementado. Em seguida, execute:

make
make run

E o programa já passará a executar todas as entradas e seu respectivo tempo.

genetic_cu's People

Contributors

isadorasophia avatar jgfidelis avatar

Watchers

 avatar  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.