WebRepo 2.0 - Easy access to projects from the Codea community (not iCloud compatible)

Amazing! I should probably add some extra guards to identify this case too.

Ah yes, I think there are a couple of warnings from ObjC usage of some sort. Nothing major.

@Steppers my bbcProcTree project crashes now and the error says it comes from one of your automatically generated pages. Could you help me track this down?

Documents/bbProcTree%20Kit/_dep_Documents_JavaScript.lua:350: bad argument #2 to ‘format’ (number expected, got nil)
stack traceback:
[C]: in function ‘string.format’
Documents/bbProcTree%20Kit/_dep_Documents_JavaScript.lua:350: in function <Documents/bbProcTree%20Kit/_dep_Documents_JavaScript.lua:347>

Documents/bbProcTree%20Kit/_dep_Documents_JavaScript.lua:350: bad argument #2 to ‘format’ (number expected, got nil)
stack traceback:
[C]: in function ‘string.format’
Documents/bbProcTree%20Kit/_dep_Documents_JavaScript.lua:350: in function <Documents/bbProcTree%20Kit/_dep_Documents_JavaScript.lua:347>

I’ll give it a try!

On another note the Game of Life submission is missing a dependency. I’m fairly sure it’s a problem with my dependency inclusion system so I’ll see if I can figure out a solution to work with the new require syntax.

Is it missing ImmediateUI?

@Steppers
UIKit no longer runs on my iPhone 12, iOS 18.7.1

Error screenshot:

Physics Lab+ - 1.0.0 is now available.

Description: Lab as usable dependency
Author(s): @John Millard @UberGoober

Description:

Turns the normal PhysicsLab into a usable dependency, and offers plainly-named functions for doing everything you see in the demo.

Change-notes:

  • Initial Release

Latest WebRepo project

CubeMapLifeOG - 1.0.0 is now available.

Description: Spherical Conway’s GoL
Author(s): @UberGoober @John Millard

Description:

Conway’s game of life on a sphere! Drawable and randomizable.

Change-notes:

  • Initial Release

Latest WebRepo project

CubeMapSphere - 1.1 is now available.

Description: Cubemap Demo Undocumented Function
Author(s): @UberGoober @John

Description:

Sphere demonstrating Codea’s undocument cubeTexture function. Can handle any standard left-leaning-cross-style cubemap.

Change-notes:

  • preview is now right-side-up
  • simplified parameter panel, removed debugging controls

Latest WebRepo project

CubeMapSphere - 1.2 is now available.

Description: Easy Craft sphere texturing
Author(s): @UberGoober @John

Description:

Want to add texture to a sphere? Want to animate a texture on a sphere? This is the easy way, using Codea’s undocumented cubeTexture function. Can handle any standard left-leaning-cross-style cubemap. Just draw to the cubemap tile images to animate them live.

Change-notes:

  • demo tile resolution increased to 512 so that the text on the tiles is readable on the globe

Latest WebRepo project

UIKit+NSAttributedString - 1.0.0 is now available.

Description: Make complex iOS formatting
Author(s): @Steppers @UberGoober

Description:

It’s the UIKit project, but with a demo of NSAttributedString, which lets you combine different fonts and font sizes and colors inside of a single string.

Change-notes:

  • Initial Release

Latest WebRepo project

Color By Noise - 1.0.0 is now available.

Description: Perlin noise generates colors
Author(s): @dave1707

Description:

Here the perlin noise function is used to determine the colors of small balls arranged in a large cube-shaped grid. It’s fun to look at and fiddle with.

Change-notes:

  • Initial Release

Latest WebRepo project

fontDescenderDepth - 1.0.0 is now available.

Description: Place strings accurately
Author(s): @UberGoober

Description:

Provides two functions for aligning texts of different font sizes at the same vertical. The native API only reports font metrics allowing for descenders like “q” and “y”, which will result in vertically misaligned fonts if you try to use different font sizes. The two included functions fix this by allowing you to place fonts according to their apparent bottom not their literal bottom. Project includes demo illustrating the problem and the solution.

Change-notes:

  • Initial Release

Latest WebRepo project

fontDescenderDepth - 1.1 is now available.

Description: Place strings accurately
Author(s): @UberGoober

Description:

Provides two functions for aligning texts of different font sizes at the same vertical. The native API only reports font metrics allowing for descenders like “q” and “y”, which will result in vertically misaligned fonts if you try to use different font sizes. The two included functions fix this by allowing you to place fonts according to their apparent bottom not their literal bottom. Project includes demo illustrating the problem and the solution.

Change-notes:

  • convenience function was incorrectly supplying its own font color instead of using the existing one

Latest WebRepo project

I’m really appreciating the recent influx of projects!

1 Like

It might be useful to figure out which would be most helpful to newcomers. Maybe not tho.

WorldMap - 1.0.0 is now available.

Description: Zoomable detailed world map
Author(s): @dadaroulin

Description:

Accessing publicly available geographic information, this app lets you zoom in to anywhere you want on the planet.

Change-notes:

  • Initial Release

Latest WebRepo project

Getting a fatal error in UIKit

I wouldn’t use that UIKit project. It’s an old version and completely different to the one you used with the attributed strings.

fontDescenderDepth - 1.2 is now available.

Description: Place strings accurately
Author(s): @UberGoober

Description:

Provides a simple function for aligning texts of different font sizes at the same vertical. You could do it yourself using fontMetrics but why bother? Project includes demo illustrating the problem and the solution.

Change-notes:

  • d’oh! Originally written in ignorance of the fontMetrics function. Project now uses it and the solution is around 80% less code.

Latest WebRepo project

iOS Keyboard Avoider - 1.0.0 is now available.

Description: Avoid iOS keyboards
Author(s): @UberGoober

Description:

Two classes that make up a plug-n-play solution for automatically scrolling UITextFields up above the iOS keyboard when it appears and then down again when it vanishes.

Change-notes:

  • Initial Release

Latest WebRepo project