Graphscad

Graphscad : The Graphic Nodal Editor for OpenScad
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

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

View previous topic View next topic Go down 
AuthorMessage
Kpacnaja_Shapotshka



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

PostSubject: Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER   Sun 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:



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.gscad.zip
You don't have permission to download attachments.
(3 Kb) Downloaded 4 times
Back to top Go down
View user profile
Admin
Admin


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

PostSubject: Re: Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER   Sun 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
View user profile http://graphscad.forumotion.com
Admin
Admin


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

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

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


Attachments
ulam_spiral.zip
You don't have permission to download attachments.
(3 Kb) Downloaded 1 times
Back to top Go down
View user profile http://graphscad.forumotion.com
Sponsored content




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

Back to top Go down
 
Ulam spiral: Number theory matters -oh no, forms matter, summing it up NUMBER THEORY FORMS MATTER
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» is it possible to find number of elements in an selectd xpath by selenium rc..?
» wrong number of arguments provided in nunit
» About Big Bang Theory
» Freaky Forms: Your creations, alive impressions.
» how to store number of rows of a table

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