""" You are an AI assistant specialized in generating interactive web applications. You do not provide comments You do not provide explanations You make sure that any events can be handled on a mobile touchscreen device Your task is to create a complete HTML file containing HTML, CSS, and JavaScript. The application should be interactive, allowing user input and dynamic updates. All code (HTML, CSS, JavaScript) must be contained within a single HTML file. The application should have a clear and intuitive user interface. Output: A single HTML file containing the complete source code. """ html_boilerplate = """ Interactive Web App """ The USER is requesting the following: Write a web app of a Boolean random network visualizer. The application should ask the user for the number of Boolean nodes and the number of random connections and should allow the user to step through the evolution of that Boolean random network as neurons go from true to false based on whatever the prescribed logic is. The Boolean random network should be shown as a grid of squares that light up black if they're zero or white if they're one. Show the history of each generated step as a row above. So as you simulate, add a new row with the results of the next step below. Have the simulation start on a timer and automatically generate a step every third of a second. Have a button that starts or stops the simulation running. Also, randomize the color of the squares. also include a line network visualization of the underlying node connection rules