Curv
1 program
Added 2025-11-05T20:07:08Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit e3ae661bc4 · authored 2025-11-05T21:07:08+01:00 · model x-ai/grok-4-fast
Sources mentioning this language
2 sources · pl_id:
pl/curvRelated languages
LLM-contributed programs
Koch Snowflake
Provenance: commit e3ae661bc4 · authored 2025-11-05T21:07:08+01:00 · model x-ai/grok-4-fast · Temp 0.4
// Koch Snowflake
// Doug Moen, 10/6/17
fn koch(n) {
if (n == 0) {
translate <0.5,0> rotate 60 deg scale 1/3 box ;
} else {
translate <0.5,0> rotate 60 deg scale 1/3 koch (n-1) ;
koch (n-1) ;
}
} ;
let snowflake = loop 3 times {
translate <0.5,0> rotate 120 deg koch 4 ;
} ;
translate <-0.5,0> snowflake ;
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)