» ampop - PrimeNumbers
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

ampop - PrimeNumbers

Prime (Value)

generate a random prime Number with a choosen number of digits.
There are 2 variants. Both too slow! Plus vvvv handels no numbers with more than 9 digits... 2^32??

A Module, that outputs and stores one or more prime Numbers with a given lenght:
Primes (Value).v4p (18.46 Kb)

A variant of the Prime (Value) Module using a counter to check if a random number is prime:
Primes (Value Variant).v4p (19.27 Kb)

Prime (Spreads)

generates a Spread with prime numbers up to a given number...

pretty useless.
Unless you have infinite processor power... in this case every prime number can be created with this patch *g*
But if u use all of your infinite processor power to calculate every possible prime number, then you wouldn't have any ressources left to display the primes on your screen... or would you?

So if u have such a machine, then try it out. I always wondered, how vvvv behaves if it has to handle infinitely large spreads...

Primes (Spread).zip (3.82 Kb)

Good night!

(PS: The help file contains also some nodes, which can tell you without a doubt, if a certain number is prime or not. Please don't use infinitely large primes for testing... the IO Box isn't big enough, anyway...
Joreg: could we put "infinitely large IO Boxes" on the roadmap for the next beta?? Would be a cool feature.

anonymous user login


~5min ago

evvvvil: ...code for 4k intro posted below has been released on shadertoy with some pretty assertive comments,you fuckers https://www.shadertoy.com/view/MllcRH

~23h ago

evvvvil: designed in v4, then converted to c++. "Pointless erections and broken sausages" my 4kb intro ranked 8th @ EVOKE https://vimeo.com/230590803

~3d ago

timpernagel: Did anyone here used one of those already: https://www.artec3d.com/3d-scanner

~3d ago

sebescudie: @synth : wuz there like two days ago, too bad!

~3d ago

synth: Anyone in Nice? I will be here for next 3 weeks. Shout out for a drink :)

~3d ago

joreg: "Looking for a tiny PC that still has space for a gaming-quality video card?" http://boingboing.net/2017/08/20/compare-tiny-pc-cases-with-thi.html

~4d ago

dominikKoller: Broken link in vvvv sdk for Microsoft Build Tools 2015