{'fraction_non_alphanumeric': 0.016295025728987993, 'fraction_numerical': 0.0, 'mean_word_length': 5.207446808510638, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Simple but Effective Algorithm to Model the Competition of Virtual Plants for Light and Space

We present a simple but effective algorithm to simulate plant growth in a realistic way, taking into account illumination, spatial occupancy and the nearby presence of other plants. The basic idea of our algorithm is to simulate light flow during all stages of plant development, by tracing virtual photons emitted by light sources in the same way as it is done in many global illumination algorithms. We augment the L-system, modelling plant growth, with a mechanism for determining predominant illumination directions by analysing the distribution of the direction of incidence of photons hitting plant parts. Based on photomorphogenesis principles found in literature, the same photons are used to “discourage” plants from growing into each other by penalizing the contribution of photons reflected of other plants. At this time, our algorithm is implemented using the very simplest solutions at all stages. Nevertheless, first experiments show that the approach is promising. In future work, the algorithm proposed here will be refined considerably in various ways.