Creates dynamic IQ Tests
Prompt
Create an advanced IQ test generator that runs entirely in the browser using JavaScript and Canvas for rendering, dynamically generates random and always unique 3x3 grid-based puzzles for sequence completion tasks. Each puzzle derives its graphical elements (shapes, patterns, or symbols) from consistent mathematical transformation functions (e.g., rotations, scaling, symmetry operations, or arithmetic progressions applied to visual attributes like size, position, color, or count) to maintain logical integrity and avoid arbitrary designs. The generator must support three adaptive difficulty levels—easy (simple single transformations), medium (combined two transformations), and hard (multi-layered or nested transformations with distractions)—which are automatically calculated based on user performance: start at medium, automatically compute and adjust the next puzzle's difficulty by increasing complexity if correct or decreasing if incorrect, using a scoring algorithm that factors in response time and accuracy. Present each puzzle with 4-6 multiple-choice options for the missing ninth image (one correct, others as logical distractors derived from slight variations of the rule), track all user responses across a session of 10-20 puzzles, and finally compute and output an approximate IQ estimate using a normalized scoring model (e.g., mapping total correct answers and difficulty adjustments to a bell curve distribution around 100). Ensure randomness through seeded procedural generation to guarantee uniqueness without repetition, and include options for restarting with new seeds for endless variety.
A system prompt was added to support web rendering