Search found 1619 matches
- Apr 25, 2024 16:29
- Forum: Sources, Examples, Tips and Tricks
- Topic: anti-aliased line comparison (cairo vs mine)
- Replies: 0
- Views: 27
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 25 - by dafhi cairo's clearscreen is faster than ...
- Apr 23, 2024 5:08
- Forum: Community Discussion
- Topic: free Basic - just curious?
- Replies: 14
- Views: 865
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: 400
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: 14
- Views: 865
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: 648
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: 1277
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: 1056
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: 322
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: 474
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: 513
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 ...
- Dec 15, 2023 1:33
- Forum: Game Dev
- Topic: The world needs more tetris
- Replies: 6
- Views: 976
Re: The world needs more tetris
cool! i noticed 'samegame' in desc .. once i got to playing and saw some blocks disappear, i got it. will def play again
- Nov 25, 2023 7:04
- Forum: Sources, Examples, Tips and Tricks
- Topic: Sorting Algorithms
- Replies: 12
- Views: 1581
Re: Sorting Algorithms
hi neil i only read the thing about 8 bytes, so i'm posting with that in mind '' array sizes 35-ish or less, use insertion_sort type sort_type as ubyte #define direction < #define dot '.z '' uncomment for udt member '' insertion_sort by dafhi sub Insertion_Sort( a() as sort_type, l as long=0, u as l...
- Nov 03, 2023 1:49
- Forum: General
- Topic: Switch Net 4 neural network
- Replies: 54
- Views: 7138
Re: Switch Net 4 neural network
30 seconds?
[update 2 - cleared 22 lines]
Page 1 is a good starting point. it's performant and not 'too' compilcated
[update 2 - cleared 22 lines]
Page 1 is a good starting point. it's performant and not 'too' compilcated
- Nov 01, 2023 20:10
- Forum: General
- Topic: Switch Net 4 neural network
- Replies: 54
- Views: 7138
Re: Switch Net 4 neural network
doubt it - i haven't looked at any of my versions in what feels like ages.
give me a day or so
give me a day or so
- Oct 17, 2023 19:05
- Forum: General
- Topic: Switch Net 4 neural network
- Replies: 54
- Views: 7138
Re: Switch Net 4 neural network
from a well known alpha-blending technique
[2023 Oct 19] basis
with masking for combined Red Blue
[2023 Oct 19] basis
Code: Select all
blue = (blue * [0 to 255]) and &HFF00
with masking for combined Red Blue
Code: Select all
col = ((col and &HFF00FF) * [0 to 255] ) and &HFF00FF00