Skip to content

Commit

Permalink
Added readme + license
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoLassmann committed Oct 9, 2023
1 parent 6308d71 commit bf757a8
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 6 deletions.
11 changes: 11 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright 2023 Timo Lassmann

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 changes: 37 additions & 0 deletions Readme.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

* Primordial Particle System


*Warning: this is a hobby project*

An implementation of the Primordial Particle System (PPS) implemented in C using the [[https://github.com/raysan5/raylib/releases][raylib]] library.

Schmickl, T., Stefanec, M. & Crailsheim, K.
[How a life-like system emerges from a simplistic particle motion law.](https://www.nature.com/articles/srep37969)
Sci Rep 6, 37969 (2016).
https://doi.org/10.1038/srep37969

Explanation video by the authors of the article (not this implementation):

_How life emerges from a simple particle motion law: Introducing the Primordial Particle System_

[![Video: How life emerges from a simple particle motion law: Introducing the Primordial Particle System](https://img.youtube.com/vi/makaJpLvbow/maxresdefault.jpg)](https://www.youtube.com/watch?v=makaJpLvbow)

** Installation

Install [[https://github.com/raysan5/raylib/releases][raylib]] first, then:

#+begin_src bash :eval never
git clone https://github.com/timolassmann/pml_system.git
cd pml_system
mkdir build
cd build
cmake ..
#+end_src

The compiled program is placed in `build/bin/`.

** License

This project is free and open source software licensed under the
[BSD 3-Clause License](LICENSE).
6 changes: 0 additions & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@

find_package(raylib 3.0 REQUIRED)
# if(NOT raylib)
# message(FATAL_ERROR "raylib not found!")
# endif()


# include_directories("${CMAKE_SOURCE_DIR}/raylib-4.5.0_macos/include")
add_executable(pml_system
main.c
grid.c
Expand Down

0 comments on commit bf757a8

Please sign in to comment.