Search found 6104 matches

by dodicat
Jun 16, 2010 23:26
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

Hi Albert Keep trying Albert, it's the only way. I'm having a mess around myself. @ Richard Without me working out Fourier coefficients for each and every shape I want, in fact without me using a pen atall, or cheating and looking up old text books, I've tried a little fudge. Your saw teeth were bac...
by dodicat
Jun 16, 2010 14:22
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

@Dodicat Played a bit with the function plotter and made a weird circle of sorts... You can quite easily set a ball round this complex type of curve which is undefined for parts of the x range. I'll play around with this stuff and try some vectors. Dim As Integer xres,yres screeninfo xres,yres 'xre...
by dodicat
Jun 16, 2010 0:05
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

@Dodicat That's a very slick little minimalist function plotter you got going on there. It would be good to have something like that controlling the velocity vectors... The doodle is cool too... @ Rollie~ If you like the little macros, then here's the basic sketch, sketch with axis, and move. @ Alb...
by dodicat
Jun 15, 2010 2:22
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

MasssMorph: oblique spheroid @ 6.674281.10^11 and 5.48 lineMorph : 6357/6378 timeMorph +10.7 eons, truthtable(3,5,7), parallax 17, non singular. position:intersection of leys lammas,martinmas, as set by the Ancients. LOG ENTRY: While observing the revellers at the above leys intersection - Alias Gla...
by dodicat
Jun 14, 2010 1:14
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

Hi Albert here's a handy little function sketcher to save messing about with width() to see what it looks like. dim as integer xres,yres screeninfo xres,yres screenres xres,yres #macro sketch(_function,minx,maxx,miny,maxy) for x as double=minx to maxx step .01 dim as double x1=cdbl(xres&...
by dodicat
Jun 13, 2010 22:05
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

@Dodicat The problem with z's might be in the zsort, your not changing the impulses and mag=rgins when you do all the other swaping. Hi Albert The way you've got the timer, the box, the colours, there's no problem at all, I only suspected that the balls are going a little to far to the right, but t...
by dodicat
Jun 13, 2010 12:08
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

Re: Dodicats-bouncing_balls_3D

Hi Albert This one runs just fine on my old 933Mhz. And the new backddrop looks good, and the ball colours are cheerier than mine. I notice the balls are flying a bit too far on the right and bottom margins, so I'll change this later, I have to go up to Motherwell today to pick up an armchair for th...
by dodicat
Jun 12, 2010 23:17
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

I works perfect Dodicat; THANKS A BUNCH!!!!!!!!!!!. Are you working on backgrounds for the wall and back????? This is great!!! It runs a little slow with 100 balls slows down to a creeping halt almost, i'll have to something with the speed selector. Thanks for the test Albert. You'll have a job set...
by dodicat
Jun 12, 2010 22:58
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

Hi Albert Got the balls up and running with the Z component. Just a temporary backdrop at the moment. I've got the side bounces as an impulse now, much smoother. Also, I've mapped the z position to edge margins so the rebounds are only at the screen edge if the ball is maximum radius. 'ALBERT'S MARB...
by dodicat
Jun 12, 2010 2:52
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

@Dodicat How do you make the screen a 3D box with the farthest z smaller than the closest z so the balls can collide according to thier radiuses. the x and y neee to increment and decrement according to the z-axis , how do you do that???? Hi Albert I'll use rotate3d to get a mathematical z position...
by dodicat
Jun 11, 2010 15:05
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

albert wrote:I finally figured out how to get the dents in my formuls to match the degrees of the circle.
That was a cool demo of the saw and board i saved it as:
dodicat-saw-in-motion.bas

Hi Albert
Richard's saw (in motion) would be the title.
by dodicat
Jun 11, 2010 2:52
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

The beauty of the Fourier transform is that it can make a caricature of anything by simply adjusting the coefficients of the terms. Nice saw. The integration's a bit of a pain to get the coefficients of a periodic shape you want, but that's because I'm a bit rusty, it's been a while since I've Four...
by dodicat
Jun 10, 2010 2:05
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

Hi Albert Fourier made a series for his own teeth. function teeth(x as double)as double dim f as double for n as double=1 to 500 step 2 f=f+sin(n*x)/n next n f=.5-(2/3)*f return f end function dim as integer xres,yres screeninfo(xres,yres) screenres xres,yres,32 dim a...
by dodicat
Jun 10, 2010 1:02
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

Hey guys, Has anyone collected a file with all the different ways to draw a circle, or at least as many as we could think of, different algorithms for generating? It would be cool to have them all in one place like that. Hi Rollie~ Here's a polynomial circle Function poly(coff() As Doub...
by dodicat
Jun 08, 2010 22:36
Forum: General
Topic: Circles
Replies: 1988
Views: 148080

Hi all again Got the balls roughly guided by linear momentum rules. A mathematician might pick a fault or two, Stephen Hawking might not like it, but I'll put any imperfections down to a Quantum blip. I just kept your speed adjuster in Albert, although it runs a bit fast on my machine, I'll maybe ha...

Go to advanced search