Search found 598 matches

by bluatigro
Mar 19, 2018 9:17
Forum: Game Dev
Topic: Qbe 3D maze
Replies: 6
Views: 1195

Re: Qbe 3D maze

update : try at hint system in 3D maze the 3Dmaze is diffecolt to solve whitouut it error : solve() takes long time '' bluatigro 18 mrt 2018 '' Qbe a 3D maze #include "_text.bas" #include "fbgfx.bi" #if __FB_LANG__ = "fb" Using FB '' Scan code constants are stored in th...
by bluatigro
Mar 10, 2018 14:39
Forum: General
Topic: raytrace try
Replies: 24
Views: 2047

Re: raytrace try

made some smal mistakes !!!


i can't copy- paste the good code
by bluatigro
Mar 10, 2018 14:23
Forum: General
Topic: raytrace try
Replies: 24
Views: 2047

Re: raytrace try

how do i do reflection ? i got a solution but it isn't good try : sub rotate( byref l as double , byref l as double , r as double ) dim as double hk , hl , s = sin( r ) , c = cos( r ) hk = k * c - l * s hl = k * s + l * c k = hk l = hl end sub function mirror( raydir as dbl3d , normal as dbl3d ) as ...
by bluatigro
Mar 09, 2018 12:31
Forum: General
Topic: genetic algoritm neural net try
Replies: 1
Views: 172

Re: genetic algoritm neural net try

update : its learning !! '' bluatigro 9 mrt 2018 '' ga ann dim shared as integer inmax , hidmax , uitmax , annmax , factor const as string letters = "abcdefghijklmnopqrstuvwxyz0123456789" dim shared as integer h , i , j , k , l , u randomize timer inmax = 64 hidmax = 40 uitmax = len( lette...
by bluatigro
Mar 09, 2018 11:25
Forum: General
Topic: genetic algoritm neural net try
Replies: 1
Views: 172

genetic algoritm neural net try

this i tryed before some times error : the GANN isn't leaning '' bluatigro 9 mrt 2018 '' ga ann dim shared as integer inmax , hidmax , uitmax , annmax , factor const as string letters = "abcdefghijklmnopqrstuvwxyz0123456789" dim shared as integer h , i , j , k , l , u randomize timer inmax...
by bluatigro
Mar 08, 2018 8:32
Forum: General
Topic: boincing sphere's
Replies: 6
Views: 483

Re: boincing sphere's

@ fxm : thanks for help the syntacks is now corect now the math + physics error : no sim visable '' bluattigro 7 mrt 2018 '' boincing sphere's screen 20 , 32 dim shared as integer winx , winy screeninfo winx , winy function range( low as double , high as double ) as double return rnd * ( high - low ...
by bluatigro
Mar 07, 2018 11:02
Forum: General
Topic: boincing sphere's
Replies: 6
Views: 483

Re: boincing sphere's

@ al : thanks for help i tryed somthing error : type mismatch i think i need the spot of the sphere's too i got it now whit only the speed ? '' bluattigro 7 mrt 2018 '' boincing sphere's screen 20 , 32 dim shared as integer winx , winy screeninfo winx , winy function range( low as double , high as d...
by bluatigro
Mar 06, 2018 10:42
Forum: General
Topic: boincing sphere's
Replies: 6
Views: 483

boincing sphere's

i have :

Code: Select all

type t3d
public :
  dim as double x , y , z
end type
type tsphere
public :
  dim as t3d spot , speed
  dim as double radius
end if

now i want to know :
when 2 tsphere's hit etch other
how do i calc the new speed's in 3D space ?
by bluatigro
Mar 03, 2018 11:04
Forum: General
Topic: sphere's in ND space
Replies: 0
Views: 420

sphere's in ND space

i got a problem for you : how many sphere's fit around a sphere ? in ND space ? in 0D its simple : 0 in 1D its simple : 2 in 2D its simple : 6 but now in 3D : 12 , 14 or higher ? [ in square piramid of sphere's 14 ] i think you can calc this like this : imaging 2 sphere's on eatch other if you shine...
by bluatigro
Mar 02, 2018 13:03
Forum: General
Topic: word crosout puzle ?
Replies: 3
Views: 213

word crosout puzle ?

error : near al char's are crosed '' bluatigro 2 feb 2018 '' word zoeker dim as string word( 30 ) , letter( 30 , 30 ) , a dim as integer i , j , k , l , m , b( 30 , 30 ) , wtel , ltel for i = 0 to 30 read word( i ) if word( i ) = "=" then exit for wtel += 1 next i data "appelsap"...
by bluatigro
Feb 27, 2018 12:57
Forum: General
Topic: big int & float try
Replies: 1
Views: 183

Re: big int & float try

update : now whit intarray's '' bluatigro 27 feb 2017 '' big int & float type bigint public : dim as integer w(0) , imax declare constructor ( q as integer ) declare function tostr() as string end type constructor bigint( q as integer ) imax = q redim w( imax ) end constructor function bigint.to...
by bluatigro
Feb 27, 2018 12:07
Forum: General
Topic: big int & float try
Replies: 1
Views: 183

big int & float try

this i tryed before i try it now again i want to calc til many number's behynd the decimal point error : operator + has a error operator * does not print anything first i need a bigint class : '' bluatigro 27 feb 2017 '' big int & float function zeros( l as integer ) as string dim as string uit ...
by bluatigro
Feb 27, 2018 9:47
Forum: General
Topic: quantum computing sim
Replies: 19
Views: 1230

Re: quantum computing sim

i tryed somthing based on several youtube's i don't think it is whitout erro's '' bluatigro 27 feb 2018 '' qbit sim const as double sqr2 = sqr( 1 / 2 ) type tqbit public : dim as double i0 , i1 declare function tostr() as string end type function tqbit.tostr() as string return str(i0)+"|0>"...
by bluatigro
Feb 22, 2018 9:36
Forum: General
Topic: dll ?
Replies: 9
Views: 773

Re: dll ?

so i need to get rid of the classes
i wil try that
it wil be mutch work do

or has c struct's ?

i wil need help
by bluatigro
Feb 21, 2018 12:02
Forum: General
Topic: quantum computing sim
Replies: 19
Views: 1230

Re: quantum computing sim

i fount some info on YouTube s = sqr( 1 / 2 ) s^2 = 1/2 H( 1 |0> ) = s |0> + s |1> H( 1 |1> ) = s |0> - s |1> H( s |0> + s |1> ) = s * H( |0> ) + s * H( |1> ) = s * ( s |0> + s |1> ) + s * ( s |0> - s|1> ) = 1/2 * |0> + 1/2 * |1> + 1/2 * |0> - 1/2 * |1> = 1 |0> + 0 |1> Not( a |0> + b |1> ) = -a |0> ...

Go to advanced search