website

source code for the ttmaths.uk website
Log | Files | Refs | README

commit 9c23d222f9807bbada98d4e0f29154a755c45486
parent 55dea09d41d11627d8322ac26c69c111c9aaf3c3
Author: fen123456 <fenwthompson@gmail.com>
Date:   Sat,  8 Aug 2026 23:48:57 +0100

meeting minutes

Diffstat:
M.gitignore | 3+++
MTODO.md | 1+
Msrc/components/questions/DoubleTransformationQuestion.jsx | 8+-------
3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,3 +1,5 @@ package-lock.json node_modules/ dist/ + +*.cpuprofile +\ No newline at end of file diff --git a/TODO.md b/TODO.md @@ -12,6 +12,7 @@ - Drop-down for finer controls - tricky parallel lines / internal angles etc questions - automate allQuestions using file exploration +- move away from prerendered questions? # Other stuff - minesweeper / youtube video. diff --git a/src/components/questions/DoubleTransformationQuestion.jsx b/src/components/questions/DoubleTransformationQuestion.jsx @@ -3,13 +3,8 @@ import CoordinateLabel from "../graphing/CoordinateLabel"; import Graph from "../graphing/Graph"; import Question from "../Question"; -function pointToString(point) { - return point[0].toString() + ',' + point[1].toString() -} - function shapeToString(shape) { - console.log(shape.map((point) => pointToString(point)).join(" ")) - return shape.map((point) => pointToString(point)).join(" ") + return shape.map((point) => point.join(",")).join(" ") } function rotatePoint(point, angle, axis=[0, 0]) { @@ -34,7 +29,6 @@ export default function DoubleTransformationQuestion({ seed, showAnswer }) { const endShape = midShape.map((point) => point.map((value, i) => value + translationVector[i])) - const question = (<> <p>What single transformation..?</p> <Graph viewBox={viewBox} width="300" height="300">