![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Open Source Projects The place to discuss Basic4ppc open source applications. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Ive swapped over my orignonal condense function to try out Hashing methods and Im comming to the conclusion that my condense method was faster, and better.
Condense(R,G,B)=int (R /(64)) *16 + int (G /64) *4 + int(B/64) gives 64 possible indexs in rapid time and no need for a colors table either! Unless Im missing something theres no available Hash function that maps large RGBs uniquely to small integers that has a 1to1 reverse look up??? so might as well use this condense method with the proviso that PSB doesnt use two v similar colors Last edited by colin9876 : 12-15-2007 at 10:42 AM. |
|
|||
|
I will add your update tothe front page in one second. Perhaps that source is more the sort of thing for the tap.
Yes reactions would be very good! EDIT: You did the pensizes the same way I was doing by blue borders on the elements. |
|
|||
|
Bit if souces when to be from the top to the bottom the water is spreading to much out and would cover the whole screen (if you look at BS water will go almost compleletly straight down with just a little bit spreading out)
|
|
|||
|
The system that you use for cloud is different from that to BS. For this reason I am not asking for a change in that. When the tap source is implemented then water would be needed to fall down from top to bottom along with 3 other elements.
![]() EDIT: Clear isn't working. Last edited by neilnapier : 12-15-2007 at 03:36 PM. |
|
|||
|
ok add the tap icon at the top with this code
style =8 Then in the timer if n<8000 and style =8 then n=bh1.AddElement(n,pensize,pensize,50,50,rgb(80,80 ,230),2,1) 'first stream from (50,50) n=bh1.AddElement(n,pensize,pensize,80,50,rgb(230,5 0,50),2,1) 'second stream from (80,50) etc End if Last edited by colin9876 : 12-15-2007 at 03:56 PM. |
|
|||
|
Done, works great. I will post it once I have got an answer to this question:
How to you turn it into a toggle (ie turing it off on the next click) EDIT: Also when it is turned on you can't create a solid object. Last edited by neilnapier : 12-15-2007 at 03:55 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pocket Chess Database | JamesC | Share Your Creations | 3 | 07-27-2008 04:07 AM |
| Pocket Burning Sand | neilnapier | Questions & Help Needed | 2 | 11-05-2007 07:53 PM |
| print class for pocket pc | tanrikuluahmet | Basic4ppc Wishlist | 1 | 10-01-2007 09:10 AM |
| dzSpy - Spy and Task Manager App - Open Source | dzt | Share Your Creations | 3 | 07-15-2007 05:21 AM |
| Pocket Outlook Object Modell | sloopa | Basic4ppc Wishlist | 12 | 06-02-2007 08:05 AM |