xaltgeist Profile
xaltgeist

@xaltgeist

Followers
3K
Following
969
Media
0
Statuses
31

Developer, co-creator of Studio @Mathcastles

Joined September 2021
Don't wanna be here? Send us removal request.
@xaltgeist
xaltgeist
1 year
RT @maltefr_eth: 1/ Computation Degree Zero. On abstraction in @mathcastles Zero Suite. From my essay in @outland_art in homage to @0x113dโ€ฆ.
0
29
0
@xaltgeist
xaltgeist
2 years
RT @glitchmarfa: 1/ Enter the Hypercastle. Our E30D #4 exhibition and digital poster is now open for live view and collection in Marfa, TXโ€ฆ.
0
62
0
@xaltgeist
xaltgeist
2 years
These Solidity "stack too deep" compiler errors are bittersweet because I think other people would be more insane by them than I am. I'm like David Blaine doing "magic tricks" by just being willing to actually stick a sword through his arm.
0
66
73
@xaltgeist
xaltgeist
3 years
RT @outland_art: ๐—–๐—ฟ๐—ถ๐˜๐—ถ๐—ฐ๐—ถ๐˜€๐—บ | ๐—ง๐—›๐—˜ ๐— ๐—”๐—ฃ ๐—œ๐—ฆ ๐—ง๐—›๐—˜ ๐—ง๐—˜๐—ฅ๐—ฅ๐—œ๐—ง๐—ข๐—ฅ๐—ฌ. "Terraforms is a reminder that the best virtual worlds are imagined, not simulated."โ€ฆ.
0
30
0
@xaltgeist
xaltgeist
3 years
RT @i_like_calculus: Terraforms by @mathcastles has been one of the most inspiring pieces of art for me. I wrote a long-form essay discussiโ€ฆ.
0
69
0
@xaltgeist
xaltgeist
3 years
RT @matto__matto: The Hypercastle Explorer application from @hypercastle_exp allows you to explore the Terraforms by @mathcastles hyperstruโ€ฆ.
0
12
0
@xaltgeist
xaltgeist
3 years
RT @matto__matto: With fresh attention on Terraforms, itโ€™s a good time to remind you that you can explore the hypercastle in 2d and 3d forโ€ฆ.
0
20
0
@xaltgeist
xaltgeist
3 years
RT @sus_seaweed: Super happy to see the @mathcastles team getting the recognition they deserve. By far one of the coolest and more interesโ€ฆ.
0
18
1
@xaltgeist
xaltgeist
3 years
RT @neon_dao: Released in December 2021, Terraforms are composed of 11,000 unique artworks.
0
7
0
@xaltgeist
xaltgeist
3 years
RT @0xTjo: realistically the only project ive seen that is pure crypto art from a technology standpoint is mathcastles by @0x113d. that beiโ€ฆ.
0
13
0
@xaltgeist
xaltgeist
3 years
RT @TDR_Bingo: TDRโ„ข X MATHCASTLES. Brand new multi-player / experimental / re-mixable font (re-)living as eternal code on ethereum itselfโ€ฆโ€ฆ.
0
32
0
@xaltgeist
xaltgeist
3 years
There are likely additional ways of optimizing or organizing this (@dhof has a really nice file compression technique, for example). At the moment we just wanted to put these out for early experiments and to get the conversation started.
3
0
10
@xaltgeist
xaltgeist
3 years
You can query the available libraries by name using the readLibrary function. The names are maintained in a list called availableLibraries.
1
0
7
@xaltgeist
xaltgeist
3 years
Using EXTCODECOPY costs far less gas than copying data that is already in memory. There should be more than enough gas headroom to use these libraries like ordinary strings, and you can incorporate them into your projects simply by using string.concat.
1
0
4
@xaltgeist
xaltgeist
3 years
The technique for uploading the files takes advantage of contract storage for significant gas savings (see . I then added a technique for manually manipulating a dynamic buffer in memory to reassemble the files using the EVM's EXTCODECOPY instruction.
1
0
9
@xaltgeist
xaltgeist
3 years
We just put p5.js and three.js onchain, as composable libraries. I designed a system for deploying and reading very large files to the EVM, which makes them available for anyone to incorporate into their works.
8
10
57
@xaltgeist
xaltgeist
3 years
A preliminary question is how to get these large files into dynamically generated strings (like tokenURI) since ordinary string concatenation is basically off the table. Might require generalizing the manual-memory-manipulation approach for any endpoint incorporating these files.
0
0
6
@xaltgeist
xaltgeist
3 years
Some ongoing questions include: how should the file data be stored? What technical limitations might arise for users who want to incorporate onchain files into their own compositions?.
2
0
6
@xaltgeist
xaltgeist
3 years
You can do this by first storing file chunks as contract data (see and pulling in the data using the EVM's `EXTCODECOPY` instruction, which uses far less gas than copying data already in memory.
1
0
4
@xaltgeist
xaltgeist
3 years
Thoughts on this technique for serving large files onchain: The main issue is to avoid gas limitations when concatenating huge strings. My solution is to manually copy chunks of data into memory, and then directly manipulate the memory location that stores the string length.
@0x113d
113 โ™–โ™–โ™–
3 years
He's too modest so I'll splash: . @xaltgeist (who you should follow). coded contracts to do this and get three.js and p5.js onchain a few months back. xalt's technique use inline datablobs on EVM (via contract storage + assembly tricks to compose large byte arrays in memory)
Tweet media one
Tweet media two
3
7
42