{'fraction_non_alphanumeric': 0.009606147934678195, 'fraction_numerical': 0.0, 'mean_word_length': 4.725274725274725, '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}}
Simulating virtual crowd with fuzzy logics and motion planning for shape template

Simulation of crowd motions has great potential in many applications in robotics, games and animations. However, it is also a great challenge to be able to control the motion of a virtual crowd according to the intents of its designer such as making the crowd conform to a specific shape while avoiding collisions with other agents in the crowd or with obstacles. In this paper, we propose a simulation mechanism that works in two steps: global motion planner for a shape template and fuzzy controller for shape constraints. The system first uses a motion planer to generate a rough path for a desired shape that may be partially in collision with the environment. Then a fuzzy controller based on several criteria is used to move the agents in a group to conform to the desired shape. We will demonstrate the implemented system with several simulation examples that show the path of the shape template and how the crowd effectively conforms to the template.