SvelteKit and Canvas: separating wheel rendering, probability and verificationA spinning wheel combines several different jobs: editing a list, drawing slices, choosing a stopping position, animating the rotation and reporting a winner. Treating all of that as one visual effect6 min read·heyiamluke.hashnode.dev3d ago