Find Jobs
Hire Freelancers

Modify Conway's game of life to follow specific rules using a Tetrahedron in 3 dimensions

$10-30 USD

Mbyllur
Postuar almost 3 years ago

$10-30 USD

Paguhet në dorëzim
Using [login to view URL] modify the configuration or code so that the rules activate based on the neighboring facet of a tetrahedron in 3d space. tetrahedrons are stacked point up layer and a layer the is nested point down to fit the point up tetrahedrons which makes one layer. Then infinite or large amount of layers going up and about the same length expanding in all directions. Need to model or calculate about a few thousand cells or tens of thousands of cells. A related issue is pattern editing. Square Cell, Hexagonal Cell and Triangular Cell do not use rubber banding or the clip board to perform pattern editing. Rather, a group of cells may be selected by clicking the display with the control key depressed. The first click marks a corner of the selection area and the second click marks the diagonally opposite corner. A third click clears the selection. When selected a group of cells may be manipulated by several of the toolbar buttons. Selections may be rotated, flipped, written to a file, set to a random state and moved or copied by dragging. The inside or outside of a selection may also be cleared. 90 degree rotations are performed by Square Cell and 60 degree rotations are performed by Hexagonal Cell and Triangular Cell. Here is a analogous script . #Golly Python script #Written by PM 2Ring 2009.3.23 ''' Use the current selection as a template to create a tiled pattern, converting each live cell in the selection into a copy of the clipboard pattern. Each dead cell in the selection becomes a rectangle the same size as the clipboard pattern. ''' from glife import * import golly def tile(pat, px, py): ''' Convert live cells in selected pattern into copies of the pattern pat, size px*px. The tile pattern is in a new layer. ''' selrect = [login to view URL]() if len(selrect) == 0: [login to view URL]("There is no selection.") #Make top left corner of selection the origin of the tiled pattern x, y = selrect[:2] cells = [login to view URL](selrect) cellsxy = [(cells[i]-x, cells[i+1]-y) for i in xrange(0, len(cells), 2)] #Make tiled pattern in a new layer [login to view URL]() #[login to view URL]("syncviews", False) #Build new window title from old title = [login to view URL]().split('.')[0] title = '%s_tiled' % title [login to view URL](title) all = pattern() for x, y in cellsxy: all += pat(x*px, y*py) #[login to view URL](x*px, y*py) [login to view URL]() def main(): cliplist = [login to view URL]() # 1st 2 items are width, height tile(pattern(cliplist[2:]), *cliplist[0 : 2]) main()
ID e Projektit: 30576468

Rreth projektit

Projekt në distancë
Aktive 3 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë

Rreth klientit

Flamuri i UNITED STATES
Cleburne, United States
5,0
1
Mënyra e pagesës u verifikua
Anëtar që nga mar 3, 2020

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.