Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 13
  1. In addition to the VGA donut, I submitted two other entries in the Tiny Tapeout 8 demo competition, where you submit a "tiny" ASIC design (room for about 4000 logic gates) that outputs 2-bit RGB to a VGA port and 1-bit audio to a speaker.

  2. [Update 12/19/2025: I got the chip, and it works!

  3. My DIYRobocars autonomous RC car has come a long way since my last post on the subject.

  4. My little donut.c has been making the rounds again, after being featured in a couple YouTube videos (e.g., Lex Fridman and Joma Tech).

  5. Since February 2016, I have been participating in DIYRobocars meetups here in the SF Bay Area, wherein a bunch of amateur roboticists compete in autonomous time trials with RC cars.

  6. The Arduboy is a cute little credit-card sized Arduino-compatible with a 128x64 black and white OLED screen.

  7. Play Load What is this thing?

  8. [Update 1/13/2021: I wrote a follow-up with some optimizations. ] There has been a sudden resurgence of interest in my "donut" code from 2006, and I've had a couple requests to explain this one.

  9. [Update 10/21/2015: Changed the title from "six lines of C" to "462 bytes of C" to avoid endless arguments about what constitutes a line of C code.]

  10. [Update 8/2/2011: you can play against a dumbed-down Javascript version of the bot here.]

  11. b[2080];main(j){for(;;){printf("\x1b[H");for(j=1;j<2080;j++)b[j]=j< 2000?

  12. _,x,y,o ,N;char b[1840] ;p(n,c) {for(;n --;x++) c==10?

  13. Have a donut.

    (compile with gcc -o donut donut.c -lm, and it needs ANSI- or VT100-like emulation) How it works k;double sin() ,cos();main(){float A= 0,B=0,i,j,z[1760];char b[ 1760];printf("\x1b[2J");for(;; ){memset(b,32,1760);memset(…