Gasket Weaving
code-golf graphical-output geometry fractal
Challenge
Given an integer N >= 2, produce an image of a Sierpinski knot of degree N, to the specification described below.
Stack snippet judge
[ SNIPPET THAT ACCEPTS A SOLUTION IMAGE AND IDENTIFIES ANY INVALID PIXELS ]
Spec...
BTW, if any of you are C# programmers on platforms other than Windows, you now can have R#, too, since JetBrain's "Project Rider" has got public alpha builds for OS X, Windows and Linux: jetbrains.com/rider
Define "value." If you mean in terms of site traffic and image, no. An easy challenge with a small twist and/or sometjing amusing garners far more attention. Highly technical questions, whie more enjoyable for us, are a turnoff for your average joe.
true. What really matters is where the community wants to go. If we want to attract users that enjoy tough algorithm challenges, then we need more challenges that have restrictions on algorithms.
on the flip side, if we prefer a larger community, then we should have more trivial challenges
I think the community want to see algorithms that value shortness over speed coming back to the more specific. It's tough though since time restrictions encourage creativity but also cause frustration with slow languages.
A complexity restriction would be the ideal solution
Alternatively, even people that enjoy tough challenges might be lured in by something trivial, or otherwise "popular". Some of the image-based popcons showcase that well, no matter what your personal opinion of popcons are.
Once they've answered one, they might get hooked ;)
Sure. I'm saying you need a healthy mix of both. But it's inherent that you'll have more trivial problems than tough ones, simply because they're trivial.
@NathanMerrill I'd thought that one had some debate about that also, but I don't see it now. Maybe they got purged, or I'm thinking of a different one. No idea, but I gotta go for now :/
what about two distant isocele triangles, moving the summit of the lower one and given as input, and the highest y coordinate of the base of the upper triangle that makes it collide with the other is outputted