codeworld
A-Frame
Our great sponsors
codeworld | A-Frame | |
---|---|---|
14 | 97 | |
1,237 | 16,115 | |
0.0% | 0.8% | |
0.0 | 9.7 | |
about 1 year ago | 5 days ago | |
Haskell | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
codeworld
-
Pedagogical Downsides of Haskell
Code World[1] is a great project that addresses a number of the problems from the article, with an eye towards using Haskell to teach children basic math and programming simultaneously. Code World directly addresses a number of the obstacles outlined in this article:
1. Using an online editor with a rich built-in library removes any toolchain problems.
2. A custom standard library simplifies pedagogically unnecessary details like Foldable
3. The custom standard library also avoids currying (f(a, b) for functions rather than f a b)
4. Custom error messages improve the feedback students get from the compiler
I would highly recommend Code World to anybody looking to teach programming with Haskell. If you want to teach Haskell in a way that fits the existing ecosystem, it's also possible to run Code World without the custom standard library[2].
[1]: https://code.world/#
-
Ask HN: It's 2022. Where should I direct the youths to learn about programming?
Loose connection, but made me remember https://code.world/ uses a Haskell-like functional language to define still pictures, animations, or even games.
- My kid loves computers. I would like him to start programming, just for fun to see if it is something for him. But how to start, what type of programming language that is appealing. Books? I mean, we can start with Lisp, but how long will attention hold? Please advise, thanks.
-
Game
I second gloss! It's a bit limited (no sound, fonts, nor even text centering, but you do have support for vector and bitmap graphics, color manipulation, mouse, keyboard, and animations), but it's so, so easy to use that I not only recommend it (or the similar Code World) for anybody's first game, I still use it for my newer games.
-
Functional Programming in OCaml
Two that I can think of:
- Bootstrap teaches a toned-down version of Racket (i.e. Scheme): https://bootstrapworld.org/materials/spring2021/en-us/course... . It's taught in some schools as well as a comp sci curriculum.
- https://code.world/ teaches using a toned-down version of Haskell. To my knowledge it's not used in schools.
-
Why I Support the Haskell Foundation
I had the silly 'fromString' error you get when using RebindableSyntax but had forgotten what to do next. Quick Google search and I hit on codeworld #59.
-
Safe Haskell?
I'm not a user myself, but I understand Lambdabot and mueval depend on it. More generally, anything that executes Haskell code supplied by untrusted users would fit the bill. I don't know if CodeWorld for example allows user-supplied modules, but if it did they'd have to be Safe.
-
Do you recommend using ghc-pkg? Do you use it and why?
I also have a list of about 300 or so packages at https://github.com/google/codeworld/blob/master/codeworld-available-pkgs/codeworld-available-pkgs.cabal, which I'd like Cabal to solve and find compatible versions to make available, preferably without listing them all on one massive command line! There are limits on the length of a command line. I don't know if cabal install --lib will expose packages that are dependencies, but not actually listed on the command line, in the resulting environment.
You know, now that you mention it, that sounds familiar. There's an issue for this at https://github.com/google/codeworld/issues/1182, and having cabal set up an environment file for GHC is mentioned there. There are some other complications: for example, with cabal v2-install, I can't seem to list multiple packages in local directories. So the answer to that seems to be creating a cabal.project file that lists them all... but then I want to install all of the packages from that cabal.project file into the environment, and their dependencies, and also make the consistent set of dependency versions that work with them (as chosen by Cabal's constraint solver) available in an environment for any further projects built against those same libraries.
-
Beginner Question on library
You could also use code.world with a guide here. It is meant as a beginner-friendly introduction to Haskell. It also has an online environment, so you won't need to install anything.
A-Frame
-
Apple Vision Pro Review: The Best Headset yet Is Just a Glimpse of the Future
Meta Quest also has full support for WebXR which lets you bypass all the app store BS. You can use this framework to make worlds visible on most XR headsets as well as desktop and mobile
My understanding is that Apple is making excuses about being slow to support WebXR.
-
The web will be Vision Pro's killer app
WebXR is pretty amazing. You can make a site with
which can be navigated with a browser on desktop and mobile. Using a VR headset you can give permission and… you’re in the world! It’s like one of those kids TV shows where people can jump into the world of a book.
With WebXR you can make applications that run on Meta Quest, Magic Leap 2, Hololens 2, PCVR and other platforms. It kinda drives me up the wall that so many people are hung up on Apple because AVP competes with quite a few different platforms that are all pretty similar and if this kind of thing catches on you’d better believe people will be porting applications between them…
-
is there a 3D metaverse, of the fediverse?
if there is none, how could it work? I'm not a dev, i work in design, UX, art. however this seems excellent system https://aframe.io yet I'm sure are others. runs in the browser, super fast, the code is just simple human readable, text, so works with HTML, JavaScript.
-
[AMA] We're Flat Head Studio, four developers from Austria and we just released We Are One on the Quest - ask us anything!
Well, that was a rabbit hole I didn't expect to jump down. I've never used these programs, but it looks like graphviz has a vrml output option. Vrml, now there's a blast from the past. It never really saw much adoption and has been superseded by other formats. You might be able to find some simple converter utility to convert it to gltf, which isn't a file format from the last century. There are lots of things that can view gltf files. I'm not sure if you can load them into the Quest web browser directly or if you need to wrap them into a simple A-Frame site first. You could also use sketchfab to view them, but you seem more like an A-Frame kind of guy. Oh, hey, it looks like someone built a vrml loader for A-Frame. If graphviz really can output to vrml and the loader works, that should make things super simple for you. Not really sure how well any of this stuff will work. Good luck.
-
Is aFrame depreciated?
Just bumped a new version (1.4.2) three days ago so unlikely. https://github.com/aframevr/aframe
- Game engine for JavaScript engineer
-
AMA with Stan Larroque, founder and CEO of Lynx — Ask all things Mixed Reality here!
When we would be able to use WebXR and A-Frame? You answered in short in the last video, but can you give a clue? :) At least that what is the earliest possible day. Asking because this can make me to wait more for a more polished device if I would not be able to use WebXR for months...
-
Three.js learning process
I'd recommend the official docs. Aframe is also worthwhile, it uses threejs under the hood. It has great docs and a focus on AR/VR. Going through all chapters of the docs should give you a great introduction. https://aframe.io/docs/1.3.0/introduction/
-
How I Created Augmented Reality(AR) Web App using Only HTML
It uses A-Frame which is a web framework for building virtual reality experiences.
- Does anyone know how to access bounded-floor geometry in oculus quest?
What are some alternatives?
three.js - JavaScript 3D Library.
unity-webxr-export - Develop and export WebXR experiences using Unity WebGL
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
Konva - Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
PixiJS - The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.
model-viewer - Easily display interactive 3D models on the web and in AR!
hubs - Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
NFT-Marker-Creator - This editor creates NFT markers for ARTOOKIT 5.x
React Konva - React + Canvas = Love. JavaScript library for drawing complex canvas graphics using React.
react-three-fiber - 🇨🇭 A React renderer for Three.js
react-canvas - High performance <canvas> rendering for React components
React ART