|
Draw your best circle! |
Mark Oates
Member #1,146
March 2001
|
http://vladgotlib.com/circular/ --- I got this high score from just spamming it This was my highest score, could probably get higher But I think the real test is probably to shoot for the lowest "Error / point". This was my lowest. In one swipe. -- |
bamccaig
Member #7,536
July 2006
|
The best I got so far was 593555, with a single swipe only 70 (pixels?) in diameter. I'm no artist so I'd be surprised if I could really challenge one to this. I also have a decent mouse with a configurable DPI, which I think helps to keep it under control. I'm sure somebody with artistic talent and one of those graphic/drawing board things could blow this program's mind. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
SiegeLord
Member #7,827
October 2006
|
It seems easy to cheese this... {"name":"609914","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/2\/e27ca16794c6a9d1aa63e6af263350bc.png","w":242,"h":247,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/2\/e27ca16794c6a9d1aa63e6af263350bc"} "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
Elias
Member #358
May 2000
|
{"name":"609915","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/6\/d\/6d4bbea4c8dbdb10cb8e6fd44ddf3a40.png","w":1808,"h":1032,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/6\/d\/6d4bbea4c8dbdb10cb8e6fd44ddf3a40"} Experience of cheating in various multiplayer games comes in handy... 1from math import *
2import os
3
4x = 640
5y = 600
6r = 400
7f = open("/tmp/c", "w")
8print("sleep 3", file = f)
9for i in range(1000):
10 print("sleep 0.01", file = f)
11 print("mousemove", file = f)
12 print("{} {}".format(
13 x + cos(i * pi / 500) * r,
14 y + sin(i * pi / 500) * r), file = f)
15 if i == 0:
16 print("mousedown 1", file = f)
17print("mouseup 1", file = f)
18f.close()
19
20os.system("xdotool /tmp/c")
-- |
Erin Maus
Member #7,537
July 2006
|
I was working on cheating like Elias, but was beaten to the punch. Damn you, person with a low-quality-GIF-avatar-I-can-only-assume-is-a-robot-or-zombie-thing! --- |
Johan Halmén
Member #1,550
September 2001
|
{"name":"609917","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/9\/b90f42d99f01abe57e83bdb00ba342de.png","w":787,"h":639,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/9\/b90f42d99f01abe57e83bdb00ba342de"} Hm... more points, better score? Ok... {"name":"609918","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/a\/fabd38a6822eedee9969fbbbc986d4fd.png","w":787,"h":639,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/a\/fabd38a6822eedee9969fbbbc986d4fd"} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Years of thorough research have revealed that what people find beautiful about the Mandelbrot set is not the set itself, but all the rest. |
Elias
Member #358
May 2000
|
Aaron Bolyard said: Damn you, person with a low-quality-GIF-avatar-I-can-only-assume-is-a-robot-or-zombie-thing! It's a dwarf with armor: http://hol.abime.net/2907 -- |
pkrcel
Member #14,001
February 2012
|
And this sets quite well the age mark! Sad me. It is unlikely that Google shares your distaste for capitalism. - Derezo |
Mark Oates
Member #1,146
March 2001
|
Elias, that's cool. xdotool, got it Is that Ruby? Are you using Ruby much for other things as well? -- |
Elias
Member #358
May 2000
|
That's Python. You could do the same in bash (or perl, or even ruby) - just needed some scripting outside of xdotool to get the circle coordinates I basically prefer Python for everything, from simple scripts to large games. Allegro5 comes with a Python wrapper even. -- |
Dennis
Member #1,090
July 2003
|
Thought this would be a doodle thread. --- 0xDB | @dennisbusch_de --- |
Johan Halmén
Member #1,550
September 2001
|
We need a new doodle thread. Preferably with some twist. We've had a few legendary ones. One with Easy Toons, one with people picturing A4 function names. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Years of thorough research have revealed that what people find beautiful about the Mandelbrot set is not the set itself, but all the rest. |
anto80
Member #3,230
February 2003
|
This reminds me that TAS video ___________ |
Chris Katko
Member #1,881
January 2002
|
The question is, can anyone draw seven perpendicular red lines? -----sig: |
Gideon Weems
Member #3,925
October 2003
|
My first thought was xdotool and bash, but Elias got it first. Now, I'm wondering what the most imperfect circle would be (though technically, there is no such thing as an imperfect circle, as to be not perfect is to be not a circle). Elias said: It's a dwarf with armor: http://hol.abime.net/2907 Finally, I can die in peace. |
Mark Oates
Member #1,146
March 2001
|
Elias said: It's a dwarf with armor: http://hol.abime.net/2907 Woah. This is how I felt when I watched the first new Star Trek movie: I can die now, my body is ready. -- |
|