Generator Public

Browse Public Code

Filter by Model

All Models 22 available
openai GPT 5 Nano 0
google Gemini 2.5 Flash 0
google Gemini 2.5 Flash Lite 0
openai GPT-4o-mini 1
google Gemini 2.5 Pro 1
anthropic Claude 4.5 Haiku 2
deepseek DeepSeek-V3.2-Exp 2
openai GPT 4o 2
openai GPT 5 Mini 2
xai Grok 4 Fast Non-Reasoning 2
xai Grok Code Fast 1 2
openai GPT 5 3
openai GPT o3 mini 3
openai GPT o4 mini 3
anthropic Claude 4.5 Sonnet 4
deepseek DeepSeek-V3.2-Exp (Thinking) 4
google Gemini 3 Flash Preview 4
google Gemini 3 Pro Preview 4
xai Grok 4 Fast Reasoning 4
xai Grok 4 6
openai GPT 5 Pro 15
anthropic Claude 4.5 Opus 25

Filter by Language

All Languages
English (United States)
Spanish (Spain)
French (France)
German (Germany)
Italian (Italy)
Portuguese (Brazil)
Arabic (Generic)
Bengali (India)
Bulgarian (Bulgaria)
Croatian (Croatia)
Czech (Czech Republic)
Danish (Denmark)
Dutch (Belgium)
Dutch (Netherlands)
Estonian (Estonia)
Finnish (Finland)
Greek (Greece)
Gujarati (India)
Hebrew (Israel)
Hindi (India)
Hungarian (Hungary)
Indonesian (Indonesia)
Japanese (Japan)
Kannada (India)
Korean (South Korea)
Latvian (Latvia)
Lithuanian (Lithuania)
Malayalam (India)
Mandarin Chinese (China)
Marathi (India)
Norwegian Bokmål (Norway)
Polish (Poland)
Romanian (Romania)
Russian (Russia)
Serbian (Cyrillic)
Slovak (Slovakia)
Slovenian (Slovenia)
Swahili (Kenya)
Swedish (Sweden)
Tamil (India)
Telugu (India)
Thai (Thailand)
Turkish (Turkey)
Ukrainian (Ukraine)
Urdu (India)
Vietnamese (Vietnam)

Rust Dice Roller (Two D100)

This Rust function simulates rolling two 100-sided dice, generating two random numbers between 1 and 100 (inclusive) and returning them as a tuple. It utilizes the `rand` crate for secure random number generation.

Rust
Prompt: rolling two 100 dice

100 Dice Roller Function

This function simulates rolling 100 standard six-sided dice, generating an array of 100 random integers, each between 1 and 6.

JavaScript
Prompt: a 100 dice roller

Monte Carlo Pi Estimation

This function performs a Monte Carlo simulation to estimate the value of Pi by randomly generating points within a square and checking how many fall within an inscribed circle's quadrant.

JavaScript
Prompt: monte carlo simulation

Monte Carlo Pi Estimation

A comprehensive Monte Carlo simulation function to estimate the value of pi by randomly sampling points in a unit square and determining the ratio that fall within a quarter circle.

Python
Prompt: monte carlo

Earth Orbit Simulation

This C++ program simulates Earth's circular orbit around the Sun by calculating and displaying its position at regular time intervals using trigonometry. It outputs positions to the console with moderate comments explaining the physics and code logic.

C++
Prompt: earth orbiting the sun

Monthly Calendar Statistics

This Python script displays a table showing each month of a specified year, its total number of days, and the count of Saturdays within that month, correctly accounting for leap years.

Python
Prompt: displaying the months of the year with number of days and saturdays

Monthly Day and Saturday Count

This Python script calculates and displays the number of days and Saturdays for each month of a specified year. It utilizes the 'calendar' module to efficiently determine month ranges and weekly day occurrences.

Python
Prompt: displaying the months of the year with number of days and saturdays
JavaScript
Prompt: the number of days in each month
Code
Prompt: create a landing page with html and vanialla js