Projects Tagged with "algorithm"

terrain generator

terrain generator

By: boisvert

Views: 956 | LoveIts: 34

Description: Stop press - as it is featured: this project is made for remixing. Use it in a game of your own! Once again, a technique for anybody to pick up: this is an algorithm for randomly generating a realistic terrain. How it works: first, it chooses a height at both ends, for example, -100 and +200. The ... show more

Binary Maze

Binary Maze

By: thecooltodd

Views: 818 | LoveIts: 6

Description: This is a VERY SIMPLE random maze generator. In fact, it is virtually one of the simplest maze algorithms possible, taking me only half an hour to program it. Download this program and you'll see the code itself should be fairly simple (18 lines of code).

Double Dragon

Double Dragon

By: Jens

Views: 534 | LoveIts: 30

Description: Yet another variant, I know it gets boring... (You can start to see the rainbow pattern at about the 8th iteration)

sierpinski snowflake and other algorithms

sierpinski snowflake and other algorithms

By: billyedward

Views: 211 | LoveIts: 4

Description: REVISION: The draw stage only works on the java player the first time; The entire page must be reloaded each time. I will see if this can be fixed... ___________________________ BTW, Algorithm #0 is coolest. ___________________________ This project shows how powerful simple math can be. Inspired b ... show more

Drawing circles

Drawing circles

By: boisvert

Views: 203 | LoveIts: 1

Description: Click the pen to draw the circle and the flag to clear the background. The technique is similar to Bresenham's algorithm. It makes better looking circles than the turn/go forward method and uses only integer arithmetic. Not so much a game as a technique you might want to copy.

Euclid's algorithm - GCD-LCM Calculator

Euclid's algorithm - GCD-LCM Calculator

By: dapontes

Views: 186 | LoveIts: 5

Description: A GCD and LCM calculator based on Euclid's algorithm (ELEMENTS, Book VII, Propositions 1-2). For a good explanation of Euclid's algorithm look at http://en.wikipedia.org/wiki/Euclidean_algorithm (Thanks Paddle2See!)

Fast circle algorithm

Fast circle algorithm

By: boisvert

Views: 165 | LoveIts: 7

Description: Draw a circle fast - similar to Bresenham's algorithm. It makes better looking circles than the turn/go forward method, especially at small radiuses. Yellow or green pen to draw the circle. Check the timer. The technique is used in drawing packages.

algorithm-sally

algorithm-sally

By: keithbraafladt

Views: 132 | LoveIts: 0

Description: not finished! this is the start of doing the whole algorithm dance

Fibonacci

Fibonacci

By: dapontes

Views: 89 | LoveIts: 4

Description: I used a list to present the Fibonacci's numbers. For the number of pairs i used the equation fn+2=fn+fn+1.

SimplePrime

SimplePrime

By: kevinsullivan

Views: 71 | LoveIts: 1

Description: This program uses a simple algorithm to decide whether a given positive integer is prime or not. Enter the number to check as the value of the variable called isItPrime, then run the program. The Scratch Cat will give you the answer!

Please Wait...