Search found 1626 matches
- May 10, 2024 1:30
- Forum: Sources, Examples, Tips and Tricks
- Topic: How to recover the FB font applied to an unknown graphics screen
- Replies: 3
- Views: 271
Re: How to recover the FB font applied to an unknown graphics screen
uint needs to be long or ulong
- May 06, 2024 23:58
- Forum: Sources, Examples, Tips and Tricks
- Topic: anti-aliased line comparison (cairo vs mine)
- Replies: 7
- Views: 903
Re: anti-aliased line comparison (cairo vs mine)
it's ok i didn't either, last post. it's a lot of code.
having trouble getting cairo under windows. could be cuz i'm using fbc 1.09, need to update headers
here was the error.. (will try again tomorrow)
having trouble getting cairo under windows. could be cuz i'm using fbc 1.09, need to update headers
here was the error.. (will try again tomorrow)
./cairo.dll: file not recognized: file format not recognized
- May 01, 2024 8:57
- Forum: Sources, Examples, Tips and Tricks
- Topic: anti-aliased line comparison (cairo vs mine)
- Replies: 7
- Views: 903
Re: anti-aliased line comparison (cairo vs mine)
the array-less .. i missed that created sub set_aa() changed subs xy to single '#cmdline "-gen gcc -arch native -Wc -Ofast,-mfpmath=sse,-funroll-loops" #include once "cairo/cairo.bi" #define _rd_ Cast(Ubyte Ptr,@colour)[2]/255 #define _gr_ Cast(Ubyte Ptr,@colour)[1]/255 #define _...
- Apr 30, 2024 20:39
- Forum: Sources, Examples, Tips and Tricks
- Topic: One Line Challenge!
- Replies: 19
- Views: 1648
- Apr 30, 2024 20:39
- Forum: Sources, Examples, Tips and Tricks
- Topic: anti-aliased line comparison (cairo vs mine)
- Replies: 7
- Views: 903
Re: anti-aliased line comparison (cairo vs mine)
the non-aa look pretty good. thanks for sharing!
- Apr 30, 2024 20:37
- Forum: Sources, Examples, Tips and Tricks
- Topic: array-less simulacra
- Replies: 0
- Views: 146
array-less simulacra
/' array-less simulacra - 2024 Apr 30 by dafhi inspired by one line code challenge https://www.freebasic.net/forum/viewtopic.php?t=32637 simulacra means likeness, semblance .. '/ function modu( in as double, m as double = 1 ) as double return in - m * int( in / m ) end function sub _temporals( byre...
- Apr 28, 2024 5:05
- Forum: Sources, Examples, Tips and Tricks
- Topic: One Line Challenge!
- Replies: 19
- Views: 1648
Re: One Line Challenge!
climb is awesome! emergent circles II dim as double w=800,h=600,seed,a,r,t,t0=timer screenres w,h,32 do for seed = 0 to 499 t = timer randomize seed a = rnd*6.28 + 4*(t-t0)*(.1+rnd) r = 2.5+rnd*rnd*rnd*175 pset (rnd*w + r*cos(a), rnd*h + r*sin(a)), rnd*culng(-1) next sleep 1 loop while t < t0+10
- Apr 25, 2024 16:29
- Forum: Sources, Examples, Tips and Tricks
- Topic: anti-aliased line comparison (cairo vs mine)
- Replies: 7
- Views: 903
anti-aliased line comparison (cairo vs mine)
checking to see if cairo flickers, i performed my usual test - how good the lines look rotating .. no more flicker. then i cranked up the line count. seemed slow so i squeezed in my algorithm for comparison /' anti-aliased lines comparison - 2024 Apr 26 - by dafhi cairo's clearscreen is faster than ...
- Apr 23, 2024 5:08
- Forum: Community Discussion
- Topic: free Basic - just curious?
- Replies: 17
- Views: 1462
Re: free Basic - just curious?
@Makoto - you can try -gen gcc -arch native -Wc -Ofast,-mfpmath=sse,-funroll-loops
thanks for checking it out!
thanks for checking it out!
- Apr 21, 2024 3:38
- Forum: Sources, Examples, Tips and Tricks
- Topic: Theodorus Spiral
- Replies: 4
- Views: 495
Re: Theodorus Spiral
thanks for providing the image. that's beautiful.
- Apr 21, 2024 3:33
- Forum: Community Discussion
- Topic: free Basic - just curious?
- Replies: 17
- Views: 1462
Re: free Basic - just curious?
these questions are fun. my memory seems to be fleeing xD .. TRS80 .. ugh, for the life of me i can't remember what that looked like my first language which i attempted was on a timex sinclair .. maybe that's the TRS80? haha .. anyway i specifically remember as a kid typing stuff in that looked like...
- Mar 29, 2024 5:39
- Forum: Sources, Examples, Tips and Tricks
- Topic: Cairo animated spiral
- Replies: 14
- Views: 858
Re: Cairo animated spiral
now im inspired to make integer anti-aliased dots
a few have done integer non-aa lines, and they render fast
a few have done integer non-aa lines, and they render fast
- Mar 08, 2024 21:33
- Forum: Sources, Examples, Tips and Tricks
- Topic: The Travelling Salesman Problem
- Replies: 21
- Views: 1349
Re: The Travelling Salesman Problem
dodicat i looked at your last code's output, and, while i don't feel equipped to come up with a solution, your pattern looks like donut drizzle. i got to thinkin, a donut outline would be more efficient, and i wonder how about the universality of a donut shape
- Mar 02, 2024 17:07
- Forum: General
- Topic: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
- Replies: 10
- Views: 1374
Re: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
i can think of a few. run-time eval, procedural functions. i'll keep it on my back-burner
- Feb 24, 2024 7:46
- Forum: Sources, Examples, Tips and Tricks
- Topic: my newest bits read / write
- Replies: 2
- Views: 356
my newest bits read / write
in case anyone is bored, it's fun to post code. i read through comments on one of my older posts in Tips & Tricks, someone mentioned "post in General instead if it hasn't been well tested" i'm notorious for releasing untested code. it's my thing. i just like to inspire anyway, here is ...