Skip to content

Boids Image Generation AI made using C++ and SFML Graphics Library

License

Notifications You must be signed in to change notification settings

Daedheldir/CppSFMLBoids

Repository files navigation

SFML Graphics Library is required for running this project!

Description

Combination of genetic programming and boids flock simulation to recreate input images with a artistic twist by limiting genes (mathematical operations) available to agents.

Example results (Large GIFs):

Example GIF - all functors

Example Image 1

Example GIF - limited functors 1

Example Image 2

Example GIF - limited functors 2

Example Image 3

Example GIF - limited functors 3

Example Image 4

Example GIF - limited functors 4

Example Image 5

Credits

  • Perlin noise implementation by Ryo Suzuki

SFML - Copyright (C) 2007-2021 Laurent Gomila - laurent@sfml-dev.org

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. This notice may not be removed or altered from any source distribution. External libraries used by SFML OpenAL-Soft is under the LGPL license stb_image and stb_image_write are public domain freetype is under the FreeType license or the GPL license libogg is under the BSD license libvorbis is under the BSD license libflac is under the BSD license minimp3 is under the CC0 license


siv::PerlinNoise
Perlin noise library for modern C++

Copyright (C) 2013-2021 Ryo Suzuki <reputeless@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

About

Boids Image Generation AI made using C++ and SFML Graphics Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published