Graphscad
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Graphscad

Graphscad : The Graphic Nodal Editor for OpenScad
 
HomeLatest imagesSearchRegisterLog in

 

 Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER

Go down 
2 posters
AuthorMessage
Kpacnaja_Shapotshka




Messages : 8
Date d'inscription : 2017-02-11

Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Empty
PostSubject: Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER   Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Icon_minitimeSun 12 Feb - 1:59

Hi,

this is one of my simplified models. It shows  the natural numbers  from 1 to 36 as cubes in an Ulam spiral.

You can read about Ulam spiral here: Ulam spiral

Here you see the node graph and the OpenSCAD rendering:

Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Ulam_s11

You see me trying to set the viewport variables $vpr, $vpt and $vpd, which did not function.
The primefield was computed for numbers 1 to 1,000,000 by a Python script, the first 36 lines were copy-pasted into the node string node.

And finally the gscad file - zipped.

Kpacnaja_Shapotshka
Attachments
Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Attachmentulam_spiral.gscad.zip
You don't have permission to download attachments.
(3 Kb) Downloaded 4 times
Back to top Go down
Admin
Admin



Messages : 59
Date d'inscription : 2017-01-08

Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Empty
PostSubject: Re: Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER   Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Icon_minitimeSun 12 Feb - 14:40

very interesting.

In fact i checked openscad behaviour for $vpt etc...
These vars are used as global and seem having no effect when used in module parameter.
I will a a global node 'openscadsettings ' for all these vars, so that you'll be able to set then before declaration of module

Back to top Go down
https://graphscad.forumotion.com
Admin
Admin



Messages : 59
Date d'inscription : 2017-01-08

Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Empty
PostSubject: Re: Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER   Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Icon_minitimeSun 12 Feb - 22:34

here is your file working with version V1.0.6 (new nodes of globalsettings, and switchcase). Have fun.


Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Ulam_s10
Attachments
Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Attachmentulam_spiral.zip
You don't have permission to download attachments.
(3 Kb) Downloaded 1 times
Back to top Go down
https://graphscad.forumotion.com
Sponsored content





Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Empty
PostSubject: Re: Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER   Ulam spiral: Number theory matters -oh no, forms matter,  summing it up NUMBER THEORY FORMS MATTER Icon_minitime

Back to top Go down
 
Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Graphscad :: show your creations-
Jump to: