Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / Modulographe

Author
Message
Atreides
20
Years of Service
User Offline
Joined: 11th Oct 2003
Location: Switzerland (but NOT on a mountain !)
Posted: 1st May 2005 17:23
12 lines, 5 commands a line.

Okay, so what is this program ? It's a clone of the one I made on my calculator (TI V200). It may seem strange, but I think it's far better on my calculator :p

It choose five numbers : a,b,c,d and e. It sets a random value to each of these numbers, but b is still less than a, c than b,... e is the smallest.
Then, for each pixel, it takes the value x*y and counts the modulo of the modulo of... and if it's = to e, it draws the pixel :

if mod(mod(mod(mod(x*y,a),b),c),d)=e

Hmm.. it's by drawing the triangle of Pascal in modulo 2 that I thought making this program

The sleeper must awaken !
EvMaster
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Australia
Posted: 18th Jun 2005 01:42
That's kinda cool.

Here's a screenshot for those who don't know what he's talking about...

-Ev

AMD939 3500+, Gigabyte PCI-E X800XL 256mb, 1024mb RAM
Logitech Z680 5.1 Speakers

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-03-28 23:17:32
Your offset time is: 2024-03-28 23:17:32