Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Projectitis

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. I use VisualTeensy for developing my libraries,...

    I use VisualTeensy for developing my libraries, so I actually *don’t* want them copied to the lib folder :) If this feature is added, could it be optional?
  2. Thanks Luni. VisualTeensy is awesome :)

    Thanks Luni. VisualTeensy is awesome :)
  3. I haven't specifically used the RA8875 libraries,...

    I haven't specifically used the RA8875 libraries, but I believe they do support hardware scrolling.
    Just looking at sumotoy's source code, it looks like you would:

    1) Set the area to scroll using...
  4. Replies
    5
    Views
    804

    21624 I know it might not look like much, but...

    21624

    I know it might not look like much, but it's the start of AGG running on Teensy. So excited right now!
    I'm running it here on T3.6 with ILI9341 at 4x pixel scaling (for a smaller...
  5. Thanks for that. I'll do some benchmarking and...

    Thanks for that. I'll do some benchmarking and see what happens with various options :)
  6. Sorry to bring up an old thread! This is related,...

    Sorry to bring up an old thread! This is related, though -

    Do you know if Teensy 3.6 has fast reciprocal? I'm doing alpha compositing which requires a divide. Not sure if the compiler would...
  7. Replies
    47
    Views
    3,934

    Agreed. Fantastic. I'm not always commenting, but...

    Agreed. Fantastic. I'm not always commenting, but I'm following this thread with amazement!
  8. Is writeData16_last during SPI required?

    Hi all,

    I'm drawing arbitrary rectangles pixels to a display using SPI (just the part of the display that is updated). The position and size of the rect could be anything.
    From looking at...
  9. Replies
    47
    Views
    3,934

    Incredible work. Very impressive!

    Incredible work. Very impressive!
  10. Some great points. I'm a big fan of abstracting...

    Some great points. I'm a big fan of abstracting the hardware layer so that the developer can just use the colour set (s)he is used to. And yep, it means porting to different displays does not...
  11. Woohoo. Great work!

    Woohoo. Great work!
  12. Not directly related to your discussion here, but...

    Not directly related to your discussion here, but I have a 5" 480x272 RA8875 display turning up soon. 4-wire SPI. Can't wait :)
  13. Oh, great, sorry. catching up.

    Oh, great, sorry. catching up.
  14. I have an ILI9341_fonts equivalent called...

    I have an ILI9341_fonts equivalent called “PackedBDF” that attempts to remove itself from specific displays. It’s the exact format as the original font, but I’ve added support for smooth fonts...
  15. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    544

    Hmm. I just learned that the Tintin copyright...

    Hmm. I just learned that the Tintin copyright holders are extremely aggressive with their cease and desist/take downs of anything unauthorised to do with Tintin. Even fan games :( That means I’ll...
  16. Replies
    47
    Views
    3,934

    Super impressive. I’ll be keeping an eye open for...

    Super impressive. I’ll be keeping an eye open for that lib when it’s released :)
  17. For Color defines etc feel free to use any part...

    For Color defines etc feel free to use any part of my code that might help you. I’ve done a lot of work on displays and graphics library stuff (most of it not on github yet). Colours based on...
  18. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    544

    Thanks! Yes, they're mine. I'm just a dabbler in...

    Thanks! Yes, they're mine. I'm just a dabbler in pixel art as well (painting and sketching is more my thing).
    I'm creating an adventure game engine on Teensy, and the aim is that this is the test...
  19. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    544

    Hehe, yeah they are more minor characters, and...

    Hehe, yeah they are more minor characters, and pretty hard to pick out when they're less than 16px tall :) - Prof. Calculus, and Allan (a bad guy).

    18999
  20. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    544

    Preview

    Recognise anyone :P
    18990
  21. Replies
    5
    Views
    414

    I didn't realise that it wouldn't have graphic...

    I didn't realise that it wouldn't have graphic RAM! I just assumed all displays would have that and would be able to 'remember' the last graphic state at the very least. I have 7 different displays...
  22. Replies
    5
    Views
    414

    I've ended up buying a 5" display from a TomTom...

    I've ended up buying a 5" display from a TomTom XXL 550 (display model LMS500HF05-007). The TomTom XXL 550 is an outdated GPS unit that had a large screen (100mm x 75mm approx. viewable area) albeit...
  23. Replies
    2
    Views
    219

    Much appreciated!

    Much appreciated!
  24. Replies
    2
    Views
    219

    Type of connector

    Hi all,

    Below is a photo of a replacement Nintendo Switch joypad. You can see it has a sort of flat connector with 5 wires.
    Does anyone know if there is a socket available that will take a ribbon...
  25. Replies
    5
    Views
    414

    I found this enormous 5.7" 320x240 display by...

    I found this enormous 5.7" 320x240 display by winstar. It has a visual area of 118 x 89mm. Of course it draws around 500mA as compared to a 3.2" display of maybe 100mA. It seems 5.7" is reasonably...
  26. Good luck. From memory it was really picky about...

    Good luck. From memory it was really picky about he module you were trying to play. It happened to work well with the module I used for testing, but not others :( More work required. I suggest using...
  27. Replies
    5
    Views
    414

    Largest 320x240 TFT display

    Hi all,

    I have a fairly large 320x240 TFT display (see photo) of 82mm diagonal (3.2 inches). It's this unit from buydisplay.com.
    Does anyone know of any larger 320x240 TFT displays around? I'm...
  28. Sorry about the delay, Alain. It's a TDA1308...

    Sorry about the delay, Alain. It's a TDA1308 -based board I got off AliExpress for about $1.
  29. Replies
    6
    Views
    955

    Hi Richard - Google is your friend...

    Hi Richard - Google is your friend :)

    Basically, it can drive up to 26,000 LEDs in full-colour. It supports slideshow-style images only (no video, but does support animated GIF and SWF - i haven't...
  30. Replies
    6
    Views
    955

    Hi everyone, I ended up purchasing 6 LED...

    Hi everyone,

    I ended up purchasing 6 LED displays at 64x32 pixels in size, which I'm connecting in a 3x2 matrix for a total size of 128x96 pixels. Each pixel is 5 x 5mm square (P5) and the size of...
  31. Replies
    6
    Views
    955

    I guess I could find some very low power RGB LEDs...

    I guess I could find some very low power RGB LEDs and wire up each pixel individually. However I think I'll be dead before completing all 100,000 pixels :rolleyes:
    At an estimated ~15 minutes a...
  32. Replies
    43
    Views
    2,017

    @luke.saber, if bit order is the issue take a...

    @luke.saber, if bit order is the issue take a look at these bit-hacks for reversing bit order:
    https://graphics.stanford.edu/~seander/bithacks.html#BitReverseObvious

    I also have a python script...
  33. Replies
    6
    Views
    955

    Large indoor pixel-art display frame

    Hi all,

    Just playing around with an idea for an indoor art piece. I'm a fan of 8-bit art (who isn't ;) ), and instead of printing and hanging on the wall, I'v been toying around with a large...
  34. Replies
    8
    Views
    638

    Wow, thank you everyone! Tactif CIE - thanks for...

    Wow, thank you everyone!
    Tactif CIE - thanks for the info on pragmas.
    Nominal Animal - once again, right on the mark with the tip on array addressing.
    MichaelMeissner - Thanks for the...
  35. Replies
    8
    Views
    638

    Thank you :) Do you know if it is possible to do...

    Thank you :)
    Do you know if it is possible to do this at the code level (not at compiler)? It would be great if there was something like:


    c = (*p++ << 14) | ((*p << 6) & 0b0011100000000000) |...
  36. Replies
    8
    Views
    638

    Sequence point compiler error

    Hi all,

    I have the a few calculations like the following:


    c = (*p++ << 14) | ((*p << 6) & 0b0011100000000000) | ((*p++ << 7) & 0b0000011110000000) | ((*p >> 1) & 0b0000000001111111);

    I get...
  37. By all means. A little math doesn't scare me,...

    By all means. A little math doesn't scare me, and, yes, it's very interesting!
  38. Have bookmarked the link. Very useful. Just did...

    Have bookmarked the link. Very useful.
    Just did a bit of testing, and in most of the cases I'm interested in the approximation is dead-on, or only 1 out at most. This is great.

    Example:
    16511
  39. That is fantastic :) The standard mathematical...

    That is fantastic :)
    The standard mathematical linear interpolation equations are well known, but this is the first time I've run into these approximations, so thank you!
    I'll take a look when I...
  40. Just a visual to show the 'accuracy' of the...

    Just a visual to show the 'accuracy' of the current approximation.
    This example changes a 6-bit number to 3-bits and back again.
    16501
  41. Yes, a LUT would be one solution for sure :) We...

    Yes, a LUT would be one solution for sure :)
    We would actually only need a 32 bytes LUT to go from 5-bit to 8-bit (up scaling).

    But I disagree - it's not just a special case. It is fast linear...
  42. Yes, I understand completely what shifting does...

    Yes, I understand completely what shifting does :) That's not the issue.

    I'm trying to find a 'fast' way to increase the number of bits which results in a linear interpolation.
    So far the formula...
  43. This is better for scaling up, but still not...

    This is better for scaling up, but still not ideal -



    // b = bits to shift
    // n = original number
    uint8_m = (n==0)?0:((n+1) << b) - 1;
  44. Fast changing range or bits of a number (e.g. 0-31 to 0-255)

    Hi all,

    EDIT: Nope this doesn't work for all ranges. Works for 4-bit to 2-bit back to 4-bit, and works for 8-bit to 4-bit and back to 8-bit, but not others.

    Just putting this here for future...
  45. Replies
    24
    Views
    1,962

    Packed BDF (ILI9341_t3_font_t) format...

    Packed BDF (ILI9341_t3_font_t) format specification, instructions and scripts for creating anti-aliased (and 1bpp) fonts here:
    https://github.com/projectitis/packedbdf
  46. Aaaand have improved the original font rendering...

    Aaaand have improved the original font rendering speed (1bpp, non anti-aliased fonts) of ILI9341_t3:
    original 1bpp fonts 14971
    improved 1bpp fonts 11360 (~25% faster)
    (Compare to new anti-alias...
  47. @mjs513 I have updated my branch of Paul's...

    @mjs513 I have updated my branch of Paul's ILI9341_t3 library with more efficient anti-alias rendering. Its about 25% faster than the standard non-anti-aliased rendering!
    Normal rendering: 14971...
  48. Scripts and instructions to create packed BDF...

    Scripts and instructions to create packed BDF anti-aliased fonts here:
    https://github.com/projectitis/packedbdf

    Full description of packedbdf_t data type also in the repo. Many thanks to Paul,...
  49. Hi @mjs513 - I've got family here for a few days,...

    Hi @mjs513 - I've got family here for a few days, but after that I'll take a look :) I have a fix for the speed that will make it actually faster than the standard non ant-aliased font rendering, and...
  50. ok KurtE, you should see a pull request to...

    ok KurtE, you should see a pull request to support anti-alias fonts.

    I've tested both with and without framebuffer, and both seem to be ok (using graphicstest_aafonts example).
    I've noticed that...
Results 1 to 50 of 174
Page 1 of 4 1 2 3 4