Wheel of Names API
Category: utility
Spin a colorful wheel to randomly pick a name. Perfect for raffles, team meetings, and classroom activities. Runs entirely in the browser.
Endpoint
N/A
Browser-only (Canvas animation)
No Server API
Response
Content-Type: N/A
This tool draws a spinning wheel on HTML5 Canvas and picks a random name. No server-side API is available.
// Browser-only: uses HTML5 Canvas
cURL Example
# No cURL equivalent — this tool runs in the browser
Code Samples
// Simple random name picker
const names = ['Alice', 'Bob', 'Charlie', 'Diana'];
const winner = names[Math.floor(Math.random() * names.length)];
console.log('Winner:', winner);
# Random name picker
import random
names = ['Alice', 'Bob', 'Charlie', 'Diana']
winner = random.choice(names)
print(f'Winner: {winner}')
// Random name picker
import java.util.Random;
String[] names = {"Alice", "Bob", "Charlie", "Diana"};
String winner = names[new Random().nextInt(names.length)];
System.out.println("Winner: " + winner);