Search found 1624 matches
- May 01, 2024 8:57
- Forum: Sources, Examples, Tips and Tricks
- Topic: anti-aliased line comparison (cairo vs mine)
- Replies: 4
- Views: 592
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: 1523
- Apr 30, 2024 20:39
- Forum: Sources, Examples, Tips and Tricks
- Topic: anti-aliased line comparison (cairo vs mine)
- Replies: 4
- Views: 592
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: 83
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: 1523
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: 4
- Views: 592
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: 1350
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: 453
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: 1350
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: 11
- Views: 693
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: 1327
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: 1364
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: 340
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 ...
- Jan 15, 2024 4:56
- Forum: Sources, Examples, Tips and Tricks
- Topic: clip rect namespace
- Replies: 2
- Views: 484
clip rect namespace
/' -- clip rect namespace - 2024 Feb 9 - by dafhi a namespaced clip rect for 2d graphics updates demo and comments renames project: low level 2d clipper -> clip rect set -> setrc custom_blit -> custom_draw '/ type imvars '' helper declare sub get_info( byref p as any ptr = 0 ) as long w as long h a...
- Jan 02, 2024 4:40
- Forum: Linux
- Topic: New Linux ?
- Replies: 2
- Views: 530
Re: New Linux ?
mx linux easy to customize after u have fb installed and tested properly with your usual test code (preferrably 32 bit gfx win) MX Tools -> snapshot (note save location) Page 2 - i prefer ISO compression scheme gzip - slow, better .. limit cpu cores 2 uncheck calc checksums Preserving accounts Next ...