Opens profile photo
Follow
Diego Freijo
@DiegoFreijo
๐Ÿค– AI - ๐Ÿ‘พ Games - ๐Ÿ”‘ Security - ๐Ÿ”ก Compilers
Buenos Aires, Argentinadiegofreijo.comJoined March 2010

Diego Freijoโ€™s Tweets

ChatGPT can create games. Like for real. Now I just need the right prompts for it to create The Elder Scrolls 6 ๐Ÿ˜„
Quote Tweet
So, ChatGPT understands #elixirlang and #liveview and can write complex, correct, Elixir code. Here is a working LiveView game I built with ZERO human coding, entirely from ChatGPT prompts. thetinycto.com/gpt-game
Show this thread
I keep getting impressed by how AI can write an application with a little "client-like" input.
Quote Tweet
Donโ€™t write code often? Been a while? Worry no more! Introducing the โ€œFuzzy Compilerโ€ ๐Ÿงฎ Just make up your own code, no worrying about syntax. Translates to working code w comments. See example 1:
Show this thread
Image
Generative AI is the biggest thing to happen to the game industry since 3D. If you're in games, and you're not experimenting with it, then you're already behind. Some observations and predictions on just how revolutionary it's going to be. ๐Ÿ‘‡
Image
136
3,454
Show this thread
Even with these issues, the results were fast and easy to achieve. In their current state, they can be used to prototype games or for game jams. And it will be way better than any programmer art! ๐Ÿ˜„ So I think indie game devs will benefit most from this.
1
Show this thread
2. The top-tiling is still off. It seems that SD adds tiling to be used in a square, not a sphere or cube like here. Here I'm looking upwards and the artifacts are clearly seen:
Image
Image
1
Show this thread
I needed to confirm that they actually looked good in a real game even with the low-ish resolution. So I opened one of the Unity FPS examples, imported the textures, and the initial results were pretty good! But there was a problem...
Image
Image
Image
1
Show this thread
At first the results looked promising! I could ask for skies with 3 moons, a blood moon or a black hole. I quickly found out that I needed more vRAM to create high-resolution images. I'm using Google Collab, with 16 GB, and the largest images I could create are 1024x512.
Image
Image
Image
Image
1
Show this thread
A great explanation on how AI will change the games Industry ๐Ÿคฉ
Quote Tweet
I designed the most incredible pack of potions with #AI (and nothing but AI - #StableDiffusion) Mega-thread ๐Ÿงต Follow the exploration below, esp. if you're in the #gaming industry (Game dev, Game Artist, Creative Director, etc.) Content production is about to be transformed ๐Ÿคฏ
Show this thread
Image
Image
1
I'm manually discarding about 50% of the results as they are pretty bad. Maybe I need a more coherent training set? I quickly tried creating a sprite sheet for a simple animation and found no way to make a good one. The frames just break continuity. Will keep prompting!
1
1
Show this thread
re-trained the model with a total of 15 pixelart wizards. Asked for a blue robed wizard and it made these pretty good results. The faces are off, but as pixel art is not detailed on the faces I think it doesn't matter here.
Image
Image
Image
1
2
Show this thread
To practice with stable diffusion I made its "hello world": self portraits! It's better than starting on uncharted waters like game assets. I trained the model with 20-ish pictures and began prompt-hacking. Thanks Some of the best outputs:
Image
Image
Image
Image
1
3
Show this thread
I can tell that the model is not fully understanding what "casting a spell" is. Maybe I need to train it beforehand on that? Or use img2img. I'm still pretty new to this ๐Ÿ˜„
2
2
Show this thread
If you're interested in new ways to protect users against phishing attacks, come see me at my first ekoparty talk! ๐Ÿคฉ
Quote Tweet
Main Track Short Talks #EKO2022 โšก @DiegoFreijo, Senior Security Engineer & Manager at @anvil_secure ๐Ÿ—ฃ Hominoid: An anti-phishing plugin proof of concept Save your seat ๐Ÿ‘‰ ekoparty.org/r/k5j
Image
5
That's it for today. Thanks for reading! If you enjoyed this thread: 1. Follow me so you don't miss tomorrow's lesson. 2. RT the tweet below to share Functional Programming love with the internet โค๏ธ
Quote Tweet
Writing secure code with โž• Union Types UT are great at solving families of runtime errors. They help us define the exact shape of the data we're working with. Example below! ๐Ÿ‘‡
Show this thread
1
Show this thread
But this is a "safe" if because the compiler knows the proper shape of the data, according on the branch we're at. If we want to add a new case, the compiler will throw an error. This increases the codebase safety! ๐Ÿ˜š๐Ÿ‘Œ
Image
1
Show this thread