All MicroEvals
Chemical generator
Create MicroEval
Header image for Chemical generator

Chemical generator

Prompt

Create a highly advanced, standalone Single-File Web App (HTML/CSS/JS in one file) that acts as a Predictive Chemical Combinations Engine with the following core modules: 1. Dynamic Chemical Knowledge: Embed complete periodic table data for elements. 2. Chemical Bonding Logic: Build a rigorous algorithmic engine based on chemistry rules to filter out unstable structures. 3. Prediction Interface: Allow users to select input elements and set the maximum number of atoms per formula (e.g., up to 4 or 5 atoms). 4. Results Engine: Compute and display a long, comprehensive list of all mathematically and chemically valid, stable, and naturally possible chemical compounds (formulas and IUPAC names) within the user's constraints. Design a clean, dashboard-like UI. Use pure JavaScript for the math and bonding algorithm. Return ONLY the complete executable code block.

A system prompt was added to support web rendering

Drag to resize
Drag to resize
Drag to resize